Index: views/widget/widget_impl.h |
=================================================================== |
--- views/widget/widget_impl.h (revision 75181) |
+++ views/widget/widget_impl.h (working copy) |
@@ -149,6 +149,10 @@ |
virtual void ViewHierarchyChanged(bool is_add, View *parent, |
View *child); |
virtual bool ContainsNativeView(gfx::NativeView native_view); |
+ virtual void StartDragForViewFromMouseEvent(View* view, |
+ const OSExchangeData& data, |
+ int operation); |
+ virtual View* GetDraggedView(); |
// Causes the Widget to be destroyed immediately. |
void CloseNow(); |
@@ -180,6 +184,10 @@ |
scoped_ptr<FocusManager> focus_manager_; |
+ // Valid for the lifetime of StartDragForViewFromMouseEvent, indicates the |
+ // view the drag started from. NULL at all other times. |
+ View* dragged_view_; |
+ |
DISALLOW_COPY_AND_ASSIGN(WidgetImpl); |
}; |