Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(218)

Side by Side Diff: Source/core/dom/Element.h

Issue 1000413003: Clear need for animation style for forced styleForElement. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed review issue Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/dom/Document.cpp ('k') | Source/core/dom/Element.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « Source/core/dom/Document.cpp ('k') | Source/core/dom/Element.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698