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

Unified Diff: ui/base/dragdrop/drag_utils.h

Issue 2750253002: Reland 4e4eae4cbe6136b538a: Make download item drags look like bookmark (Closed)
Patch Set: with fix Created 3 years, 9 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
Index: ui/base/dragdrop/drag_utils.h
diff --git a/ui/base/dragdrop/drag_utils.h b/ui/base/dragdrop/drag_utils.h
index d9382161726aec398ed720e691d29d11159668d4..845ebbc5217d8697773152e9e57dba71a0709288 100644
--- a/ui/base/dragdrop/drag_utils.h
+++ b/ui/base/dragdrop/drag_utils.h
@@ -19,18 +19,9 @@ class Vector2d;
namespace ui {
class OSExchangeData;
}
-using ui::OSExchangeData;
namespace drag_utils {
-// Creates a dragging image to be displayed when the user drags a file from
-// Chrome (via the download manager, for example). The drag image is set into
-// the supplied data_object. |file_name| can be a full path, but the directory
-// portion will be truncated in the drag image. |icon| can be empty.
-UI_BASE_EXPORT void CreateDragImageForFile(const base::FilePath& file_name,
- const gfx::ImageSkia& icon,
- ui::OSExchangeData* data_object);
-
// Sets the drag image on data_object from the supplied canvas.
// |cursor_offset| gives the location of the hotspot for the drag image.
UI_BASE_EXPORT void SetDragImageOnDataObject(const gfx::Canvas& canvas,

Powered by Google App Engine
This is Rietveld 408576698