| Index: ui/views/controls/menu/menu_controller.h
|
| diff --git a/ui/views/controls/menu/menu_controller.h b/ui/views/controls/menu/menu_controller.h
|
| index 4376b7581a5dadd6eb09dfd07dea1ba7f155279e..8f3f054283c2222908cf43e5675890ba7843e911 100644
|
| --- a/ui/views/controls/menu/menu_controller.h
|
| +++ b/ui/views/controls/menu/menu_controller.h
|
| @@ -525,6 +525,10 @@ class VIEWS_EXPORT MenuController : public MessageLoop::Dispatcher {
|
|
|
| internal::MenuControllerDelegate* delegate_;
|
|
|
| + // How deep we are in nested message loops. This should be at most 2 (when
|
| + // showing a context menu from a menu).
|
| + int message_loop_depth_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(MenuController);
|
| };
|
|
|
|
|