| 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) 2004-2007, 2009, 2014 Apple Inc. All rights reserved. | 4 * Copyright (C) 2004-2007, 2009, 2014 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 14 matching lines...) Expand all Loading... |
| 25 | 25 |
| 26 #include "core/CoreExport.h" | 26 #include "core/CoreExport.h" |
| 27 #include "core/dom/Element.h" | 27 #include "core/dom/Element.h" |
| 28 | 28 |
| 29 namespace blink { | 29 namespace blink { |
| 30 | 30 |
| 31 class DocumentFragment; | 31 class DocumentFragment; |
| 32 class HTMLFormElement; | 32 class HTMLFormElement; |
| 33 class HTMLMenuElement; | 33 class HTMLMenuElement; |
| 34 class ExceptionState; | 34 class ExceptionState; |
| 35 class KeyboardEvent; |
| 35 | 36 |
| 36 enum TranslateAttributeMode { | 37 enum TranslateAttributeMode { |
| 37 TranslateAttributeYes, | 38 TranslateAttributeYes, |
| 38 TranslateAttributeNo, | 39 TranslateAttributeNo, |
| 39 TranslateAttributeInherit | 40 TranslateAttributeInherit |
| 40 }; | 41 }; |
| 41 | 42 |
| 42 class CORE_EXPORT HTMLElement : public Element { | 43 class CORE_EXPORT HTMLElement : public Element { |
| 43 DEFINE_WRAPPERTYPEINFO(); | 44 DEFINE_WRAPPERTYPEINFO(); |
| 44 | 45 |
| (...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 230 inline bool isElementOfType<const thisType>(const HTMLElement& element) { \ | 231 inline bool isElementOfType<const thisType>(const HTMLElement& element) { \ |
| 231 return is##thisType(element); \ | 232 return is##thisType(element); \ |
| 232 } \ | 233 } \ |
| 233 DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(thisType) | 234 DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(thisType) |
| 234 | 235 |
| 235 } // namespace blink | 236 } // namespace blink |
| 236 | 237 |
| 237 #include "core/HTMLElementTypeHelpers.h" | 238 #include "core/HTMLElementTypeHelpers.h" |
| 238 | 239 |
| 239 #endif // HTMLElement_h | 240 #endif // HTMLElement_h |
| OLD | NEW |