| 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 * (C) 2001 Peter Kelly (pmk@post.com) | 4 * (C) 2001 Peter Kelly (pmk@post.com) |
| 5 * (C) 2001 Dirk Mueller (mueller@kde.org) | 5 * (C) 2001 Dirk Mueller (mueller@kde.org) |
| 6 * Copyright (C) 2003-2011, 2013, 2014 Apple Inc. All rights reserved. | 6 * Copyright (C) 2003-2011, 2013, 2014 Apple Inc. All rights reserved. |
| 7 * | 7 * |
| 8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
| 9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
| 10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
| (...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 241 virtual bool supportsFocus() const; | 241 virtual bool supportsFocus() const; |
| 242 // Whether the node can actually be focused. | 242 // Whether the node can actually be focused. |
| 243 bool isFocusable() const; | 243 bool isFocusable() const; |
| 244 bool isKeyboardFocusable() const; | 244 bool isKeyboardFocusable() const; |
| 245 bool isMouseFocusable() const; | 245 bool isMouseFocusable() const; |
| 246 void dispatchFocusEvent(Element* oldFocusedElement, FocusType); | 246 void dispatchFocusEvent(Element* oldFocusedElement, FocusType); |
| 247 void dispatchBlurEvent(Element* newFocusedElement); | 247 void dispatchBlurEvent(Element* newFocusedElement); |
| 248 void dispatchFocusInEvent(const AtomicString& eventType, Element* oldFocused
Element); | 248 void dispatchFocusInEvent(const AtomicString& eventType, Element* oldFocused
Element); |
| 249 void dispatchFocusOutEvent(const AtomicString& eventType, Element* newFocuse
dElement); | 249 void dispatchFocusOutEvent(const AtomicString& eventType, Element* newFocuse
dElement); |
| 250 | 250 |
| 251 String title() const; | |
| 252 | |
| 253 bool matches(const String& selectors, ExceptionState&); | 251 bool matches(const String& selectors, ExceptionState&); |
| 254 | 252 |
| 255 DOMTokenList& classList(); | 253 DOMTokenList& classList(); |
| 256 | 254 |
| 257 virtual bool canContainRangeEndPoint() const override { return true; } | 255 virtual bool canContainRangeEndPoint() const override { return true; } |
| 258 | 256 |
| 259 void setCustomElementDefinition(PassRefPtr<CustomElementDefinition>); | 257 void setCustomElementDefinition(PassRefPtr<CustomElementDefinition>); |
| 260 CustomElementDefinition* customElementDefinition() const; | 258 CustomElementDefinition* customElementDefinition() const; |
| 261 | 259 |
| 262 bool isSpellCheckingEnabled() const; | 260 bool isSpellCheckingEnabled() const; |
| (...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 595 static PassRefPtr<T> create(const QualifiedName&, Document&) | 593 static PassRefPtr<T> create(const QualifiedName&, Document&) |
| 596 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ | 594 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ |
| 597 PassRefPtr<T> T::create(const QualifiedName& tagName, Document& document) \ | 595 PassRefPtr<T> T::create(const QualifiedName& tagName, Document& document) \ |
| 598 { \ | 596 { \ |
| 599 return adoptRef(new T(tagName, document)); \ | 597 return adoptRef(new T(tagName, document)); \ |
| 600 } | 598 } |
| 601 | 599 |
| 602 } // namespace | 600 } // namespace |
| 603 | 601 |
| 604 #endif // SKY_ENGINE_CORE_DOM_ELEMENT_H_ | 602 #endif // SKY_ENGINE_CORE_DOM_ELEMENT_H_ |
| OLD | NEW |