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

Side by Side Diff: sky/engine/core/animation/css/CSSAnimations.h

Issue 709203002: Remove more oilpan. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 namespace blink { 45 namespace blink {
46 46
47 class CSSTransitionData; 47 class CSSTransitionData;
48 class Element; 48 class Element;
49 class StylePropertyShorthand; 49 class StylePropertyShorthand;
50 class StyleResolver; 50 class StyleResolver;
51 class StyleRuleKeyframes; 51 class StyleRuleKeyframes;
52 52
53 // This class stores the CSS Animations/Transitions information we use during a style recalc. 53 // This class stores the CSS Animations/Transitions information we use during a style recalc.
54 // This includes updates to animations/transitions as well as the Interpolations to be applied. 54 // This includes updates to animations/transitions as well as the Interpolations to be applied.
55 class CSSAnimationUpdate final : public DummyBase<CSSAnimationUpdate> { 55 class CSSAnimationUpdate final {
56 public: 56 public:
57 void startAnimation(AtomicString& animationName, PassRefPtr<InertAnimation> animation) 57 void startAnimation(AtomicString& animationName, PassRefPtr<InertAnimation> animation)
58 { 58 {
59 NewAnimation newAnimation; 59 NewAnimation newAnimation;
60 newAnimation.name = animationName; 60 newAnimation.name = animationName;
61 newAnimation.animation = animation; 61 newAnimation.animation = animation;
62 m_newAnimations.append(newAnimation); 62 m_newAnimations.append(newAnimation);
63 } 63 }
64 // Returns whether player has been cancelled and should be filtered during s tyle application. 64 // Returns whether player has been cancelled and should be filtered during s tyle application.
65 bool isCancelledAnimation(const AnimationPlayer* player) const { return m_ca ncelledAnimationPlayers.contains(player); } 65 bool isCancelledAnimation(const AnimationPlayer* player) const { return m_ca ncelledAnimationPlayers.contains(player); }
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 const CSSPropertyID m_property; 251 const CSSPropertyID m_property;
252 AnimationNode::Phase m_previousPhase; 252 AnimationNode::Phase m_previousPhase;
253 }; 253 };
254 }; 254 };
255 255
256 } // namespace blink 256 } // namespace blink
257 257
258 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::CSSAnimationUpdate::NewAnimation); 258 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::CSSAnimationUpdate::NewAnimation);
259 259
260 #endif 260 #endif
OLDNEW
« no previous file with comments | « sky/engine/core/animation/SampledEffect.h ('k') | sky/engine/core/animation/css/CSSTimingData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698