Chromium Code Reviews| Index: sky/engine/core/html/HTMLMetaElement.h |
| diff --git a/sky/engine/core/html/HTMLMetaElement.h b/sky/engine/core/html/HTMLMetaElement.h |
| index 85432ddada2566abe170045c2126a35fd84b386c..b75ccabc25f14d532394cc380dfd29155cf90662 100644 |
| --- a/sky/engine/core/html/HTMLMetaElement.h |
| +++ b/sky/engine/core/html/HTMLMetaElement.h |
| @@ -23,19 +23,10 @@ |
| #ifndef HTMLMetaElement_h |
| #define HTMLMetaElement_h |
| -#include "core/dom/ViewportDescription.h" |
| #include "core/html/HTMLElement.h" |
| namespace blink { |
| -enum ViewportErrorCode { |
| - UnrecognizedViewportArgumentKeyError, |
| - UnrecognizedViewportArgumentValueError, |
| - TruncatedViewportArgumentValueError, |
| - MaximumScaleTooLargeError, |
| - TargetDensityDpiUnsupported |
| -}; |
| - |
| class HTMLMetaElement final : public HTMLElement { |
|
abarth-chromium
2014/10/26 02:08:46
We can delete the whole HTMLMetaElement.
|
| DEFINE_WRAPPERTYPEINFO(); |
| public: |
| @@ -48,25 +39,11 @@ public: |
| private: |
| explicit HTMLMetaElement(Document&); |
| - typedef void (HTMLMetaElement::*KeyValuePairCallback)(const String& key, const String& value, void* data); |
| - 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; |
| - float parsePositiveNumber(const String& key, const String& value, bool* ok = 0); |
| - |
| - Length parseViewportValueAsLength(const String& key, const String& value); |
| - float parseViewportValueAsZoom(const String& key, const String& value, bool& computedValueMatchesParsedValue); |
| - bool parseViewportValueAsUserZoom(const String& key, const String& value, bool& computedValueMatchesParsedValue); |
| - float parseViewportValueAsDPI(const String& key, const String& value); |
| - |
| - void reportViewportWarning(ViewportErrorCode, const String& replacement1, const String& replacement2); |
| - |
| void process(); |
| - void processViewportContentAttribute(const String& content, ViewportDescription::Type origin); |
| }; |
| } // namespace blink |