Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 214 void destroyCompositorPlayer(); | 214 void destroyCompositorPlayer(); |
| 215 void attachCompositorTimeline(); | 215 void attachCompositorTimeline(); |
| 216 void detachCompositorTimeline(); | 216 void detachCompositorTimeline(); |
| 217 void attachCompositedLayers(); | 217 void attachCompositedLayers(); |
| 218 void detachCompositedLayers(); | 218 void detachCompositedLayers(); |
| 219 // CompositorAnimationDelegate implementation. | 219 // CompositorAnimationDelegate implementation. |
| 220 void notifyAnimationStarted(double monotonicTime, int group) override; | 220 void notifyAnimationStarted(double monotonicTime, int group) override; |
| 221 void notifyAnimationFinished(double monotonicTime, int group) override {} | 221 void notifyAnimationFinished(double monotonicTime, int group) override {} |
| 222 void notifyAnimationAborted(double monotonicTime, int group) override {} | 222 void notifyAnimationAborted(double monotonicTime, int group) override {} |
| 223 | 223 |
| 224 typedef ScriptPromiseProperty<Member<Animation>, | |
| 225 Member<Animation>, | |
| 226 Member<DOMException>> | |
| 227 AnimationPromise; | |
|
alancutter (OOO until 2018)
2017/01/09 03:25:07
Nit: "using =" might be easier to read here with t
adithyas
2017/01/09 15:22:58
Done.
| |
| 228 | |
| 229 void resolvePromiseAsync(Member<AnimationPromise>); | |
|
jbroman
2017/01/07 04:06:36
nit: For Oilpan objects, we usually pass T* rather
adithyas
2017/01/09 15:22:58
Done.
| |
| 230 | |
| 224 String m_id; | 231 String m_id; |
| 225 | 232 |
| 226 AnimationPlayState m_playState; | 233 AnimationPlayState m_playState; |
| 227 double m_playbackRate; | 234 double m_playbackRate; |
| 228 double m_startTime; | 235 double m_startTime; |
| 229 double m_holdTime; | 236 double m_holdTime; |
| 230 | 237 |
| 231 unsigned m_sequenceNumber; | 238 unsigned m_sequenceNumber; |
| 232 | 239 |
| 233 typedef ScriptPromiseProperty<Member<Animation>, | |
| 234 Member<Animation>, | |
| 235 Member<DOMException>> | |
| 236 AnimationPromise; | |
| 237 Member<AnimationPromise> m_finishedPromise; | 240 Member<AnimationPromise> m_finishedPromise; |
| 238 Member<AnimationPromise> m_readyPromise; | 241 Member<AnimationPromise> m_readyPromise; |
| 239 | 242 |
| 240 Member<AnimationEffectReadOnly> m_content; | 243 Member<AnimationEffectReadOnly> m_content; |
| 241 Member<AnimationTimeline> m_timeline; | 244 Member<AnimationTimeline> m_timeline; |
| 242 | 245 |
| 243 // Reflects all pausing, including via pauseForTesting(). | 246 // Reflects all pausing, including via pauseForTesting(). |
| 244 bool m_paused; | 247 bool m_paused; |
| 245 bool m_held; | 248 bool m_held; |
| 246 bool m_isPausedForTesting; | 249 bool m_isPausedForTesting; |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 337 | 340 |
| 338 bool m_currentTimePending; | 341 bool m_currentTimePending; |
| 339 bool m_stateIsBeingUpdated; | 342 bool m_stateIsBeingUpdated; |
| 340 | 343 |
| 341 bool m_effectSuppressed; | 344 bool m_effectSuppressed; |
| 342 }; | 345 }; |
| 343 | 346 |
| 344 } // namespace blink | 347 } // namespace blink |
| 345 | 348 |
| 346 #endif // Animation_h | 349 #endif // Animation_h |
| OLD | NEW |