| 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 String title() const final; | 49 String title() const final; |
| 50 short tabIndex() const override; | 50 short tabIndex() const override; |
| 51 | 51 |
| 52 void setInnerText(const String&, ExceptionState&); | 52 void setInnerText(const String&, ExceptionState&); |
| 53 void setOuterText(const String&, ExceptionState&); | 53 void setOuterText(const String&, ExceptionState&); |
| 54 | 54 |
| 55 virtual bool hasCustomFocusLogic() const; | 55 virtual bool hasCustomFocusLogic() const; |
| 56 | 56 |
| 57 String contentEditable() const; | 57 String contentEditable() const; |
| 58 void setContentEditable(const String&, ExceptionState&); | 58 void setContentEditable(const String&, ExceptionState&); |
| 59 bool isContentEditable() const; | 59 // For HTMLElement.prototype.isContentEditable. This matches to neither |
| 60 // blink::isContentEditable() nor blink::isContentRichlyEditable(). Do not |
| 61 // use this function in Blink. |
| 62 bool isContentEditableForBinding() const; |
| 60 | 63 |
| 61 virtual bool draggable() const; | 64 virtual bool draggable() const; |
| 62 void setDraggable(bool); | 65 void setDraggable(bool); |
| 63 | 66 |
| 64 bool spellcheck() const; | 67 bool spellcheck() const; |
| 65 void setSpellcheck(bool); | 68 void setSpellcheck(bool); |
| 66 | 69 |
| 67 bool translate() const; | 70 bool translate() const; |
| 68 void setTranslate(bool); | 71 void setTranslate(bool); |
| 69 | 72 |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 189 template<typename T> inline bool is##thisType(const PassRefPtr<T>& node) { r
eturn is##thisType(node.get()); } \ | 192 template<typename T> inline bool is##thisType(const PassRefPtr<T>& node) { r
eturn is##thisType(node.get()); } \ |
| 190 template<typename T> inline bool is##thisType(const RefPtr<T>& node) { retur
n is##thisType(node.get()); } \ | 193 template<typename T> inline bool is##thisType(const RefPtr<T>& node) { retur
n is##thisType(node.get()); } \ |
| 191 template <> inline bool isElementOfType<const thisType>(const HTMLElement& e
lement) { return is##thisType(element); } \ | 194 template <> inline bool isElementOfType<const thisType>(const HTMLElement& e
lement) { return is##thisType(element); } \ |
| 192 DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(thisType) | 195 DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(thisType) |
| 193 | 196 |
| 194 } // namespace blink | 197 } // namespace blink |
| 195 | 198 |
| 196 #include "core/HTMLElementTypeHelpers.h" | 199 #include "core/HTMLElementTypeHelpers.h" |
| 197 | 200 |
| 198 #endif // HTMLElement_h | 201 #endif // HTMLElement_h |
| OLD | NEW |