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 602 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
613 // Called by the parser when this element's close tag is reached, signaling | 613 // Called by the parser when this element's close tag is reached, signaling |
614 // that all child tags have been parsed and added. This is needed for | 614 // that all child tags have been parsed and added. This is needed for |
615 // <applet> and <object> elements, which can't lay themselves out until they | 615 // <applet> and <object> elements, which can't lay themselves out until they |
616 // know all of their nested <param>s. [Radar 3603191, 4040848]. Also used for | 616 // know all of their nested <param>s. [Radar 3603191, 4040848]. Also used for |
617 // script elements and some SVG elements for similar purposes, but making | 617 // script elements and some SVG elements for similar purposes, but making |
618 // parsing a special case in this respect should be avoided if possible. | 618 // parsing a special case in this respect should be avoided if possible. |
619 virtual void finishParsingChildren(); | 619 virtual void finishParsingChildren(); |
620 | 620 |
621 void beginParsingChildren() { setIsFinishedParsingChildren(false); } | 621 void beginParsingChildren() { setIsFinishedParsingChildren(false); } |
622 | 622 |
| 623 ComputedStyle* getCachedPseudoStyleOrCache(PseudoId) const; |
| 624 PassRefPtr<ComputedStyle> getUncachedPseudoStyle(PseudoId) const; |
| 625 bool isPseudoElementAllowed(PseudoId) const; |
623 PseudoElement* pseudoElement(PseudoId) const; | 626 PseudoElement* pseudoElement(PseudoId) const; |
624 LayoutObject* pseudoElementLayoutObject(PseudoId) const; | 627 LayoutObject* pseudoElementLayoutObject(PseudoId) const; |
625 | 628 |
626 virtual bool matchesDefaultPseudoClass() const { return false; } | 629 virtual bool matchesDefaultPseudoClass() const { return false; } |
627 virtual bool matchesEnabledPseudoClass() const { return false; } | 630 virtual bool matchesEnabledPseudoClass() const { return false; } |
628 virtual bool matchesReadOnlyPseudoClass() const { return false; } | 631 virtual bool matchesReadOnlyPseudoClass() const { return false; } |
629 virtual bool matchesReadWritePseudoClass() const { return false; } | 632 virtual bool matchesReadWritePseudoClass() const { return false; } |
630 virtual bool matchesValidityPseudoClasses() const { return false; } | 633 virtual bool matchesValidityPseudoClasses() const { return false; } |
631 bool matches(const String& selectors, ExceptionState&); | 634 bool matches(const String& selectors, ExceptionState&); |
632 Element* closest(const String& selectors, ExceptionState&); | 635 Element* closest(const String& selectors, ExceptionState&); |
(...skipping 569 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1202 #define DECLARE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ | 1205 #define DECLARE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ |
1203 static T* create(const QualifiedName&, Document&) | 1206 static T* create(const QualifiedName&, Document&) |
1204 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ | 1207 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ |
1205 T* T::create(const QualifiedName& tagName, Document& document) { \ | 1208 T* T::create(const QualifiedName& tagName, Document& document) { \ |
1206 return new T(tagName, document); \ | 1209 return new T(tagName, document); \ |
1207 } | 1210 } |
1208 | 1211 |
1209 } // namespace blink | 1212 } // namespace blink |
1210 | 1213 |
1211 #endif // Element_h | 1214 #endif // Element_h |
OLD | NEW |