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