| 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, 2005, 2006, 2007, 2009 Apple Inc. All rights reserved. | 4 * Copyright (C) 2004, 2005, 2006, 2007, 2009 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 22 matching lines...) Expand all Loading... |
| 33 class ExceptionState; | 33 class ExceptionState; |
| 34 | 34 |
| 35 enum TranslateAttributeMode { | 35 enum TranslateAttributeMode { |
| 36 TranslateAttributeYes, | 36 TranslateAttributeYes, |
| 37 TranslateAttributeNo, | 37 TranslateAttributeNo, |
| 38 TranslateAttributeInherit | 38 TranslateAttributeInherit |
| 39 }; | 39 }; |
| 40 | 40 |
| 41 class HTMLElement : public Element { | 41 class HTMLElement : public Element { |
| 42 public: | 42 public: |
| 43 static PassRefPtrWillBeRawPtr<HTMLElement> create(const QualifiedName& tagNa
me, Document&); | 43 DECLARE_ELEMENT_FACTORY_WITH_TAGNAME(HTMLElement); |
| 44 | 44 |
| 45 virtual String title() const OVERRIDE FINAL; | 45 virtual String title() const OVERRIDE FINAL; |
| 46 virtual short tabIndex() const OVERRIDE; | 46 virtual short tabIndex() const OVERRIDE; |
| 47 | 47 |
| 48 void setInnerText(const String&, ExceptionState&); | 48 void setInnerText(const String&, ExceptionState&); |
| 49 void setOuterText(const String&, ExceptionState&); | 49 void setOuterText(const String&, ExceptionState&); |
| 50 | 50 |
| 51 virtual bool hasCustomFocusLogic() const; | 51 virtual bool hasCustomFocusLogic() const; |
| 52 | 52 |
| 53 String contentEditable() const; | 53 String contentEditable() const; |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 template<typename T> inline bool is##thisType(const PassRefPtr<T>& node) { r
eturn is##thisType(node.get()); } \ | 152 template<typename T> inline bool is##thisType(const PassRefPtr<T>& node) { r
eturn is##thisType(node.get()); } \ |
| 153 template<typename T> inline bool is##thisType(const RefPtr<T>& node) { retur
n is##thisType(node.get()); } \ | 153 template<typename T> inline bool is##thisType(const RefPtr<T>& node) { retur
n is##thisType(node.get()); } \ |
| 154 template <> inline bool isElementOfType<const thisType>(const HTMLElement& e
lement) { return is##thisType(element); } \ | 154 template <> inline bool isElementOfType<const thisType>(const HTMLElement& e
lement) { return is##thisType(element); } \ |
| 155 DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(thisType) | 155 DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(thisType) |
| 156 | 156 |
| 157 } // namespace WebCore | 157 } // namespace WebCore |
| 158 | 158 |
| 159 #include "HTMLElementTypeHelpers.h" | 159 #include "HTMLElementTypeHelpers.h" |
| 160 | 160 |
| 161 #endif // HTMLElement_h | 161 #endif // HTMLElement_h |
| OLD | NEW |