| 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 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 197 bool hasEquivalentAttributes(const Element* other) const; | 197 bool hasEquivalentAttributes(const Element* other) const; |
| 198 | 198 |
| 199 void attach(const AttachContext& = AttachContext()) final; | 199 void attach(const AttachContext& = AttachContext()) final; |
| 200 void detach(const AttachContext& = AttachContext()) final; | 200 void detach(const AttachContext& = AttachContext()) final; |
| 201 | 201 |
| 202 virtual RenderObject* createRenderer(RenderStyle*); | 202 virtual RenderObject* createRenderer(RenderStyle*); |
| 203 void recalcStyle(StyleRecalcChange, Text* nextTextSibling = 0); | 203 void recalcStyle(StyleRecalcChange, Text* nextTextSibling = 0); |
| 204 void setAnimationStyleChange(bool); | 204 void setAnimationStyleChange(bool); |
| 205 void setNeedsAnimationStyleRecalc(); | 205 void setNeedsAnimationStyleRecalc(); |
| 206 | 206 |
| 207 void setNeedsCompositingUpdate(); | |
| 208 | |
| 209 bool supportsStyleSharing() const; | 207 bool supportsStyleSharing() const; |
| 210 | 208 |
| 211 ElementShadow* shadow() const; | 209 ElementShadow* shadow() const; |
| 212 ElementShadow& ensureShadow(); | 210 ElementShadow& ensureShadow(); |
| 213 PassRefPtr<ShadowRoot> ensureShadowRoot(ExceptionState&); | 211 PassRefPtr<ShadowRoot> ensureShadowRoot(ExceptionState&); |
| 214 ShadowRoot* shadowRoot() const; | 212 ShadowRoot* shadowRoot() const; |
| 215 | 213 |
| 216 bool hasAuthorShadowRoot() const { return shadowRoot(); } | 214 bool hasAuthorShadowRoot() const { return shadowRoot(); } |
| 217 | 215 |
| 218 RenderStyle* computedStyle(PseudoId = NOPSEUDO); | 216 RenderStyle* computedStyle(PseudoId = NOPSEUDO); |
| (...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 592 static PassRefPtr<T> create(const QualifiedName&, Document&) | 590 static PassRefPtr<T> create(const QualifiedName&, Document&) |
| 593 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ | 591 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ |
| 594 PassRefPtr<T> T::create(const QualifiedName& tagName, Document& document) \ | 592 PassRefPtr<T> T::create(const QualifiedName& tagName, Document& document) \ |
| 595 { \ | 593 { \ |
| 596 return adoptRef(new T(tagName, document)); \ | 594 return adoptRef(new T(tagName, document)); \ |
| 597 } | 595 } |
| 598 | 596 |
| 599 } // namespace | 597 } // namespace |
| 600 | 598 |
| 601 #endif // SKY_ENGINE_CORE_DOM_ELEMENT_H_ | 599 #endif // SKY_ENGINE_CORE_DOM_ELEMENT_H_ |
| OLD | NEW |