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

Unified Diff: ui/compositor/layer.h

Issue 11087093: Migrate ui::Transform to gfx::Transform (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: 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
Index: ui/compositor/layer.h
diff --git a/ui/compositor/layer.h b/ui/compositor/layer.h
index f9fcbc9208246dbb3eb655747676951ea4f70368..f446e22f7f9b1dc199211510c4240b34ee0d84fe 100644
--- a/ui/compositor/layer.h
+++ b/ui/compositor/layer.h
@@ -297,7 +297,7 @@ class COMPOSITOR_EXPORT Layer
// Following are invoked from the animation or if no animation exists to
// update the values immediately.
void SetBoundsImmediately(const gfx::Rect& bounds);
- void SetTransformImmediately(const ui::Transform& transform);
+ void SetTransformImmediately(const gfx::Transform& transform);
void SetOpacityImmediately(float opacity);
void SetVisibilityImmediately(bool visibility);
void SetBrightnessImmediately(float brightness);
@@ -337,7 +337,7 @@ class COMPOSITOR_EXPORT Layer
// This layer's children, in bottom-to-top stacking order.
std::vector<Layer*> children_;
- ui::Transform transform_;
+ gfx::Transform transform_;
gfx::Rect bounds_;
« no previous file with comments | « ui/base/animation/tween.cc ('k') | ui/compositor/layer.cc » ('j') | ui/gfx/transform.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698