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

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

Issue 2793133002: ui: Remove SkCanvas methods from drag utils. (Closed)
Patch Set: dragutils: . Created 3 years, 8 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 | ui/base/dragdrop/drag_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/dragdrop/drag_utils.h
diff --git a/ui/base/dragdrop/drag_utils.h b/ui/base/dragdrop/drag_utils.h
index 845ebbc5217d8697773152e9e57dba71a0709288..e8916dd3edc3de2ff28f1ed589f0fdac2b3595d0 100644
--- a/ui/base/dragdrop/drag_utils.h
+++ b/ui/base/dragdrop/drag_utils.h
@@ -5,13 +5,9 @@
#ifndef UI_BASE_DRAGDROP_DRAG_UTILS_H_
#define UI_BASE_DRAGDROP_DRAG_UTILS_H_
-#include <string>
-
-#include "base/files/file_path.h"
#include "ui/base/ui_base_export.h"
namespace gfx {
-class Canvas;
class ImageSkia;
class Vector2d;
}
@@ -22,12 +18,6 @@ class OSExchangeData;
namespace drag_utils {
-// 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,
- const gfx::Vector2d& cursor_offset,
- ui::OSExchangeData* data_object);
-
// Sets the drag image on data_object from the supplied ImageSkia.
// |cursor_offset| gives the location of the hotspot for the drag image.
UI_BASE_EXPORT void SetDragImageOnDataObject(const gfx::ImageSkia& image_skia,
« no previous file with comments | « no previous file | ui/base/dragdrop/drag_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698