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