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

Side by Side Diff: third_party/WebKit/public/platform/WebCompositorAnimationPlayer.h

Issue 1534813004: Run smooth scroll animations on the compositor when possible (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nit Created 5 years 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 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WebCompositorAnimationPlayer_h 5 #ifndef WebCompositorAnimationPlayer_h
6 #define WebCompositorAnimationPlayer_h 6 #define WebCompositorAnimationPlayer_h
7 7
8 namespace blink { 8 namespace blink {
9 9
10 class WebCompositorAnimation; 10 class WebCompositorAnimation;
(...skipping 11 matching lines...) Expand all
22 // deleting the delegate. 22 // deleting the delegate.
23 virtual void setAnimationDelegate(WebCompositorAnimationDelegate*) = 0; 23 virtual void setAnimationDelegate(WebCompositorAnimationDelegate*) = 0;
24 24
25 virtual void attachLayer(WebLayer*) = 0; 25 virtual void attachLayer(WebLayer*) = 0;
26 virtual void detachLayer() = 0; 26 virtual void detachLayer() = 0;
27 virtual bool isLayerAttached() const = 0; 27 virtual bool isLayerAttached() const = 0;
28 28
29 virtual void addAnimation(WebCompositorAnimation*) = 0; 29 virtual void addAnimation(WebCompositorAnimation*) = 0;
30 virtual void removeAnimation(int animationId) = 0; 30 virtual void removeAnimation(int animationId) = 0;
31 virtual void pauseAnimation(int animationId, double timeOffset) = 0; 31 virtual void pauseAnimation(int animationId, double timeOffset) = 0;
32 virtual void abortAnimation(int animationId) = 0;
32 }; 33 };
33 34
34 } // namespace blink 35 } // namespace blink
35 36
36 #endif // WebCompositorAnimationPlayer_h 37 #endif // WebCompositorAnimationPlayer_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/scroll/ScrollableArea.cpp ('k') | third_party/WebKit/public/platform/WebLayer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698