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 311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
322 void setAnimationStyleChange(bool); | 322 void setAnimationStyleChange(bool); |
323 void setNeedsAnimationStyleRecalc(); | 323 void setNeedsAnimationStyleRecalc(); |
324 | 324 |
325 void setNeedsCompositingUpdate(); | 325 void setNeedsCompositingUpdate(); |
326 | 326 |
327 bool supportsStyleSharing() const; | 327 bool supportsStyleSharing() const; |
328 | 328 |
329 ElementShadow* shadow() const; | 329 ElementShadow* shadow() const; |
330 ElementShadow& ensureShadow(); | 330 ElementShadow& ensureShadow(); |
331 PassRefPtrWillBeRawPtr<ShadowRoot> createShadowRoot(ExceptionState&); | 331 PassRefPtrWillBeRawPtr<ShadowRoot> createShadowRoot(ExceptionState&); |
| 332 PassRefPtrWillBeRawPtr<ShadowRoot> createUserAgentShadowRoot(ExceptionState&
); |
332 ShadowRoot* shadowRoot() const; | 333 ShadowRoot* shadowRoot() const; |
333 ShadowRoot* youngestShadowRoot() const; | 334 ShadowRoot* youngestShadowRoot() const; |
334 | 335 |
335 bool hasAuthorShadowRoot() const { return shadowRoot(); } | 336 bool hasAuthorShadowRoot() const { return shadowRoot(); } |
336 ShadowRoot* userAgentShadowRoot() const; | 337 ShadowRoot* userAgentShadowRoot() const; |
337 ShadowRoot& ensureUserAgentShadowRoot(); | 338 ShadowRoot& ensureUserAgentShadowRoot(); |
338 virtual void willAddFirstAuthorShadowRoot() { } | 339 virtual void willAddFirstAuthorShadowRoot() { } |
339 | 340 |
340 bool isInDescendantTreeOf(const Element* shadowHost) const; | 341 bool isInDescendantTreeOf(const Element* shadowHost) const; |
341 | 342 |
(...skipping 517 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
859 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&) | 860 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&) |
860 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ | 861 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ |
861 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document&
document) \ | 862 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document&
document) \ |
862 { \ | 863 { \ |
863 return adoptRefWillBeNoop(new T(tagName, document)); \ | 864 return adoptRefWillBeNoop(new T(tagName, document)); \ |
864 } | 865 } |
865 | 866 |
866 } // namespace | 867 } // namespace |
867 | 868 |
868 #endif | 869 #endif |
OLD | NEW |