| Index: ui/views/drag_controller.h
|
| diff --git a/ui/views/drag_controller.h b/ui/views/drag_controller.h
|
| index eace6a9839bc8c19c442abdc93c69ed57f9ed5a0..601a5a37ed03c808732989b5cec7e8adcea762b2 100644
|
| --- a/ui/views/drag_controller.h
|
| +++ b/ui/views/drag_controller.h
|
| @@ -25,20 +25,19 @@ class VIEWS_EXPORT DragController {
|
| public:
|
| // Writes the data for the drag.
|
| virtual void WriteDragDataForView(View* sender,
|
| - const gfx::Point& press_pt,
|
| + const gfx::PointF& press_pt,
|
| ui::OSExchangeData* data) = 0;
|
|
|
| // Returns the supported drag operations (see DragDropTypes for possible
|
| // values). A drag is only started if this returns a non-zero value.
|
| - virtual int GetDragOperationsForView(View* sender,
|
| - const gfx::Point& p) = 0;
|
| + virtual int GetDragOperationsForView(View* sender, const gfx::PointF& p) = 0;
|
|
|
| // Returns true if a drag operation can be started.
|
| // |press_pt| represents the coordinates where the mouse was initially
|
| // pressed down. |p| is the current mouse coordinates.
|
| virtual bool CanStartDragForView(View* sender,
|
| - const gfx::Point& press_pt,
|
| - const gfx::Point& p) = 0;
|
| + const gfx::PointF& press_pt,
|
| + const gfx::PointF& p) = 0;
|
|
|
| protected:
|
| virtual ~DragController() {}
|
|
|