#ifndef HTMLMetaElement_h
#define HTMLMetaElement_h
+#include "core/dom/ViewportDescription.h"
#include "core/html/HTMLElement.h"
-namespace WebCore {
+namespace blink {
enum ViewportErrorCode {
UnrecognizedViewportArgumentKeyError,
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;
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);
void processViewportContentAttribute(const String& content, ViewportDescription::Type origin);
};
-} // namespace WebCore
+} // namespace blink
-#endif
+#endif // HTMLMetaElement_h