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

Unified Diff: ui/views/drag_utils.h

Issue 2793133002: ui: Remove SkCanvas methods from drag utils. (Closed)
Patch Set: 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/views/drag_utils.h
diff --git a/ui/views/drag_utils.h b/ui/views/drag_utils.h
index 5f2c5b52316806c5b235a9dd16b2074746e1b232..e6f778e4f3105e01fbc265a0e5ba102436ba544f 100644
--- a/ui/views/drag_utils.h
+++ b/ui/views/drag_utils.h
@@ -10,9 +10,7 @@
#include "ui/views/views_export.h"
namespace gfx {
-class Canvas;
class Point;
-class Size;
}
namespace ui {
@@ -33,11 +31,6 @@ VIEWS_EXPORT void RunShellDrag(gfx::NativeView view,
// native view.
VIEWS_EXPORT float ScaleFactorForDragFromWidget(const Widget* widget);
-// Returns a canvas that can be used to draw the drag image. Caller owns the
-// returned object. |widget| is Widget hosting the view being dragged.
-VIEWS_EXPORT gfx::Canvas* GetCanvasForDragImage(const Widget* widget,
- const gfx::Size& canvas_size);
-
} // namespace views
#endif // UI_VIEWS_DRAG_UTILS_H_

Powered by Google App Engine
This is Rietveld 408576698