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_ |