| 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 561 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 572 | 572 |
| 573 virtual const AtomicString& shadowPseudoId() const; | 573 virtual const AtomicString& shadowPseudoId() const; |
| 574 // The specified string must start with "-webkit-" or "-internal-". The | 574 // The specified string must start with "-webkit-" or "-internal-". The |
| 575 // former can be used as a selector in any places, and the latter can be | 575 // former can be used as a selector in any places, and the latter can be |
| 576 // used only in UA stylesheet. | 576 // used only in UA stylesheet. |
| 577 void setShadowPseudoId(const AtomicString&); | 577 void setShadowPseudoId(const AtomicString&); |
| 578 | 578 |
| 579 LayoutSize minimumSizeForResizing() const; | 579 LayoutSize minimumSizeForResizing() const; |
| 580 void setMinimumSizeForResizing(const LayoutSize&); | 580 void setMinimumSizeForResizing(const LayoutSize&); |
| 581 | 581 |
| 582 virtual void didBecomeFullscreenElement() {} | |
| 583 virtual void willStopBeingFullscreenElement() {} | |
| 584 | |
| 585 // Called by the parser when this element's close tag is reached, signaling | 582 // Called by the parser when this element's close tag is reached, signaling |
| 586 // that all child tags have been parsed and added. This is needed for | 583 // that all child tags have been parsed and added. This is needed for |
| 587 // <applet> and <object> elements, which can't lay themselves out until they | 584 // <applet> and <object> elements, which can't lay themselves out until they |
| 588 // know all of their nested <param>s. [Radar 3603191, 4040848]. Also used for | 585 // know all of their nested <param>s. [Radar 3603191, 4040848]. Also used for |
| 589 // script elements and some SVG elements for similar purposes, but making | 586 // script elements and some SVG elements for similar purposes, but making |
| 590 // parsing a special case in this respect should be avoided if possible. | 587 // parsing a special case in this respect should be avoided if possible. |
| 591 virtual void finishParsingChildren(); | 588 virtual void finishParsingChildren(); |
| 592 | 589 |
| 593 void beginParsingChildren() { setIsFinishedParsingChildren(false); } | 590 void beginParsingChildren() { setIsFinishedParsingChildren(false); } |
| 594 | 591 |
| (...skipping 581 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1176 #define DECLARE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ | 1173 #define DECLARE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ |
| 1177 static T* create(const QualifiedName&, Document&) | 1174 static T* create(const QualifiedName&, Document&) |
| 1178 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ | 1175 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ |
| 1179 T* T::create(const QualifiedName& tagName, Document& document) { \ | 1176 T* T::create(const QualifiedName& tagName, Document& document) { \ |
| 1180 return new T(tagName, document); \ | 1177 return new T(tagName, document); \ |
| 1181 } | 1178 } |
| 1182 | 1179 |
| 1183 } // namespace blink | 1180 } // namespace blink |
| 1184 | 1181 |
| 1185 #endif // Element_h | 1182 #endif // Element_h |
| OLD | NEW |