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

Side by Side Diff: third_party/WebKit/Source/core/animation/Animation.h

Issue 1944623002: CC Animation: Use ElementId to attach CC animation players. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@erasedomids
Patch Set: Let CC clients generate their own ElementIds locally. Created 4 years, 7 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
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 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 void setPlaybackRateInternal(double); 201 void setPlaybackRateInternal(double);
202 void updateCurrentTimingState(TimingUpdateReason); 202 void updateCurrentTimingState(TimingUpdateReason);
203 203
204 void beginUpdatingState(); 204 void beginUpdatingState();
205 void endUpdatingState(); 205 void endUpdatingState();
206 206
207 void createCompositorPlayer(); 207 void createCompositorPlayer();
208 void destroyCompositorPlayer(); 208 void destroyCompositorPlayer();
209 void attachCompositorTimeline(); 209 void attachCompositorTimeline();
210 void detachCompositorTimeline(); 210 void detachCompositorTimeline();
211 void attachCompositedLayers(); 211 void attachCompositorPlayerToElement();
212 void detachCompositedLayers(); 212 void detachCompositorPlayerFromElement();
213 // CompositorAnimationDelegate implementation. 213 // CompositorAnimationDelegate implementation.
214 void notifyAnimationStarted(double monotonicTime, int group) override; 214 void notifyAnimationStarted(double monotonicTime, int group) override;
215 void notifyAnimationFinished(double monotonicTime, int group) override { } 215 void notifyAnimationFinished(double monotonicTime, int group) override { }
216 void notifyAnimationAborted(double monotonicTime, int group) override { } 216 void notifyAnimationAborted(double monotonicTime, int group) override { }
217 217
218 String m_id; 218 String m_id;
219 219
220 AnimationPlayState m_playState; 220 AnimationPlayState m_playState;
221 double m_playbackRate; 221 double m_playbackRate;
222 double m_startTime; 222 double m_startTime;
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
302 302
303 bool m_currentTimePending; 303 bool m_currentTimePending;
304 bool m_stateIsBeingUpdated; 304 bool m_stateIsBeingUpdated;
305 305
306 bool m_effectSuppressed; 306 bool m_effectSuppressed;
307 }; 307 };
308 308
309 } // namespace blink 309 } // namespace blink
310 310
311 #endif // Animation_h 311 #endif // Animation_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698