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 f88d2aadce0a3458253775a3d21c690d01b40385..8ffb3f1d15ebaa70e062d1e18444d63b8a318c6a 100644 |
--- a/ui/views/controls/menu/menu_runner.h |
+++ b/ui/views/controls/menu/menu_runner.h |
@@ -85,6 +85,10 @@ class VIEWS_EXPORT MenuRunner { |
// the caller is responsible for closing the menu upon completion of the |
// drag-and-drop. |
NESTED_DRAG = 1 << 5, |
+ |
+ // Menu with fixed anchor position, so |MenuRunner| will not attempt to |
+ // figure out it. For example the context menu of shelf item. |
msw
2017/05/11 17:13:40
nit: s/figure out it/adjust the anchor point/
minch1
2017/05/11 20:48:29
Done.
|
+ FIXED_ANCHOR = 1 << 6, |
}; |
// Creates a new MenuRunner, which may use a native menu if available. |