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

Unified Diff: ui/compositor/layer_animation_element.h

Issue 11145005: Migrate ui::Transform to gfx::Transform (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Hopefully should work this time Created 8 years, 2 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 | « ui/compositor/layer_animation_delegate.h ('k') | ui/compositor/layer_animation_element.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/layer_animation_element.h
diff --git a/ui/compositor/layer_animation_element.h b/ui/compositor/layer_animation_element.h
index 870f0054840e4cc2d24c8a98dc9d324ebde9f294..46aedb7750454b166cf8691858c6a19503873569 100644
--- a/ui/compositor/layer_animation_element.h
+++ b/ui/compositor/layer_animation_element.h
@@ -18,7 +18,6 @@ namespace ui {
class InterpolatedTransform;
class LayerAnimationDelegate;
-class Transform;
// LayerAnimationElements represent one segment of an animation between two
// keyframes. They know how to update a LayerAnimationDelegate given a value
@@ -41,7 +40,7 @@ class COMPOSITOR_EXPORT LayerAnimationElement {
explicit TargetValue(const LayerAnimationDelegate* delegate);
gfx::Rect bounds;
- Transform transform;
+ gfx::Transform transform;
float opacity;
bool visibility;
float brightness;
@@ -58,7 +57,7 @@ class COMPOSITOR_EXPORT LayerAnimationElement {
// Creates an element that transitions to the given transform. The caller owns
// the return value.
static LayerAnimationElement* CreateTransformElement(
- const Transform& transform,
+ const gfx::Transform& transform,
base::TimeDelta duration);
// Creates an element that transitions to another in a way determined by an
« no previous file with comments | « ui/compositor/layer_animation_delegate.h ('k') | ui/compositor/layer_animation_element.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698