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

Unified Diff: ui/views/controls/menu/menu_host.h

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
Index: ui/views/controls/menu/menu_host.h
diff --git a/ui/views/controls/menu/menu_host.h b/ui/views/controls/menu/menu_host.h
index e38cab52b7d657c18d6f2fb03111797137f83d63..a1a2281e44d392017546fcd89da324a9484ee42d 100644
--- a/ui/views/controls/menu/menu_host.h
+++ b/ui/views/controls/menu/menu_host.h
@@ -60,6 +60,8 @@ class MenuHost : public Widget {
virtual void OnMouseCaptureLost() OVERRIDE;
virtual void OnNativeWidgetDestroyed() OVERRIDE;
virtual void OnOwnerClosing() OVERRIDE;
+ virtual void OnDragWillStart() OVERRIDE;
+ virtual void OnDragComplete(View* dragged_view) OVERRIDE;
// The view we contain.
SubmenuView* submenu_;

Powered by Google App Engine
This is Rietveld 408576698