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 296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
307 void setAnimationStyleChange(bool); | 307 void setAnimationStyleChange(bool); |
308 void setNeedsAnimationStyleRecalc(); | 308 void setNeedsAnimationStyleRecalc(); |
309 | 309 |
310 void setNeedsCompositingUpdate(); | 310 void setNeedsCompositingUpdate(); |
311 | 311 |
312 bool supportsStyleSharing() const; | 312 bool supportsStyleSharing() const; |
313 | 313 |
314 ElementShadow* shadow() const; | 314 ElementShadow* shadow() const; |
315 ElementShadow& ensureShadow(); | 315 ElementShadow& ensureShadow(); |
316 PassRefPtrWillBeRawPtr<ShadowRoot> createShadowRoot(ExceptionState&); | 316 PassRefPtrWillBeRawPtr<ShadowRoot> createShadowRoot(ExceptionState&); |
| 317 PassRefPtrWillBeRawPtr<ShadowRoot> createUserAgentShadowRoot(ExceptionState&
); |
317 ShadowRoot* shadowRoot() const; | 318 ShadowRoot* shadowRoot() const; |
318 ShadowRoot* youngestShadowRoot() const; | 319 ShadowRoot* youngestShadowRoot() const; |
319 | 320 |
320 bool hasAuthorShadowRoot() const { return shadowRoot(); } | 321 bool hasAuthorShadowRoot() const { return shadowRoot(); } |
321 ShadowRoot* userAgentShadowRoot() const; | 322 ShadowRoot* userAgentShadowRoot() const; |
322 ShadowRoot& ensureUserAgentShadowRoot(); | 323 ShadowRoot& ensureUserAgentShadowRoot(); |
323 virtual void willAddFirstAuthorShadowRoot() { } | 324 virtual void willAddFirstAuthorShadowRoot() { } |
324 | 325 |
325 bool isInDescendantTreeOf(const Element* shadowHost) const; | 326 bool isInDescendantTreeOf(const Element* shadowHost) const; |
326 | 327 |
(...skipping 525 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
852 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&) | 853 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&) |
853 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ | 854 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ |
854 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document&
document) \ | 855 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document&
document) \ |
855 { \ | 856 { \ |
856 return adoptRefWillBeNoop(new T(tagName, document)); \ | 857 return adoptRefWillBeNoop(new T(tagName, document)); \ |
857 } | 858 } |
858 | 859 |
859 } // namespace | 860 } // namespace |
860 | 861 |
861 #endif // Element_h | 862 #endif // Element_h |
OLD | NEW |