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

Unified Diff: views/drag_utils.h

Issue 113954: Refactors drag_utils. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 7 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 | « no previous file | views/drag_utils.cc » ('j') | views/drag_utils_gtk.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/drag_utils.h
===================================================================
--- views/drag_utils.h (revision 17077)
+++ views/drag_utils.h (working copy)
@@ -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 @@
// 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 @@
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_
« no previous file with comments | « no previous file | views/drag_utils.cc » ('j') | views/drag_utils_gtk.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698