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

Side by Side Diff: sky/engine/core/animation/AnimationNode.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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 friend class AnimationPlayer; // Calls attach/detach, updateInheritedTime. 64 friend class AnimationPlayer; // Calls attach/detach, updateInheritedTime.
65 public: 65 public:
66 // Note that logic in CSSAnimations depends on the order of these values. 66 // Note that logic in CSSAnimations depends on the order of these values.
67 enum Phase { 67 enum Phase {
68 PhaseBefore, 68 PhaseBefore,
69 PhaseActive, 69 PhaseActive,
70 PhaseAfter, 70 PhaseAfter,
71 PhaseNone, 71 PhaseNone,
72 }; 72 };
73 73
74 class EventDelegate : public DummyBase<EventDelegate> { 74 class EventDelegate {
75 public: 75 public:
76 virtual ~EventDelegate() { } 76 virtual ~EventDelegate() { }
77 virtual void onEventCondition(const AnimationNode*) = 0; 77 virtual void onEventCondition(const AnimationNode*) = 0;
78 virtual void trace(Visitor*) { } 78 virtual void trace(Visitor*) { }
79 }; 79 };
80 80
81 virtual ~AnimationNode() { } 81 virtual ~AnimationNode() { }
82 82
83 virtual bool isAnimation() const { return false; } 83 virtual bool isAnimation() const { return false; }
84 84
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 } m_calculated; 164 } m_calculated;
165 mutable bool m_needsUpdate; 165 mutable bool m_needsUpdate;
166 mutable double m_lastUpdateTime; 166 mutable double m_lastUpdateTime;
167 167
168 const CalculatedTiming& ensureCalculated() const; 168 const CalculatedTiming& ensureCalculated() const;
169 }; 169 };
170 170
171 } // namespace blink 171 } // namespace blink
172 172
173 #endif 173 #endif
OLDNEW
« no previous file with comments | « sky/engine/core/animation/ActiveAnimations.h ('k') | sky/engine/core/animation/AnimationPlayer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698