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

Unified Diff: public/platform/WebLayer.h

Issue 470443002: Revert of Rename WebAnimation to WebCompositorAnimation (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 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 | « public/platform/WebFloatAnimationCurve.h ('k') | public/platform/WebScrollOffsetAnimationCurve.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 3950cc1d5342dc5e9e1c4c22aab629d646c211e6..c3da9686d0187b647769af09e50480a6a3b2e378 100644
--- a/public/platform/WebLayer.h
+++ b/public/platform/WebLayer.h
@@ -26,10 +26,11 @@
#ifndef WebLayer_h
#define WebLayer_h
+#include "WebAnimation.h"
#include "WebBlendMode.h"
#include "WebColor.h"
#include "WebCommon.h"
-#include "WebCompositorAnimation.h"
+#include "WebCompositorAnimationDelegate.h"
#include "WebFloatPoint3D.h"
#include "WebPoint.h"
#include "WebRect.h"
@@ -41,7 +42,6 @@
class SkImageFilter;
namespace blink {
-class WebCompositorAnimationDelegate;
class WebFilterOperations;
class WebLayerClient;
class WebLayerScrollClient;
@@ -131,18 +131,18 @@
// 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;
+ virtual void setAnimationDelegate(WebAnimationDelegate*) = 0;
// Returns false if the animation cannot be added.
- // Takes ownership of the WebCompositorAnimation object.
+ // Takes ownership of the WebAnimation 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;
+ virtual void removeAnimation(int animationId, WebAnimation::TargetProperty) = 0;
// Pauses all animations with the given id.
virtual void pauseAnimation(int animationId, double timeOffset) = 0;
« no previous file with comments | « public/platform/WebFloatAnimationCurve.h ('k') | public/platform/WebScrollOffsetAnimationCurve.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698