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

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

Issue 1587073011: Plumb NotifyAnimationAborted from the compositor to blink animation delegate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: initialize aborted_ in unittest Created 4 years, 11 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
« no previous file with comments | « cc/test/test_hooks.h ('k') | third_party/WebKit/Source/platform/graphics/GraphicsLayer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 201
202 void createCompositorPlayer(); 202 void createCompositorPlayer();
203 void destroyCompositorPlayer(); 203 void destroyCompositorPlayer();
204 void attachCompositorTimeline(); 204 void attachCompositorTimeline();
205 void detachCompositorTimeline(); 205 void detachCompositorTimeline();
206 void attachCompositedLayers(); 206 void attachCompositedLayers();
207 void detachCompositedLayers(); 207 void detachCompositedLayers();
208 // WebCompositorAnimationDelegate implementation. 208 // WebCompositorAnimationDelegate implementation.
209 void notifyAnimationStarted(double monotonicTime, int group) override; 209 void notifyAnimationStarted(double monotonicTime, int group) override;
210 void notifyAnimationFinished(double monotonicTime, int group) override { } 210 void notifyAnimationFinished(double monotonicTime, int group) override { }
211 void notifyAnimationAborted(double monotonicTime, int group) override { }
211 212
212 double startClipInternal() const { return m_startClip; } 213 double startClipInternal() const { return m_startClip; }
213 double endClipInternal() const { return m_endClip; } 214 double endClipInternal() const { return m_endClip; }
214 void setStartClipInternal(double t) { m_startClip = t; } 215 void setStartClipInternal(double t) { m_startClip = t; }
215 void setEndClipInternal(double t) { m_endClip = t; } 216 void setEndClipInternal(double t) { m_endClip = t; }
216 bool clipped(double); 217 bool clipped(double);
217 double clipTimeToEffectChange(double) const; 218 double clipTimeToEffectChange(double) const;
218 219
219 AnimationPlayState m_playState; 220 AnimationPlayState m_playState;
220 double m_playbackRate; 221 double m_playbackRate;
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 300
300 OwnPtr<WebCompositorAnimationPlayer> m_compositorPlayer; 301 OwnPtr<WebCompositorAnimationPlayer> m_compositorPlayer;
301 302
302 bool m_currentTimePending; 303 bool m_currentTimePending;
303 bool m_stateIsBeingUpdated; 304 bool m_stateIsBeingUpdated;
304 }; 305 };
305 306
306 } // namespace blink 307 } // namespace blink
307 308
308 #endif // Animation_h 309 #endif // Animation_h
OLDNEW
« no previous file with comments | « cc/test/test_hooks.h ('k') | third_party/WebKit/Source/platform/graphics/GraphicsLayer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698