| 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 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 301 virtual bool isKeyboardFocusable() const; | 301 virtual bool isKeyboardFocusable() const; |
| 302 virtual bool isMouseFocusable() const; | 302 virtual bool isMouseFocusable() const; |
| 303 virtual void willCallDefaultEventHandler(const Event&) override final; | 303 virtual void willCallDefaultEventHandler(const Event&) override final; |
| 304 virtual void dispatchFocusEvent(Element* oldFocusedElement, FocusType); | 304 virtual void dispatchFocusEvent(Element* oldFocusedElement, FocusType); |
| 305 virtual void dispatchBlurEvent(Element* newFocusedElement); | 305 virtual void dispatchBlurEvent(Element* newFocusedElement); |
| 306 void dispatchFocusInEvent(const AtomicString& eventType, Element* oldFocused
Element); | 306 void dispatchFocusInEvent(const AtomicString& eventType, Element* oldFocused
Element); |
| 307 void dispatchFocusOutEvent(const AtomicString& eventType, Element* newFocuse
dElement); | 307 void dispatchFocusOutEvent(const AtomicString& eventType, Element* newFocuse
dElement); |
| 308 | 308 |
| 309 String innerText(); | 309 String innerText(); |
| 310 String outerText(); | 310 String outerText(); |
| 311 String innerHTML() const; | |
| 312 String outerHTML() const; | |
| 313 void setInnerHTML(const String&, ExceptionState&); | |
| 314 void setOuterHTML(const String&, ExceptionState&); | |
| 315 | 311 |
| 316 String textFromChildren(); | 312 String textFromChildren(); |
| 317 | 313 |
| 318 virtual String title() const { return String(); } | 314 virtual String title() const { return String(); } |
| 319 | 315 |
| 320 LayoutSize minimumSizeForResizing() const; | 316 LayoutSize minimumSizeForResizing() const; |
| 321 void setMinimumSizeForResizing(const LayoutSize&); | 317 void setMinimumSizeForResizing(const LayoutSize&); |
| 322 | 318 |
| 323 // Called by the parser when this element's close tag is reached, | 319 // Called by the parser when this element's close tag is reached, |
| 324 // signaling that all child tags have been parsed and added. | 320 // signaling that all child tags have been parsed and added. |
| (...skipping 367 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 692 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&) | 688 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&) |
| 693 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ | 689 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ |
| 694 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document&
document) \ | 690 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document&
document) \ |
| 695 { \ | 691 { \ |
| 696 return adoptRefWillBeNoop(new T(tagName, document)); \ | 692 return adoptRefWillBeNoop(new T(tagName, document)); \ |
| 697 } | 693 } |
| 698 | 694 |
| 699 } // namespace | 695 } // namespace |
| 700 | 696 |
| 701 #endif // Element_h | 697 #endif // Element_h |
| OLD | NEW |