From 9941f620af64aafe096b2c6ba5fcebd03d50031d Mon Sep 17 00:00:00 2001 From: "sky@chromium.org" Date: Thu, 28 May 2009 17:53:36 +0000 Subject: Refactors drag_utils. BUG=none TEST=none Review URL: http://codereview.chromium.org/113954 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17080 0039d316-1c4b-4281-b951-d872f2087c98 --- views/drag_utils.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'views/drag_utils.h') diff --git a/views/drag_utils.h b/views/drag_utils.h index 5cf68af8..e04e37e 100644 --- a/views/drag_utils.h +++ b/views/drag_utils.h @@ -5,7 +5,6 @@ #ifndef VIEWS_DRAG_UTILS_H_ #define VIEWS_DRAG_UTILS_H_ -#include #include namespace gfx { @@ -30,7 +29,7 @@ void SetURLAndDragImage(const GURL& url, // portion will be truncated in the drag image. void CreateDragImageForFile(const std::wstring& file_name, SkBitmap* icon, - IDataObject* data_object); + OSExchangeData* data_object); // 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 @@ -40,8 +39,7 @@ void SetDragImageOnDataObject(const gfx::Canvas& canvas, int height, int cursor_x_offset, int cursor_y_offset, - IDataObject* data_object); - + OSExchangeData* data_object); } // namespace drag_utils #endif // #ifndef VIEWS_DRAG_UTILS_H_ -- cgit v1.1