summaryrefslogtreecommitdiffstats
path: root/ui/gfx/canvas.h
diff options
context:
space:
mode:
authorshawnsingh@chromium.org <shawnsingh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-14 18:15:35 +0000
committershawnsingh@chromium.org <shawnsingh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-14 18:15:35 +0000
commit0f0453e90e6a85e469e138f048d2c1ae9a80e561 (patch)
treee60da12bc146144f88dea794b5e45c6785c7169e /ui/gfx/canvas.h
parent4addcf3492db52c49f57d168d2bef07c46d411bd (diff)
downloadchromium_src-0f0453e90e6a85e469e138f048d2c1ae9a80e561.zip
chromium_src-0f0453e90e6a85e469e138f048d2c1ae9a80e561.tar.gz
chromium_src-0f0453e90e6a85e469e138f048d2c1ae9a80e561.tar.bz2
Migrate ui::Transform to gfx::Transform
It is more appropriate for Transform class to belong with its fellow geometry classes in the gfx namespace. Review URL: https://chromiumcodereview.appspot.com/11145005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161809 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/gfx/canvas.h')
-rw-r--r--ui/gfx/canvas.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/ui/gfx/canvas.h b/ui/gfx/canvas.h
index 8b039fe..16d7ae5 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