| 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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 | 67 |
| 68 const AtomicString& dir(); | 68 const AtomicString& dir(); |
| 69 void setDir(const AtomicString&); | 69 void setDir(const AtomicString&); |
| 70 | 70 |
| 71 void click(); | 71 void click(); |
| 72 | 72 |
| 73 virtual void accessKeyAction(bool sendMouseEvents) override; | 73 virtual void accessKeyAction(bool sendMouseEvents) override; |
| 74 | 74 |
| 75 bool ieForbidsInsertHTML() const; | 75 bool ieForbidsInsertHTML() const; |
| 76 | 76 |
| 77 virtual HTMLFormElement* formOwner() const { return 0; } | 77 virtual HTMLFormElement* formOwner() const { return nullptr; } |
| 78 | 78 |
| 79 HTMLFormElement* findFormAncestor() const; | 79 HTMLFormElement* findFormAncestor() const; |
| 80 | 80 |
| 81 bool hasDirectionAuto() const; | 81 bool hasDirectionAuto() const; |
| 82 TextDirection directionalityIfhasDirAutoAttribute(bool& isAuto) const; | 82 TextDirection directionalityIfhasDirAutoAttribute(bool& isAuto) const; |
| 83 | 83 |
| 84 virtual bool isHTMLUnknownElement() const { return false; } | 84 virtual bool isHTMLUnknownElement() const { return false; } |
| 85 virtual bool isPluginElement() const { return false; } | 85 virtual bool isPluginElement() const { return false; } |
| 86 | 86 |
| 87 virtual bool isLabelable() const { return false; } | 87 virtual bool isLabelable() const { return false; } |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 173 template<typename T> inline bool is##thisType(const PassRefPtr<T>& node) { r
eturn is##thisType(node.get()); } \ | 173 template<typename T> inline bool is##thisType(const PassRefPtr<T>& node) { r
eturn is##thisType(node.get()); } \ |
| 174 template<typename T> inline bool is##thisType(const RefPtr<T>& node) { retur
n is##thisType(node.get()); } \ | 174 template<typename T> inline bool is##thisType(const RefPtr<T>& node) { retur
n is##thisType(node.get()); } \ |
| 175 template <> inline bool isElementOfType<const thisType>(const HTMLElement& e
lement) { return is##thisType(element); } \ | 175 template <> inline bool isElementOfType<const thisType>(const HTMLElement& e
lement) { return is##thisType(element); } \ |
| 176 DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(thisType) | 176 DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(thisType) |
| 177 | 177 |
| 178 } // namespace blink | 178 } // namespace blink |
| 179 | 179 |
| 180 #include "core/HTMLElementTypeHelpers.h" | 180 #include "core/HTMLElementTypeHelpers.h" |
| 181 | 181 |
| 182 #endif // HTMLElement_h | 182 #endif // HTMLElement_h |
| OLD | NEW |