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

Unified Diff: public/platform/WebLayer.h

Issue 1131833002: [Sketch] Animations: Torpedo the old intrusive animation system. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@scroll
Patch Set: Delete more. Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/web/WebViewImpl.cpp ('k') | public/platform/WebLayerTreeView.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebLayer.h
diff --git a/public/platform/WebLayer.h b/public/platform/WebLayer.h
index f4fcc94d70a8173e5b168e517cfb5ef045cb8fc7..0b2ff0ef427cf6448cdac54c37272c3264967157 100644
--- a/public/platform/WebLayer.h
+++ b/public/platform/WebLayer.h
@@ -43,7 +43,6 @@ class SkMatrix44;
class SkImageFilter;
namespace blink {
-class WebCompositorAnimationDelegate;
class WebFilterOperations;
class WebLayerClient;
class WebLayerScrollClient;
@@ -128,29 +127,6 @@ public:
// WebFilterOperations object.
virtual void setFilters(const WebFilterOperations&) = 0;
- // An animation delegate is notified when animations are started and
- // stopped. The WebLayer does not take ownership of the delegate, and it is
- // the responsibility of the client to reset the layer's delegate before
- // deleting the delegate.
- virtual void setAnimationDelegate(WebCompositorAnimationDelegate*) = 0;
-
-
- // Returns false if the animation cannot be added.
- // Takes ownership of the WebCompositorAnimation object.
- virtual bool addAnimation(WebCompositorAnimation*) = 0;
-
- // Removes all animations with the given id.
- virtual void removeAnimation(int animationId) = 0;
-
- // Removes all animations with the given id targeting the given property.
- virtual void removeAnimation(int animationId, WebCompositorAnimation::TargetProperty) = 0;
-
- // Pauses all animations with the given id.
- virtual void pauseAnimation(int animationId, double timeOffset) = 0;
-
- // Returns true if this layer has any active animations - useful for tests.
- virtual bool hasActiveAnimation() = 0;
-
// If a scroll parent is set, this layer will inherit its parent's scroll
// delta and offset even though it will not be a descendant of the scroll
// in the layer hierarchy.
« no previous file with comments | « Source/web/WebViewImpl.cpp ('k') | public/platform/WebLayerTreeView.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698