| 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 19 matching lines...) Expand all Loading... |
| 30 | 30 |
| 31 enum ViewportErrorCode { | 31 enum ViewportErrorCode { |
| 32 UnrecognizedViewportArgumentKeyError, | 32 UnrecognizedViewportArgumentKeyError, |
| 33 UnrecognizedViewportArgumentValueError, | 33 UnrecognizedViewportArgumentValueError, |
| 34 TruncatedViewportArgumentValueError, | 34 TruncatedViewportArgumentValueError, |
| 35 MaximumScaleTooLargeError, | 35 MaximumScaleTooLargeError, |
| 36 TargetDensityDpiUnsupported | 36 TargetDensityDpiUnsupported |
| 37 }; | 37 }; |
| 38 | 38 |
| 39 class HTMLMetaElement FINAL : public HTMLElement { | 39 class HTMLMetaElement FINAL : public HTMLElement { |
| 40 DEFINE_WRAPPERTYPEINFO(); |
| 40 public: | 41 public: |
| 41 DECLARE_NODE_FACTORY(HTMLMetaElement); | 42 DECLARE_NODE_FACTORY(HTMLMetaElement); |
| 42 | 43 |
| 43 const AtomicString& content() const; | 44 const AtomicString& content() const; |
| 44 const AtomicString& httpEquiv() const; | 45 const AtomicString& httpEquiv() const; |
| 45 const AtomicString& name() const; | 46 const AtomicString& name() const; |
| 46 | 47 |
| 47 private: | 48 private: |
| 48 explicit HTMLMetaElement(Document&); | 49 explicit HTMLMetaElement(Document&); |
| 49 | 50 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 63 float parseViewportValueAsDPI(const String& key, const String& value); | 64 float parseViewportValueAsDPI(const String& key, const String& value); |
| 64 | 65 |
| 65 void reportViewportWarning(ViewportErrorCode, const String& replacement1, co
nst String& replacement2); | 66 void reportViewportWarning(ViewportErrorCode, const String& replacement1, co
nst String& replacement2); |
| 66 | 67 |
| 67 void process(); | 68 void process(); |
| 68 void processViewportContentAttribute(const String& content, ViewportDescript
ion::Type origin); | 69 void processViewportContentAttribute(const String& content, ViewportDescript
ion::Type origin); |
| 69 }; | 70 }; |
| 70 | 71 |
| 71 } // namespace blink | 72 } // namespace blink |
| 72 | 73 |
| 73 #endif | 74 #endif // HTMLMetaElement_h |
| OLD | NEW |