Chromium Code Reviews| Index: ui/base/dragdrop/drag_utils.h |
| diff --git a/ui/base/dragdrop/drag_utils.h b/ui/base/dragdrop/drag_utils.h |
| index c2bf02c84d5ee70d8999a6c741cb479335f351b1..1f84d90cb748d4e86e6d552dc0a63695742324c5 100644 |
| --- a/ui/base/dragdrop/drag_utils.h |
| +++ b/ui/base/dragdrop/drag_utils.h |
| @@ -15,8 +15,8 @@ class GURL; |
| namespace gfx { |
| class Canvas; |
| class ImageSkia; |
| -class Point; |
| class Size; |
| +class Vector2d; |
| } |
| namespace ui { |
| @@ -39,7 +39,7 @@ UI_EXPORT void CreateDragImageForFile(const FilePath& file_name, |
| // the hotspot for the drag image. |
| UI_EXPORT void SetDragImageOnDataObject(const gfx::Canvas& canvas, |
| const gfx::Size& size, |
| - const gfx::Point& cursor_offset, |
| + const gfx::Vector2d& cursor_offset, |
|
danakj
2012/10/26 23:30:34
I think this change was maybe a bad idea, this sho
|
| ui::OSExchangeData* data_object); |
| // Sets the drag image on data_object from the supplied ImageSkia. width/height |
| @@ -47,7 +47,7 @@ UI_EXPORT void SetDragImageOnDataObject(const gfx::Canvas& canvas, |
| // the hotspot for the drag image. |
| UI_EXPORT void SetDragImageOnDataObject(const gfx::ImageSkia& image_skia, |
| const gfx::Size& size, |
| - const gfx::Point& cursor_offset, |
| + const gfx::Vector2d& cursor_offset, |
| ui::OSExchangeData* data_object); |
| } // namespace drag_utils |