Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / html / HTMLMetaElement.h
index e87b20d..85432dd 100644 (file)
 #ifndef HTMLMetaElement_h
 #define HTMLMetaElement_h
 
+#include "core/dom/ViewportDescription.h"
 #include "core/html/HTMLElement.h"
 
-namespace WebCore {
+namespace blink {
 
 enum ViewportErrorCode {
     UnrecognizedViewportArgumentKeyError,
@@ -35,9 +36,10 @@ enum ViewportErrorCode {
     TargetDensityDpiUnsupported
 };
 
-class HTMLMetaElement FINAL : public HTMLElement {
+class HTMLMetaElement final : public HTMLElement {
+    DEFINE_WRAPPERTYPEINFO();
 public:
-    static PassRefPtrWillBeRawPtr<HTMLMetaElement> create(Document&);
+    DECLARE_NODE_FACTORY(HTMLMetaElement);
 
     const AtomicString& content() const;
     const AtomicString& httpEquiv() const;
@@ -50,9 +52,9 @@ private:
     void processViewportKeyValuePair(const String& key, const String& value, void* data);
     void parseContentAttribute(const String& content, KeyValuePairCallback, void* data);
 
-    virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERRIDE;
-    virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE;
-    virtual void didNotifySubtreeInsertionsToDocument() OVERRIDE;
+    virtual void parseAttribute(const QualifiedName&, const AtomicString&) override;
+    virtual InsertionNotificationRequest insertedInto(ContainerNode*) override;
+    virtual void didNotifySubtreeInsertionsToDocument() override;
 
     float parsePositiveNumber(const String& key, const String& value, bool* ok = 0);
 
@@ -67,6 +69,6 @@ private:
     void processViewportContentAttribute(const String& content, ViewportDescription::Type origin);
 };
 
-} // namespace WebCore
+} // namespace blink
 
-#endif
+#endif // HTMLMetaElement_h