| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 4 * Copyright (C) 2003, 2010 Apple Inc. All rights reserved. | 4 * Copyright (C) 2003, 2010 Apple Inc. All rights reserved. |
| 5 * | 5 * |
| 6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
| 7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
| 8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
| 9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
| 10 * | 10 * |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 TruncatedViewportArgumentValueError, | 35 TruncatedViewportArgumentValueError, |
| 36 MaximumScaleTooLargeError, | 36 MaximumScaleTooLargeError, |
| 37 TargetDensityDpiUnsupported | 37 TargetDensityDpiUnsupported |
| 38 }; | 38 }; |
| 39 | 39 |
| 40 class CORE_EXPORT HTMLMetaElement final : public HTMLElement { | 40 class CORE_EXPORT HTMLMetaElement final : public HTMLElement { |
| 41 DEFINE_WRAPPERTYPEINFO(); | 41 DEFINE_WRAPPERTYPEINFO(); |
| 42 public: | 42 public: |
| 43 DECLARE_NODE_FACTORY(HTMLMetaElement); | 43 DECLARE_NODE_FACTORY(HTMLMetaElement); |
| 44 | 44 |
| 45 void getViewportDescriptionFromContentAttribute(const String& content, Viewp
ortDescription::Type origin, ViewportDescription&, Document*, bool viewportMetaZ
eroValuesQuirk); | 45 static void getViewportDescriptionFromContentAttribute(const String& content
, ViewportDescription&, Document*, bool viewportMetaZeroValuesQuirk); |
| 46 | 46 |
| 47 const AtomicString& content() const; | 47 const AtomicString& content() const; |
| 48 const AtomicString& httpEquiv() const; | 48 const AtomicString& httpEquiv() const; |
| 49 const AtomicString& name() const; | 49 const AtomicString& name() const; |
| 50 | 50 |
| 51 private: | 51 private: |
| 52 explicit HTMLMetaElement(Document&); | 52 explicit HTMLMetaElement(Document&); |
| 53 | 53 |
| 54 static void processViewportKeyValuePair(Document*, const String& key, const
String& value, bool viewportMetaZeroValuesQuirk, void* data); | 54 static void processViewportKeyValuePair(Document*, const String& key, const
String& value, bool viewportMetaZeroValuesQuirk, void* data); |
| 55 static void parseContentAttribute(const String& content, void* data, Documen
t*, bool viewportMetaZeroValuesQuirk); | 55 static void parseContentAttribute(const String& content, void* data, Documen
t*, bool viewportMetaZeroValuesQuirk); |
| (...skipping 11 matching lines...) Expand all Loading... |
| 67 | 67 |
| 68 static void reportViewportWarning(Document*, ViewportErrorCode, const String
& replacement1, const String& replacement2); | 68 static void reportViewportWarning(Document*, ViewportErrorCode, const String
& replacement1, const String& replacement2); |
| 69 | 69 |
| 70 void process(); | 70 void process(); |
| 71 void processViewportContentAttribute(const String& content, ViewportDescript
ion::Type origin); | 71 void processViewportContentAttribute(const String& content, ViewportDescript
ion::Type origin); |
| 72 }; | 72 }; |
| 73 | 73 |
| 74 } // namespace blink | 74 } // namespace blink |
| 75 | 75 |
| 76 #endif // HTMLMetaElement_h | 76 #endif // HTMLMetaElement_h |
| OLD | NEW |