summaryrefslogtreecommitdiffstats
path: root/views/drag_utils.h
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-15 07:37:29 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-15 07:37:29 +0000
commit82522511b7921e8c61742ebd80a4c674c56e7e48 (patch)
tree381d71de2b9c7b99675e6f2b4523ae0876c72ce8 /views/drag_utils.h
parent631cf822bd6e64cf469544b42c9975f5602c29a6 (diff)
downloadchromium_src-82522511b7921e8c61742ebd80a4c674c56e7e48.zip
chromium_src-82522511b7921e8c61742ebd80a4c674c56e7e48.tar.gz
chromium_src-82522511b7921e8c61742ebd80a4c674c56e7e48.tar.bz2
ChromeCanvas->gfx::Canvas
Rename files too. TBR=brettw http://crbug.com/11387 Review URL: http://codereview.chromium.org/113443 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16148 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/drag_utils.h')
-rw-r--r--views/drag_utils.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/views/drag_utils.h b/views/drag_utils.h
index 22855cfa..5cf68af8 100644
--- a/views/drag_utils.h
+++ b/views/drag_utils.h
@@ -8,7 +8,9 @@
#include <objidl.h>
#include <string>
-class ChromeCanvas;
+namespace gfx {
+class Canvas;
+}
class GURL;
class OSExchangeData;
class SkBitmap;
@@ -33,7 +35,7 @@ void CreateDragImageForFile(const std::wstring& file_name,
// Sets the drag image on data_object from the supplied canvas. width/height
// are the size of the image to use, and the offsets give the location of
// the hotspot for the drag image.
-void SetDragImageOnDataObject(const ChromeCanvas& canvas,
+void SetDragImageOnDataObject(const gfx::Canvas& canvas,
int width,
int height,
int cursor_x_offset,