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

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

Issue 876433002: Remove even more @keyframes related code. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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
« no previous file with comments | « no previous file | sky/engine/core/animation/css/CSSAnimations.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) 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 29 matching lines...) Expand all
40 #include "sky/engine/core/rendering/style/RenderStyleConstants.h" 40 #include "sky/engine/core/rendering/style/RenderStyleConstants.h"
41 #include "sky/engine/wtf/HashMap.h" 41 #include "sky/engine/wtf/HashMap.h"
42 #include "sky/engine/wtf/Vector.h" 42 #include "sky/engine/wtf/Vector.h"
43 #include "sky/engine/wtf/text/AtomicString.h" 43 #include "sky/engine/wtf/text/AtomicString.h"
44 44
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 StyleRuleKeyframes;
51 50
52 // This class stores the CSS Animations/Transitions information we use during a style recalc. 51 // This class stores the CSS Animations/Transitions information we use during a style recalc.
53 // This includes updates to animations/transitions as well as the Interpolations to be applied. 52 // This includes updates to animations/transitions as well as the Interpolations to be applied.
54 class CSSAnimationUpdate final { 53 class CSSAnimationUpdate final {
55 public: 54 public:
56 void startAnimation(AtomicString& animationName, PassRefPtr<InertAnimation> animation) 55 void startAnimation(AtomicString& animationName, PassRefPtr<InertAnimation> animation)
57 { 56 {
58 NewAnimation newAnimation; 57 NewAnimation newAnimation;
59 newAnimation.name = animationName; 58 newAnimation.name = animationName;
60 newAnimation.animation = animation; 59 newAnimation.animation = animation;
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 const CSSPropertyID m_property; 218 const CSSPropertyID m_property;
220 AnimationNode::Phase m_previousPhase; 219 AnimationNode::Phase m_previousPhase;
221 }; 220 };
222 }; 221 };
223 222
224 } // namespace blink 223 } // namespace blink
225 224
226 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::CSSAnimationUpdate::NewAnimation); 225 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::CSSAnimationUpdate::NewAnimation);
227 226
228 #endif // SKY_ENGINE_CORE_ANIMATION_CSS_CSSANIMATIONS_H_ 227 #endif // SKY_ENGINE_CORE_ANIMATION_CSS_CSSANIMATIONS_H_
OLDNEW
« no previous file with comments | « no previous file | sky/engine/core/animation/css/CSSAnimations.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698