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

Unified Diff: ui/gfx/canvas.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/test/test_utils.cc ('k') | ui/gfx/canvas.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/canvas.h
diff --git a/ui/gfx/canvas.h b/ui/gfx/canvas.h
index 8b039fe4baaed920f21e09f88e64d6a28346de58..16d7ae5506d963d4b076ca5ffe6906b5c0b6a45b 100644
--- a/ui/gfx/canvas.h
+++ b/ui/gfx/canvas.h
@@ -17,16 +17,13 @@
class SkBitmap;
-namespace ui {
-class Transform;
-}
-
namespace gfx {
class Rect;
class Font;
class Point;
class Size;
+class Transform;
// Canvas is a SkCanvas wrapper that provides a number of methods for
// common operations used throughout an application built using ui/gfx.
@@ -362,7 +359,7 @@ class UI_EXPORT Canvas {
void EndPlatformPaint();
// Apply transformation on the canvas.
- void Transform(const ui::Transform& transform);
+ void Transform(const gfx::Transform& transform);
// Draws the given string with the beginning and/or the end using a fade
// gradient. When truncating the head
« no previous file with comments | « ui/compositor/test/test_utils.cc ('k') | ui/gfx/canvas.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698