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 359 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
370 // focusable but some elements, such as form controls and links, are. Unlike | 370 // focusable but some elements, such as form controls and links, are. Unlike |
371 // rendererIsFocusable(), this method may be called when layout is not up to | 371 // rendererIsFocusable(), this method may be called when layout is not up to |
372 // date, so it must not use the renderer to determine focusability. | 372 // date, so it must not use the renderer to determine focusability. |
373 virtual bool supportsFocus() const; | 373 virtual bool supportsFocus() const; |
374 // Whether the node can actually be focused. | 374 // Whether the node can actually be focused. |
375 bool isFocusable() const; | 375 bool isFocusable() const; |
376 virtual bool isKeyboardFocusable() const; | 376 virtual bool isKeyboardFocusable() const; |
377 virtual bool isMouseFocusable() const; | 377 virtual bool isMouseFocusable() const; |
378 virtual void dispatchFocusEvent(Element* oldFocusedElement, FocusType); | 378 virtual void dispatchFocusEvent(Element* oldFocusedElement, FocusType); |
379 virtual void dispatchBlurEvent(Element* newFocusedElement); | 379 virtual void dispatchBlurEvent(Element* newFocusedElement); |
380 void dispatchFocusInEvent(const AtomicString& eventType, Element* oldFocused
Element); | 380 virtual void dispatchFocusInEvent(const AtomicString& eventType, Element* ol
dFocusedElement, FocusType); |
381 void dispatchFocusOutEvent(const AtomicString& eventType, Element* newFocuse
dElement); | 381 void dispatchFocusOutEvent(const AtomicString& eventType, Element* newFocuse
dElement); |
382 | 382 |
383 String innerText(); | 383 String innerText(); |
384 String outerText(); | 384 String outerText(); |
385 String innerHTML() const; | 385 String innerHTML() const; |
386 String outerHTML() const; | 386 String outerHTML() const; |
387 void setInnerHTML(const String&, ExceptionState&); | 387 void setInnerHTML(const String&, ExceptionState&); |
388 void setOuterHTML(const String&, ExceptionState&); | 388 void setOuterHTML(const String&, ExceptionState&); |
389 | 389 |
390 Element* insertAdjacentElement(const String& where, Element* newChild, Excep
tionState&); | 390 Element* insertAdjacentElement(const String& where, Element* newChild, Excep
tionState&); |
(...skipping 471 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
862 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&) | 862 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&) |
863 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ | 863 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ |
864 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document&
document) \ | 864 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document&
document) \ |
865 { \ | 865 { \ |
866 return adoptRefWillBeNoop(new T(tagName, document)); \ | 866 return adoptRefWillBeNoop(new T(tagName, document)); \ |
867 } | 867 } |
868 | 868 |
869 } // namespace | 869 } // namespace |
870 | 870 |
871 #endif // Element_h | 871 #endif // Element_h |
OLD | NEW |