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

Unified Diff: ui/views/widget/widget.cc

Issue 378333003: Allow menus to stay open during a child view's drag and drop (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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
« ui/views/widget/widget.h ('K') | « ui/views/widget/widget.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/widget.cc
diff --git a/ui/views/widget/widget.cc b/ui/views/widget/widget.cc
index fdcb32af915e97a73fead05becf0ac0c83dece35..3ccb69b5570bba07e033a5a4a4cd0b93a5ea8706 100644
--- a/ui/views/widget/widget.cc
+++ b/ui/views/widget/widget.cc
@@ -794,6 +794,7 @@ void Widget::RunShellDrag(View* view,
dragged_view_ = NULL;
view->OnDragDone();
}
+ OnDragComplete();
}
void Widget::SchedulePaintInRect(const gfx::Rect& rect) {
@@ -1395,6 +1396,9 @@ void Widget::DestroyRootView() {
input_method_.reset();
}
+void Widget::OnDragComplete() {
+}
+
////////////////////////////////////////////////////////////////////////////////
// Widget, private:
« ui/views/widget/widget.h ('K') | « ui/views/widget/widget.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698