summaryrefslogtreecommitdiffstats
path: root/views/drag_utils.h
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-28 17:53:36 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-28 17:53:36 +0000
commit9941f620af64aafe096b2c6ba5fcebd03d50031d (patch)
treef77f140accb0765ca6049406b1f498f56d53f85e /views/drag_utils.h
parent540bea826a8942aafaed9e1318e2e3065b0a4ba7 (diff)
downloadchromium_src-9941f620af64aafe096b2c6ba5fcebd03d50031d.zip
chromium_src-9941f620af64aafe096b2c6ba5fcebd03d50031d.tar.gz
chromium_src-9941f620af64aafe096b2c6ba5fcebd03d50031d.tar.bz2
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
Diffstat (limited to 'views/drag_utils.h')
-rw-r--r--views/drag_utils.h6
1 files changed, 2 insertions, 4 deletions
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 <objidl.h>
#include <string>
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_