Index: views/widget/widget.h |
=================================================================== |
--- views/widget/widget.h (revision 19992) |
+++ views/widget/widget.h (working copy) |
@@ -20,6 +20,7 @@ |
class FocusManager; |
class RootView; |
class TooltipManager; |
+class View; |
class Window; |
//////////////////////////////////////////////////////////////////////////////// |
@@ -96,6 +97,11 @@ |
return NULL; |
} |
+ // Starts a drag operation for the specified view. |point| is a position in |
+ // |view| coordinates that the drag was initiated from. |
+ virtual void GenerateMousePressedForView(View* view, |
+ const gfx::Point& point) = 0; |
+ |
// Returns the accelerator given a command id. Returns false if there is |
// no accelerator associated with a given id, which is a common condition. |
virtual bool GetAccelerator(int cmd_id, |