| 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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 virtual bool isPresentationAttribute(const QualifiedName&) const OVERRIDE; | 107 virtual bool isPresentationAttribute(const QualifiedName&) const OVERRIDE; |
| 108 virtual void collectStyleForPresentationAttribute(const QualifiedName&, cons
t AtomicString&, Handle<MutableStylePropertySet>) OVERRIDE; | 108 virtual void collectStyleForPresentationAttribute(const QualifiedName&, cons
t AtomicString&, Handle<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 virtual void acceptHeapVisitor(Visitor*) const OVERRIDE; |
| 118 |
| 117 private: | 119 private: |
| 118 virtual String nodeName() const; | 120 virtual String nodeName() const; |
| 119 | 121 |
| 120 void mapLanguageAttributeToLocale(const AtomicString&, Handle<MutableStylePr
opertySet>); | 122 void mapLanguageAttributeToLocale(const AtomicString&, Handle<MutableStylePr
opertySet>); |
| 121 | 123 |
| 122 virtual HTMLFormElement* virtualForm() const; | 124 virtual HTMLFormElement* virtualForm() const; |
| 123 | 125 |
| 124 Node* insertAdjacent(const String& where, Node* newChild, ExceptionCode&); | 126 Node* insertAdjacent(const String& where, Node* newChild, ExceptionCode&); |
| 125 PassRefPtr<DocumentFragment> textToFragment(const String&, ExceptionCode&); | 127 PassRefPtr<DocumentFragment> textToFragment(const String&, ExceptionCode&); |
| 126 | 128 |
| (...skipping 24 matching lines...) Expand all Loading... |
| 151 inline HTMLElement::HTMLElement(const QualifiedName& tagName, Handle<Document> d
ocument, ConstructionType type = CreateHTMLElement) | 153 inline HTMLElement::HTMLElement(const QualifiedName& tagName, Handle<Document> d
ocument, ConstructionType type = CreateHTMLElement) |
| 152 : StyledElement(tagName, document, type) | 154 : StyledElement(tagName, document, type) |
| 153 { | 155 { |
| 154 ASSERT(tagName.localName().impl()); | 156 ASSERT(tagName.localName().impl()); |
| 155 ScriptWrappable::init(this); | 157 ScriptWrappable::init(this); |
| 156 } | 158 } |
| 157 | 159 |
| 158 } // namespace WebCore | 160 } // namespace WebCore |
| 159 | 161 |
| 160 #endif // HTMLElement_h | 162 #endif // HTMLElement_h |
| OLD | NEW |