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 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 Color& parsed_color); | 145 Color& parsed_color); |
146 bool IsPresentationAttribute(const QualifiedName&) const override; | 146 bool IsPresentationAttribute(const QualifiedName&) const override; |
147 void CollectStyleForPresentationAttribute(const QualifiedName&, | 147 void CollectStyleForPresentationAttribute(const QualifiedName&, |
148 const AtomicString&, | 148 const AtomicString&, |
149 MutableStylePropertySet*) override; | 149 MutableStylePropertySet*) override; |
150 unsigned ParseBorderWidthAttribute(const AtomicString&) const; | 150 unsigned ParseBorderWidthAttribute(const AtomicString&) const; |
151 | 151 |
152 void ChildrenChanged(const ChildrenChange&) override; | 152 void ChildrenChanged(const ChildrenChange&) override; |
153 void CalculateAndAdjustDirectionality(); | 153 void CalculateAndAdjustDirectionality(); |
154 | 154 |
| 155 InsertionNotificationRequest InsertedInto(ContainerNode*) override; |
| 156 |
155 private: | 157 private: |
156 String DebugNodeName() const final; | 158 String DebugNodeName() const final; |
157 String nodeName() const final; | 159 String nodeName() const final; |
158 | 160 |
159 bool IsHTMLElement() const = | 161 bool IsHTMLElement() const = |
160 delete; // This will catch anyone doing an unnecessary check. | 162 delete; // This will catch anyone doing an unnecessary check. |
161 bool IsStyledElement() const = | 163 bool IsStyledElement() const = |
162 delete; // This will catch anyone doing an unnecessary check. | 164 delete; // This will catch anyone doing an unnecessary check. |
163 | 165 |
164 void MapLanguageAttributeToLocale(const AtomicString&, | 166 void MapLanguageAttributeToLocale(const AtomicString&, |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
236 inline bool IsElementOfType<const thisType>(const HTMLElement& element) { \ | 238 inline bool IsElementOfType<const thisType>(const HTMLElement& element) { \ |
237 return Is##thisType(element); \ | 239 return Is##thisType(element); \ |
238 } \ | 240 } \ |
239 DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(thisType) | 241 DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(thisType) |
240 | 242 |
241 } // namespace blink | 243 } // namespace blink |
242 | 244 |
243 #include "core/HTMLElementTypeHelpers.h" | 245 #include "core/HTMLElementTypeHelpers.h" |
244 | 246 |
245 #endif // HTMLElement_h | 247 #endif // HTMLElement_h |
OLD | NEW |