LCOV - code coverage report
Current view: top level - dom/html - HTMLDataElement.h (source / functions) Hit Total Coverage
Test: output.info Lines: 0 6 0.0 %
Date: 2017-07-14 16:53:18 Functions: 0 2 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
       2             : /* vim: set ts=8 sts=2 et sw=2 tw=80: */
       3             : /* This Source Code Form is subject to the terms of the Mozilla Public
       4             :  * License, v. 2.0. If a copy of the MPL was not distributed with this
       5             :  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
       6             : 
       7             : #ifndef mozilla_dom_HTMLDataElement_h
       8             : #define mozilla_dom_HTMLDataElement_h
       9             : 
      10             : #include "mozilla/Attributes.h"
      11             : #include "nsIDOMHTMLElement.h"
      12             : #include "nsGenericHTMLElement.h"
      13             : #include "nsGkAtoms.h"
      14             : 
      15             : namespace mozilla {
      16             : namespace dom {
      17             : 
      18             : class HTMLDataElement final : public nsGenericHTMLElement
      19             : {
      20             : public:
      21             :   explicit HTMLDataElement(already_AddRefed<mozilla::dom::NodeInfo>& aNodeInfo);
      22             : 
      23             :   // HTMLDataElement WebIDL
      24           0 :   void GetValue(DOMString& aValue)
      25             :   {
      26           0 :     GetHTMLAttr(nsGkAtoms::value, aValue);
      27           0 :   }
      28             : 
      29           0 :   void SetValue(const nsAString& aValue, ErrorResult& aError)
      30             :   {
      31           0 :     SetHTMLAttr(nsGkAtoms::value, aValue, aError);
      32           0 :   }
      33             : 
      34             :   virtual nsresult Clone(mozilla::dom::NodeInfo* aNodeInfo, nsINode** aResult,
      35             :                          bool aPreallocateChildren) const override;
      36             : 
      37             : protected:
      38             :   virtual ~HTMLDataElement();
      39             : 
      40             :   virtual JSObject* WrapNode(JSContext* aCx, JS::Handle<JSObject*> aGivenProto) override;
      41             : };
      42             : 
      43             : } // namespace dom
      44             : } // namespace mozilla
      45             : 
      46             : #endif // mozilla_dom_HTMLDataElement_h

Generated by: LCOV version 1.13