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

Unified Diff: cc/layer_animation_controller.h

Issue 11308153: Migrate most of cc/ from WebKit::WebTransformationMatrix to gfx::Transform (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased to tip of tree and addressed feedback Created 8 years, 1 month 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
Index: cc/layer_animation_controller.h
diff --git a/cc/layer_animation_controller.h b/cc/layer_animation_controller.h
index 3bf878c04c9d8f9bdfb7f67583769d286c122970..be55afe38105cf46cf142caa893665f5254e3567 100644
--- a/cc/layer_animation_controller.h
+++ b/cc/layer_animation_controller.h
@@ -12,8 +12,8 @@
#include "cc/cc_export.h"
#include "cc/scoped_ptr_vector.h"
-namespace WebKit {
-class WebTransformationMatrix;
+namespace gfx {
+class Transform;
}
namespace cc {
@@ -28,8 +28,8 @@ public:
virtual int id() const = 0;
virtual void setOpacityFromAnimation(float) = 0;
virtual float opacity() const = 0;
- virtual void setTransformFromAnimation(const WebKit::WebTransformationMatrix&) = 0;
- virtual const WebKit::WebTransformationMatrix& transform() const = 0;
+ virtual void setTransformFromAnimation(const gfx::Transform&) = 0;
+ virtual const gfx::Transform& transform() const = 0;
};
class CC_EXPORT LayerAnimationController {

Powered by Google App Engine
This is Rietveld 408576698