| 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 6d2e5fb0a13d2f6dd1b326c00099634c492d1b69..badd97b5216cc0a6ec832456de92095dbbcbcb0d 100644
|
| --- a/ui/views/controls/menu/menu_controller.h
|
| +++ b/ui/views/controls/menu/menu_controller.h
|
| @@ -136,6 +136,9 @@ class VIEWS_EXPORT MenuController : public MessageLoop::Dispatcher,
|
| // WidgetObserver overrides:
|
| virtual void OnWidgetDestroying(Widget* widget) OVERRIDE;
|
|
|
| + // Only used for testing.
|
| + static void TurnOffContextMenuSelectionHoldForTest();
|
| +
|
| private:
|
| friend class internal::MenuRunnerImpl;
|
| friend class MenuHostRootView;
|
| @@ -567,6 +570,9 @@ class VIEWS_EXPORT MenuController : public MessageLoop::Dispatcher,
|
| // The timestamp of the event which closed the menu - or 0 otherwise.
|
| base::TimeDelta closing_event_time_;
|
|
|
| + // Time when the menu is first shown.
|
| + base::TimeTicks menu_start_time_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(MenuController);
|
| };
|
|
|
|
|