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 { |