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 455 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
466 // but making parsing a special case in this respect should be avoided if po
ssible. | 466 // but making parsing a special case in this respect should be avoided if po
ssible. |
467 virtual void finishParsingChildren(); | 467 virtual void finishParsingChildren(); |
468 | 468 |
469 void beginParsingChildren() { setIsFinishedParsingChildren(false); } | 469 void beginParsingChildren() { setIsFinishedParsingChildren(false); } |
470 | 470 |
471 PseudoElement* pseudoElement(PseudoId) const; | 471 PseudoElement* pseudoElement(PseudoId) const; |
472 LayoutObject* pseudoElementLayoutObject(PseudoId) const; | 472 LayoutObject* pseudoElementLayoutObject(PseudoId) const; |
473 | 473 |
474 virtual bool matchesDefaultPseudoClass() const { return false; } | 474 virtual bool matchesDefaultPseudoClass() const { return false; } |
475 virtual bool matchesEnabledPseudoClass() const { return false; } | 475 virtual bool matchesEnabledPseudoClass() const { return false; } |
| 476 virtual bool matchesDisabledPseudoClass() const { return false; } |
476 virtual bool matchesReadOnlyPseudoClass() const { return false; } | 477 virtual bool matchesReadOnlyPseudoClass() const { return false; } |
477 virtual bool matchesReadWritePseudoClass() const { return false; } | 478 virtual bool matchesReadWritePseudoClass() const { return false; } |
478 virtual bool matchesValidityPseudoClasses() const { return false; } | 479 virtual bool matchesValidityPseudoClasses() const { return false; } |
479 bool matches(const String& selectors, ExceptionState&); | 480 bool matches(const String& selectors, ExceptionState&); |
480 Element* closest(const String& selectors, ExceptionState&); | 481 Element* closest(const String& selectors, ExceptionState&); |
481 virtual bool shouldAppearIndeterminate() const { return false; } | 482 virtual bool shouldAppearIndeterminate() const { return false; } |
482 | 483 |
483 DOMTokenList& classList(); | 484 DOMTokenList& classList(); |
484 | 485 |
485 DOMStringMap& dataset(); | 486 DOMStringMap& dataset(); |
(...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
961 static T* create(const QualifiedName&, Document&) | 962 static T* create(const QualifiedName&, Document&) |
962 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ | 963 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ |
963 T* T::create(const QualifiedName& tagName, Document& document) \ | 964 T* T::create(const QualifiedName& tagName, Document& document) \ |
964 { \ | 965 { \ |
965 return new T(tagName, document); \ | 966 return new T(tagName, document); \ |
966 } | 967 } |
967 | 968 |
968 } // namespace blink | 969 } // namespace blink |
969 | 970 |
970 #endif // Element_h | 971 #endif // Element_h |
OLD | NEW |