| 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 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 246 bool isKeyboardFocusable() const; | 246 bool isKeyboardFocusable() const; |
| 247 virtual bool isMouseFocusable() const; | 247 virtual bool isMouseFocusable() const; |
| 248 virtual void willCallDefaultEventHandler(const Event&) override final; | 248 virtual void willCallDefaultEventHandler(const Event&) override final; |
| 249 void dispatchFocusEvent(Element* oldFocusedElement, FocusType); | 249 void dispatchFocusEvent(Element* oldFocusedElement, FocusType); |
| 250 void dispatchBlurEvent(Element* newFocusedElement); | 250 void dispatchBlurEvent(Element* newFocusedElement); |
| 251 void dispatchFocusInEvent(const AtomicString& eventType, Element* oldFocused
Element); | 251 void dispatchFocusInEvent(const AtomicString& eventType, Element* oldFocused
Element); |
| 252 void dispatchFocusOutEvent(const AtomicString& eventType, Element* newFocuse
dElement); | 252 void dispatchFocusOutEvent(const AtomicString& eventType, Element* newFocuse
dElement); |
| 253 | 253 |
| 254 virtual String title() const { return String(); } | 254 virtual String title() const { return String(); } |
| 255 | 255 |
| 256 LayoutSize minimumSizeForResizing() const; | |
| 257 void setMinimumSizeForResizing(const LayoutSize&); | |
| 258 | |
| 259 // Called by the parser when this element's close tag is reached, | 256 // Called by the parser when this element's close tag is reached, |
| 260 // signaling that all child tags have been parsed and added. | 257 // signaling that all child tags have been parsed and added. |
| 261 // This is needed for <applet> and <object> elements, which can't lay themse
lves out | 258 // This is needed for <applet> and <object> elements, which can't lay themse
lves out |
| 262 // until they know all of their nested <param>s. [Radar 3603191, 4040848]. | 259 // until they know all of their nested <param>s. [Radar 3603191, 4040848]. |
| 263 // Also used for script elements and some SVG elements for similar purposes, | 260 // Also used for script elements and some SVG elements for similar purposes, |
| 264 // but making parsing a special case in this respect should be avoided if po
ssible. | 261 // but making parsing a special case in this respect should be avoided if po
ssible. |
| 265 virtual void finishParsingChildren() { } | 262 virtual void finishParsingChildren() { } |
| 266 | 263 |
| 267 bool matches(const String& selectors, ExceptionState&); | 264 bool matches(const String& selectors, ExceptionState&); |
| 268 | 265 |
| (...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 592 static PassRefPtr<T> create(const QualifiedName&, Document&) | 589 static PassRefPtr<T> create(const QualifiedName&, Document&) |
| 593 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ | 590 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ |
| 594 PassRefPtr<T> T::create(const QualifiedName& tagName, Document& document) \ | 591 PassRefPtr<T> T::create(const QualifiedName& tagName, Document& document) \ |
| 595 { \ | 592 { \ |
| 596 return adoptRef(new T(tagName, document)); \ | 593 return adoptRef(new T(tagName, document)); \ |
| 597 } | 594 } |
| 598 | 595 |
| 599 } // namespace | 596 } // namespace |
| 600 | 597 |
| 601 #endif // Element_h | 598 #endif // Element_h |
| OLD | NEW |