| 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 361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 372 // rendererIsFocusable(), this method may be called when layout is not up to | 372 // rendererIsFocusable(), this method may be called when layout is not up to |
| 373 // date, so it must not use the renderer to determine focusability. | 373 // date, so it must not use the renderer to determine focusability. |
| 374 virtual bool supportsFocus() const; | 374 virtual bool supportsFocus() const; |
| 375 // Whether the node can actually be focused. | 375 // Whether the node can actually be focused. |
| 376 bool isFocusable() const; | 376 bool isFocusable() const; |
| 377 virtual bool isKeyboardFocusable() const; | 377 virtual bool isKeyboardFocusable() const; |
| 378 virtual bool isMouseFocusable() const; | 378 virtual bool isMouseFocusable() const; |
| 379 virtual void willCallDefaultEventHandler(const Event&) OVERRIDE FINAL; | 379 virtual void willCallDefaultEventHandler(const Event&) OVERRIDE FINAL; |
| 380 virtual void dispatchFocusEvent(Element* oldFocusedElement, FocusType); | 380 virtual void dispatchFocusEvent(Element* oldFocusedElement, FocusType); |
| 381 virtual void dispatchBlurEvent(Element* newFocusedElement); | 381 virtual void dispatchBlurEvent(Element* newFocusedElement); |
| 382 void dispatchFocusInEvent(const AtomicString& eventType, Element* oldFocused
Element); | 382 virtual void dispatchFocusInEvent(const AtomicString& eventType, Element* ol
dFocusedElement, FocusType); |
| 383 void dispatchFocusOutEvent(const AtomicString& eventType, Element* newFocuse
dElement); | 383 void dispatchFocusOutEvent(const AtomicString& eventType, Element* newFocuse
dElement); |
| 384 | 384 |
| 385 String innerText(); | 385 String innerText(); |
| 386 String outerText(); | 386 String outerText(); |
| 387 String innerHTML() const; | 387 String innerHTML() const; |
| 388 String outerHTML() const; | 388 String outerHTML() const; |
| 389 void setInnerHTML(const String&, ExceptionState&); | 389 void setInnerHTML(const String&, ExceptionState&); |
| 390 void setOuterHTML(const String&, ExceptionState&); | 390 void setOuterHTML(const String&, ExceptionState&); |
| 391 | 391 |
| 392 Element* insertAdjacentElement(const String& where, Element* newChild, Excep
tionState&); | 392 Element* insertAdjacentElement(const String& where, Element* newChild, Excep
tionState&); |
| (...skipping 476 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 869 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&) | 869 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&) |
| 870 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ | 870 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ |
| 871 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document&
document) \ | 871 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document&
document) \ |
| 872 { \ | 872 { \ |
| 873 return adoptRefWillBeNoop(new T(tagName, document)); \ | 873 return adoptRefWillBeNoop(new T(tagName, document)); \ |
| 874 } | 874 } |
| 875 | 875 |
| 876 } // namespace | 876 } // namespace |
| 877 | 877 |
| 878 #endif // Element_h | 878 #endif // Element_h |
| OLD | NEW |