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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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); |
56 | 56 |
57 virtual void parseAttribute(const QualifiedName&, const AtomicString&) overr
ide; | 57 void parseAttribute(const QualifiedName&, const AtomicString&) override; |
58 virtual InsertionNotificationRequest insertedInto(ContainerNode*) override; | 58 InsertionNotificationRequest insertedInto(ContainerNode*) override; |
59 virtual void didNotifySubtreeInsertionsToDocument() override; | 59 void didNotifySubtreeInsertionsToDocument() override; |
60 | 60 |
61 static float parsePositiveNumber(Document*, const String& key, const String&
value, bool* ok = 0); | 61 static float parsePositiveNumber(Document*, const String& key, const String&
value, bool* ok = 0); |
62 | 62 |
63 static Length parseViewportValueAsLength(Document*, const String& key, const
String& value); | 63 static Length parseViewportValueAsLength(Document*, const String& key, const
String& value); |
64 static float parseViewportValueAsZoom(Document*, const String& key, const St
ring& value, bool& computedValueMatchesParsedValue, bool viewportMetaZeroValuesQ
uirk); | 64 static float parseViewportValueAsZoom(Document*, const String& key, const St
ring& value, bool& computedValueMatchesParsedValue, bool viewportMetaZeroValuesQ
uirk); |
65 static bool parseViewportValueAsUserZoom(Document*, const String& key, const
String& value, bool& computedValueMatchesParsedValue); | 65 static bool parseViewportValueAsUserZoom(Document*, const String& key, const
String& value, bool& computedValueMatchesParsedValue); |
66 static float parseViewportValueAsDPI(Document*, const String& key, const Str
ing& value); | 66 static float parseViewportValueAsDPI(Document*, const String& key, const Str
ing& value); |
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 |