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

Side by Side Diff: sky/engine/core/animation/AnimationPlayer.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 28 matching lines...) Expand all
39 namespace blink { 39 namespace blink {
40 40
41 class AnimationTimeline; 41 class AnimationTimeline;
42 class ExceptionState; 42 class ExceptionState;
43 43
44 class AnimationPlayer final : public RefCounted<AnimationPlayer> 44 class AnimationPlayer final : public RefCounted<AnimationPlayer>
45 , public ActiveDOMObject 45 , public ActiveDOMObject
46 , public EventTargetWithInlineData { 46 , public EventTargetWithInlineData {
47 DEFINE_WRAPPERTYPEINFO(); 47 DEFINE_WRAPPERTYPEINFO();
48 REFCOUNTED_EVENT_TARGET(AnimationPlayer); 48 REFCOUNTED_EVENT_TARGET(AnimationPlayer);
49 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(AnimationPlayer);
50 public: 49 public:
51 enum AnimationPlayState { 50 enum AnimationPlayState {
52 Idle, 51 Idle,
53 Pending, 52 Pending,
54 Running, 53 Running,
55 Paused, 54 Paused,
56 Finished 55 Finished
57 }; 56 };
58 57
59 ~AnimationPlayer(); 58 ~AnimationPlayer();
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 // animation is started. Updated once the start time is known and each time 211 // animation is started. Updated once the start time is known and each time
213 // modifications are pushed to the compositor. 212 // modifications are pushed to the compositor.
214 OwnPtr<CompositorState> m_compositorState; 213 OwnPtr<CompositorState> m_compositorState;
215 bool m_compositorPending; 214 bool m_compositorPending;
216 bool m_currentTimePending; 215 bool m_currentTimePending;
217 }; 216 };
218 217
219 } // namespace blink 218 } // namespace blink
220 219
221 #endif 220 #endif
OLDNEW
« no previous file with comments | « sky/engine/core/animation/AnimationNode.h ('k') | sky/engine/core/animation/AnimationTimeline.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698