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 25 matching lines...) Expand all Loading... | |
36 TranslateAttributeNo, | 36 TranslateAttributeNo, |
37 TranslateAttributeInherit | 37 TranslateAttributeInherit |
38 }; | 38 }; |
39 | 39 |
40 class HTMLElement : public StyledElement { | 40 class HTMLElement : public StyledElement { |
41 public: | 41 public: |
42 static PassRefPtr<HTMLElement> create(const QualifiedName& tagName, Document *); | 42 static PassRefPtr<HTMLElement> create(const QualifiedName& tagName, Document *); |
43 | 43 |
44 PassRefPtr<HTMLCollection> children(); | 44 PassRefPtr<HTMLCollection> children(); |
45 | 45 |
46 virtual String title() const; | 46 virtual String title() const FINAL; |
esprehn
2013/04/29 22:02:55
Missing OVERRIDE
| |
47 | 47 |
48 virtual short tabIndex() const; | 48 virtual short tabIndex() const; |
49 void setTabIndex(int); | 49 void setTabIndex(int); |
50 | 50 |
51 String innerHTML() const; | 51 String innerHTML() const; |
52 String outerHTML() const; | 52 String outerHTML() const; |
53 void setInnerHTML(const String&, ExceptionCode&); | 53 void setInnerHTML(const String&, ExceptionCode&); |
54 void setOuterHTML(const String&, ExceptionCode&); | 54 void setOuterHTML(const String&, ExceptionCode&); |
55 void setInnerText(const String&, ExceptionCode&); | 55 void setInnerText(const String&, ExceptionCode&); |
56 void setOuterText(const String&, ExceptionCode&); | 56 void setOuterText(const String&, ExceptionCode&); |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
108 virtual void collectStyleForPresentationAttribute(const QualifiedName&, cons t AtomicString&, MutableStylePropertySet*) OVERRIDE; | 108 virtual void collectStyleForPresentationAttribute(const QualifiedName&, cons t AtomicString&, MutableStylePropertySet*) OVERRIDE; |
109 unsigned parseBorderWidthAttribute(const AtomicString&) const; | 109 unsigned parseBorderWidthAttribute(const AtomicString&) const; |
110 | 110 |
111 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; | 111 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; |
112 virtual void removedFrom(ContainerNode*) OVERRIDE; | 112 virtual void removedFrom(ContainerNode*) OVERRIDE; |
113 | 113 |
114 virtual void childrenChanged(bool changedByParser = false, Node* beforeChang e = 0, Node* afterChange = 0, int childCountDelta = 0); | 114 virtual void childrenChanged(bool changedByParser = false, Node* beforeChang e = 0, Node* afterChange = 0, int childCountDelta = 0); |
115 void calculateAndAdjustDirectionality(); | 115 void calculateAndAdjustDirectionality(); |
116 | 116 |
117 private: | 117 private: |
118 virtual String nodeName() const; | 118 virtual String nodeName() const FINAL; |
esprehn
2013/04/29 22:02:55
Missing OVERRIDE
| |
119 | 119 |
120 void mapLanguageAttributeToLocale(const AtomicString&, MutableStylePropertyS et*); | 120 void mapLanguageAttributeToLocale(const AtomicString&, MutableStylePropertyS et*); |
121 | 121 |
122 virtual HTMLFormElement* virtualForm() const; | 122 virtual HTMLFormElement* virtualForm() const; |
123 | 123 |
124 Node* insertAdjacent(const String& where, Node* newChild, ExceptionCode&); | 124 Node* insertAdjacent(const String& where, Node* newChild, ExceptionCode&); |
125 PassRefPtr<DocumentFragment> textToFragment(const String&, ExceptionCode&); | 125 PassRefPtr<DocumentFragment> textToFragment(const String&, ExceptionCode&); |
126 | 126 |
127 void dirAttributeChanged(const AtomicString&); | 127 void dirAttributeChanged(const AtomicString&); |
128 void adjustDirectionalityIfNeededAfterChildAttributeChanged(Element* child); | 128 void adjustDirectionalityIfNeededAfterChildAttributeChanged(Element* child); |
(...skipping 22 matching lines...) Expand all Loading... | |
151 inline HTMLElement::HTMLElement(const QualifiedName& tagName, Document* document , ConstructionType type = CreateHTMLElement) | 151 inline HTMLElement::HTMLElement(const QualifiedName& tagName, Document* document , ConstructionType type = CreateHTMLElement) |
152 : StyledElement(tagName, document, type) | 152 : StyledElement(tagName, document, type) |
153 { | 153 { |
154 ASSERT(tagName.localName().impl()); | 154 ASSERT(tagName.localName().impl()); |
155 ScriptWrappable::init(this); | 155 ScriptWrappable::init(this); |
156 } | 156 } |
157 | 157 |
158 } // namespace WebCore | 158 } // namespace WebCore |
159 | 159 |
160 #endif // HTMLElement_h | 160 #endif // HTMLElement_h |
OLD | NEW |