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

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

Issue 110123005: Web Animations CSS: Record if style recalc is for animation (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: Ignore new interrupted immediately test when testing legacy animations engine Created 7 years 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
« no previous file with comments | « Source/core/animation/css/CSSAnimations.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, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2013 Appl e Inc. All rights reserved. 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2013 Appl e 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 283 matching lines...) Expand 10 before | Expand all | Expand 10 after
294 bool hasEquivalentAttributes(const Element* other) const; 294 bool hasEquivalentAttributes(const Element* other) const;
295 295
296 virtual void copyNonAttributePropertiesFromElement(const Element&) { } 296 virtual void copyNonAttributePropertiesFromElement(const Element&) { }
297 297
298 virtual void attach(const AttachContext& = AttachContext()) OVERRIDE; 298 virtual void attach(const AttachContext& = AttachContext()) OVERRIDE;
299 virtual void detach(const AttachContext& = AttachContext()) OVERRIDE; 299 virtual void detach(const AttachContext& = AttachContext()) OVERRIDE;
300 virtual RenderObject* createRenderer(RenderStyle*); 300 virtual RenderObject* createRenderer(RenderStyle*);
301 virtual bool rendererIsNeeded(const RenderStyle&); 301 virtual bool rendererIsNeeded(const RenderStyle&);
302 void recalcStyle(StyleRecalcChange, Text* nextTextSibling = 0); 302 void recalcStyle(StyleRecalcChange, Text* nextTextSibling = 0);
303 void didAffectSelector(AffectedSelectorMask); 303 void didAffectSelector(AffectedSelectorMask);
304 void setAnimationStyleChange(bool);
305 void setNeedsAnimationStyleRecalc();
304 306
305 bool supportsStyleSharing() const; 307 bool supportsStyleSharing() const;
306 308
307 ElementShadow* shadow() const; 309 ElementShadow* shadow() const;
308 ElementShadow& ensureShadow(); 310 ElementShadow& ensureShadow();
309 PassRefPtr<ShadowRoot> createShadowRoot(ExceptionState&); 311 PassRefPtr<ShadowRoot> createShadowRoot(ExceptionState&);
310 ShadowRoot* shadowRoot() const; 312 ShadowRoot* shadowRoot() const;
311 ShadowRoot* youngestShadowRoot() const; 313 ShadowRoot* youngestShadowRoot() const;
312 314
313 bool hasAuthorShadowRoot() const { return shadowRoot(); } 315 bool hasAuthorShadowRoot() const { return shadowRoot(); }
(...skipping 574 matching lines...) Expand 10 before | Expand all | Expand 10 after
888 } 890 }
889 891
890 inline bool isShadowHost(const Element* element) 892 inline bool isShadowHost(const Element* element)
891 { 893 {
892 return element && element->shadow(); 894 return element && element->shadow();
893 } 895 }
894 896
895 } // namespace 897 } // namespace
896 898
897 #endif 899 #endif
OLDNEW
« no previous file with comments | « Source/core/animation/css/CSSAnimations.cpp ('k') | Source/core/dom/Element.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698