| 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 class ExceptionState; | 56 class ExceptionState; |
| 57 class Image; | 57 class Image; |
| 58 class IntSize; | 58 class IntSize; |
| 59 class Locale; | 59 class Locale; |
| 60 class MutableStylePropertySet; | 60 class MutableStylePropertySet; |
| 61 class PropertySetCSSStyleDeclaration; | 61 class PropertySetCSSStyleDeclaration; |
| 62 class PseudoElement; | 62 class PseudoElement; |
| 63 class ScrollState; | 63 class ScrollState; |
| 64 class ScrollToOptions; | 64 class ScrollToOptions; |
| 65 class ShadowRoot; | 65 class ShadowRoot; |
| 66 class ShadowRootInit; |
| 66 class StylePropertySet; | 67 class StylePropertySet; |
| 67 | 68 |
| 68 enum SpellcheckAttributeState { | 69 enum SpellcheckAttributeState { |
| 69 SpellcheckAttributeTrue, | 70 SpellcheckAttributeTrue, |
| 70 SpellcheckAttributeFalse, | 71 SpellcheckAttributeFalse, |
| 71 SpellcheckAttributeDefault | 72 SpellcheckAttributeDefault |
| 72 }; | 73 }; |
| 73 | 74 |
| 74 enum ElementFlags { | 75 enum ElementFlags { |
| 75 TabIndexWasSetExplicitly = 1 << 0, | 76 TabIndexWasSetExplicitly = 1 << 0, |
| (...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 316 void clearAnimationStyleChange(); | 317 void clearAnimationStyleChange(); |
| 317 void setNeedsAnimationStyleRecalc(); | 318 void setNeedsAnimationStyleRecalc(); |
| 318 | 319 |
| 319 void setNeedsCompositingUpdate(); | 320 void setNeedsCompositingUpdate(); |
| 320 | 321 |
| 321 bool supportsStyleSharing() const; | 322 bool supportsStyleSharing() const; |
| 322 | 323 |
| 323 ElementShadow* shadow() const; | 324 ElementShadow* shadow() const; |
| 324 ElementShadow& ensureShadow(); | 325 ElementShadow& ensureShadow(); |
| 325 PassRefPtrWillBeRawPtr<ShadowRoot> createShadowRoot(ScriptState*, ExceptionS
tate&); | 326 PassRefPtrWillBeRawPtr<ShadowRoot> createShadowRoot(ScriptState*, ExceptionS
tate&); |
| 327 PassRefPtrWillBeRawPtr<ShadowRoot> createShadowRoot(ScriptState*, ShadowRoot
Init&, ExceptionState&); |
| 326 PassRefPtrWillBeRawPtr<ShadowRoot> createShadowRoot(ExceptionState&); | 328 PassRefPtrWillBeRawPtr<ShadowRoot> createShadowRoot(ExceptionState&); |
| 327 ShadowRoot* shadowRoot() const; | 329 ShadowRoot* shadowRoot() const; |
| 328 ShadowRoot* youngestShadowRoot() const; | 330 ShadowRoot* youngestShadowRoot() const; |
| 329 | 331 |
| 330 bool hasOpenShadowRoot() const { return shadowRoot(); } | 332 bool hasOpenShadowRoot() const { return shadowRoot(); } |
| 331 ShadowRoot* userAgentShadowRoot() const; | 333 ShadowRoot* userAgentShadowRoot() const; |
| 332 ShadowRoot& ensureUserAgentShadowRoot(); | 334 ShadowRoot& ensureUserAgentShadowRoot(); |
| 333 virtual void willAddFirstOpenShadowRoot() { } | 335 virtual void willAddFirstOpenShadowRoot() { } |
| 334 | 336 |
| 335 bool isInDescendantTreeOf(const Element* shadowHost) const; | 337 bool isInDescendantTreeOf(const Element* shadowHost) const; |
| (...skipping 541 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 877 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&) | 879 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&) |
| 878 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ | 880 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ |
| 879 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document&
document) \ | 881 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document&
document) \ |
| 880 { \ | 882 { \ |
| 881 return adoptRefWillBeNoop(new T(tagName, document)); \ | 883 return adoptRefWillBeNoop(new T(tagName, document)); \ |
| 882 } | 884 } |
| 883 | 885 |
| 884 } // namespace | 886 } // namespace |
| 885 | 887 |
| 886 #endif // Element_h | 888 #endif // Element_h |
| OLD | NEW |