Chromium Code Reviews| 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 2e9a133ad1348f8f448d9d2d4183b89455971db9..acfaa32ce9a43f029b05f13db6a3f930e0466b03 100644 |
| --- a/ui/views/controls/menu/menu_runner.h |
| +++ b/ui/views/controls/menu/menu_runner.h |
| @@ -97,6 +97,12 @@ class VIEWS_EXPORT MenuRunner { |
| MenuItemView::AnchorPosition anchor, |
| int32 types) WARN_UNUSED_RESULT; |
| + RunResult RunContextMenuAt(Widget* parent, |
|
sky
2013/06/13 19:54:53
We already have RunTypes::CONTEXT_MENU, so we don'
varunjain
2013/06/13 20:26:43
The requirement here is to identify, 1) if its a c
|
| + MenuButton* button, |
| + const gfx::Rect& bounds, |
| + ui::ContextMenuSourceType source, |
| + int32 types) WARN_UNUSED_RESULT; |
| + |
| // Returns true if we're in a nested message loop running the menu. |
| bool IsRunning() const; |