Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(918)

Unified Diff: views/widget/widget_gtk.h

Issue 6507028: Remove usages of RootView from View by moving relevant RootView API methods t... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « views/widget/widget.h ('k') | views/widget/widget_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/widget/widget_gtk.h
===================================================================
--- views/widget/widget_gtk.h (revision 75181)
+++ views/widget/widget_gtk.h (working copy)
@@ -198,6 +198,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();
// Overridden from FocusTraversable:
virtual FocusSearch* GetFocusSearch();
@@ -451,6 +455,10 @@
// Indicates if we should handle the upcoming Alt key release event.
bool should_handle_menu_key_release_;
+ // Valid for the lifetime of StartDragForViewFromMouseEvent, indicates the
+ // view the drag started from.
+ View* dragged_view_;
+
DISALLOW_COPY_AND_ASSIGN(WidgetGtk);
};
« no previous file with comments | « views/widget/widget.h ('k') | views/widget/widget_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698