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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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; | 155 InsertionNotificationRequest InsertedInto(ContainerNode*) override; |
156 | 156 |
| 157 bool IsSpatialNavigationActive(); |
| 158 |
157 private: | 159 private: |
158 String DebugNodeName() const final; | 160 String DebugNodeName() const final; |
159 String nodeName() const final; | 161 String nodeName() const final; |
160 | 162 |
161 bool IsHTMLElement() const = | 163 bool IsHTMLElement() const = |
162 delete; // This will catch anyone doing an unnecessary check. | 164 delete; // This will catch anyone doing an unnecessary check. |
163 bool IsStyledElement() const = | 165 bool IsStyledElement() const = |
164 delete; // This will catch anyone doing an unnecessary check. | 166 delete; // This will catch anyone doing an unnecessary check. |
165 | 167 |
166 void MapLanguageAttributeToLocale(const AtomicString&, | 168 void MapLanguageAttributeToLocale(const AtomicString&, |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
238 inline bool IsElementOfType<const thisType>(const HTMLElement& element) { \ | 240 inline bool IsElementOfType<const thisType>(const HTMLElement& element) { \ |
239 return Is##thisType(element); \ | 241 return Is##thisType(element); \ |
240 } \ | 242 } \ |
241 DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(thisType) | 243 DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(thisType) |
242 | 244 |
243 } // namespace blink | 245 } // namespace blink |
244 | 246 |
245 #include "core/HTMLElementTypeHelpers.h" | 247 #include "core/HTMLElementTypeHelpers.h" |
246 | 248 |
247 #endif // HTMLElement_h | 249 #endif // HTMLElement_h |
OLD | NEW |