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 305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
316 void setAnimationStyleChange(bool); | 316 void setAnimationStyleChange(bool); |
317 void clearAnimationStyleChange(); | 317 void clearAnimationStyleChange(); |
318 void setNeedsAnimationStyleRecalc(); | 318 void setNeedsAnimationStyleRecalc(); |
319 | 319 |
320 void setNeedsCompositingUpdate(); | 320 void setNeedsCompositingUpdate(); |
321 | 321 |
322 bool supportsStyleSharing() const; | 322 bool supportsStyleSharing() const; |
323 | 323 |
324 ElementShadow* shadow() const; | 324 ElementShadow* shadow() const; |
325 ElementShadow& ensureShadow(); | 325 ElementShadow& ensureShadow(); |
326 PassRefPtrWillBeRawPtr<ShadowRoot> createShadowRoot(ScriptState*, ExceptionS
tate&); | 326 PassRefPtrWillBeRawPtr<ShadowRoot> createShadowRoot(const ScriptState*, Exce
ptionState&); |
327 PassRefPtrWillBeRawPtr<ShadowRoot> createShadowRoot(ScriptState*, ShadowRoot
Init&, ExceptionState&); | 327 PassRefPtrWillBeRawPtr<ShadowRoot> createShadowRoot(const ScriptState*, cons
t ShadowRootInit&, ExceptionState&); |
328 PassRefPtrWillBeRawPtr<ShadowRoot> createShadowRoot(ExceptionState&); | 328 PassRefPtrWillBeRawPtr<ShadowRoot> createShadowRoot(ExceptionState&); |
329 ShadowRoot* shadowRoot() const; | 329 ShadowRoot* shadowRoot() const; |
330 ShadowRoot* youngestShadowRoot() const; | 330 ShadowRoot* youngestShadowRoot() const; |
331 | 331 |
332 bool hasOpenShadowRoot() const { return shadowRoot(); } | 332 bool hasOpenShadowRoot() const { return shadowRoot(); } |
333 ShadowRoot* userAgentShadowRoot() const; | 333 ShadowRoot* userAgentShadowRoot() const; |
334 ShadowRoot& ensureUserAgentShadowRoot(); | 334 ShadowRoot& ensureUserAgentShadowRoot(); |
335 virtual void willAddFirstOpenShadowRoot() { } | 335 virtual void willAddFirstOpenShadowRoot() { } |
336 | 336 |
337 bool isInDescendantTreeOf(const Element* shadowHost) const; | 337 bool isInDescendantTreeOf(const Element* shadowHost) const; |
(...skipping 542 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
880 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&) | 880 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&) |
881 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ | 881 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ |
882 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document&
document) \ | 882 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document&
document) \ |
883 { \ | 883 { \ |
884 return adoptRefWillBeNoop(new T(tagName, document)); \ | 884 return adoptRefWillBeNoop(new T(tagName, document)); \ |
885 } | 885 } |
886 | 886 |
887 } // namespace | 887 } // namespace |
888 | 888 |
889 #endif // Element_h | 889 #endif // Element_h |
OLD | NEW |