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

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

Issue 413323002: Resubmit: Open the WrenchMenu on mouseover when dragging a browser action (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix 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_runner.h
diff --git a/ui/views/controls/menu/menu_runner.h b/ui/views/controls/menu/menu_runner.h
index 3eb2cc1317aaec9c593e0e8e1144e8c4455bc8da..1744c93cb70b4eaecd121ff69f2cdc120e8e867a 100644
--- a/ui/views/controls/menu/menu_runner.h
+++ b/ui/views/controls/menu/menu_runner.h
@@ -82,6 +82,12 @@ class VIEWS_EXPORT MenuRunner {
// The menu should behave like a Windows native Combobox dropdow menu.
// This behavior includes accepting the pending item and closing on F4.
COMBOBOX = 1 << 4,
+
+ // A child view is performing a drag-and-drop operation, so the menu should
+ // stay open (even if it doesn't receive drag updated events). In this case,
+ // the caller is responsible for closing the menu upon completion of the
+ // drag-and-drop.
+ NESTED_DRAG = 1 << 5,
};
enum RunResult {

Powered by Google App Engine
This is Rietveld 408576698