Chromium Code Reviews| 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 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 306 | 306 |
| 307 virtual void copyNonAttributePropertiesFromElement(const Element&) { } | 307 virtual void copyNonAttributePropertiesFromElement(const Element&) { } |
| 308 | 308 |
| 309 virtual void attach(const AttachContext& = AttachContext()) override; | 309 virtual void attach(const AttachContext& = AttachContext()) override; |
| 310 virtual void detach(const AttachContext& = AttachContext()) override; | 310 virtual void detach(const AttachContext& = AttachContext()) override; |
| 311 | 311 |
| 312 virtual LayoutObject* createLayoutObject(const LayoutStyle&); | 312 virtual LayoutObject* createLayoutObject(const LayoutStyle&); |
| 313 virtual bool layoutObjectIsNeeded(const LayoutStyle&); | 313 virtual bool layoutObjectIsNeeded(const LayoutStyle&); |
| 314 void recalcStyle(StyleRecalcChange, Text* nextTextSibling = nullptr); | 314 void recalcStyle(StyleRecalcChange, Text* nextTextSibling = nullptr); |
| 315 void pseudoStateChanged(CSSSelector::PseudoType); | 315 void pseudoStateChanged(CSSSelector::PseudoType); |
| 316 void setAnimationStyleChange(bool); | 316 void setAnimationStyleChange(bool) const; |
|
esprehn
2015/03/19 10:40:58
Setters should not be const.
| |
| 317 void clearAnimationStyleChange() const; | |
| 317 void setNeedsAnimationStyleRecalc(); | 318 void setNeedsAnimationStyleRecalc(); |
| 318 | 319 |
| 319 void setNeedsCompositingUpdate(); | 320 void setNeedsCompositingUpdate(); |
| 320 | 321 |
| 321 bool supportsStyleSharing() const; | 322 bool supportsStyleSharing() const; |
| 322 | 323 |
| 323 ElementShadow* shadow() const; | 324 ElementShadow* shadow() const; |
| 324 ElementShadow& ensureShadow(); | 325 ElementShadow& ensureShadow(); |
| 325 PassRefPtrWillBeRawPtr<ShadowRoot> createShadowRoot(ExceptionState&); | 326 PassRefPtrWillBeRawPtr<ShadowRoot> createShadowRoot(ExceptionState&); |
| 326 ShadowRoot* shadowRoot() const; | 327 ShadowRoot* shadowRoot() const; |
| (...skipping 552 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 |