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

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

Issue 399143004: Open the WrenchMenu on mouseover when dragging a browser action (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Nit 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_delegate.h
diff --git a/ui/views/controls/menu/menu_delegate.h b/ui/views/controls/menu/menu_delegate.h
index 6c51d5948b476685f17c7541ed2e1feab6c57517..9a6860e2c45e611dfe35ddbe7ac8ade6f63703c1 100644
--- a/ui/views/controls/menu/menu_delegate.h
+++ b/ui/views/controls/menu/menu_delegate.h
@@ -213,6 +213,10 @@ class VIEWS_EXPORT MenuDelegate {
// Views that are not MenuItemViews.
virtual bool ShouldCloseOnDragComplete();
+ // Returns true if a subview is performing a drag and drop operation, and the
+ // menu shouldn't be closed.
+ virtual bool InNestedDrag();
+
// Notification that the user has highlighted the specified item.
virtual void SelectionChanged(MenuItemView* menu) {
}

Powered by Google App Engine
This is Rietveld 408576698