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

Side by Side Diff: sky/engine/core/animation/AnimationTimeline.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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 43
44 namespace blink { 44 namespace blink {
45 45
46 class Document; 46 class Document;
47 class AnimationNode; 47 class AnimationNode;
48 48
49 // AnimationTimeline is constructed and owned by Document, and tied to its lifec ycle. 49 // AnimationTimeline is constructed and owned by Document, and tied to its lifec ycle.
50 class AnimationTimeline : public RefCounted<AnimationTimeline>, public ScriptWra ppable { 50 class AnimationTimeline : public RefCounted<AnimationTimeline>, public ScriptWra ppable {
51 DEFINE_WRAPPERTYPEINFO(); 51 DEFINE_WRAPPERTYPEINFO();
52 public: 52 public:
53 class PlatformTiming : public DummyBase<PlatformTiming> { 53 class PlatformTiming {
54 54
55 public: 55 public:
56 // Calls AnimationTimeline's wake() method after duration seconds. 56 // Calls AnimationTimeline's wake() method after duration seconds.
57 virtual void wakeAfter(double duration) = 0; 57 virtual void wakeAfter(double duration) = 0;
58 virtual void cancelWake() = 0; 58 virtual void cancelWake() = 0;
59 virtual void serviceOnNextFrame() = 0; 59 virtual void serviceOnNextFrame() = 0;
60 virtual ~PlatformTiming() { } 60 virtual ~PlatformTiming() { }
61 virtual void trace(Visitor*) { } 61 virtual void trace(Visitor*) { }
62 }; 62 };
63 63
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 RawPtr<AnimationTimeline> m_timeline; 135 RawPtr<AnimationTimeline> m_timeline;
136 Timer<AnimationTimelineTiming> m_timer; 136 Timer<AnimationTimelineTiming> m_timer;
137 }; 137 };
138 138
139 friend class AnimationAnimationTimelineTest; 139 friend class AnimationAnimationTimelineTest;
140 }; 140 };
141 141
142 } // namespace blink 142 } // namespace blink
143 143
144 #endif 144 #endif
OLDNEW
« no previous file with comments | « sky/engine/core/animation/AnimationPlayer.h ('k') | sky/engine/core/animation/InterpolableValue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698