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

Unified Diff: views/widget/root_view_gtk.cc

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/root_view.cc ('k') | views/widget/root_view_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/widget/root_view_gtk.cc
===================================================================
--- views/widget/root_view_gtk.cc (revision 75181)
+++ views/widget/root_view_gtk.cc (working copy)
@@ -66,20 +66,4 @@
}
}
-void RootView::StartDragForViewFromMouseEvent(
- View* view,
- const OSExchangeData& data,
- int operation) {
- // NOTE: view may be null.
- drag_view_ = view;
- static_cast<WidgetGtk*>(GetWidget())->DoDrag(data, operation);
- // If the view is removed during the drag operation, drag_view_ is set to
- // NULL.
- if (view && drag_view_ == view) {
- View* drag_view = drag_view_;
- drag_view_ = NULL;
- drag_view->OnDragDone();
- }
}
-
-}
« no previous file with comments | « views/widget/root_view.cc ('k') | views/widget/root_view_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698