| 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 1e821367eaa065ea81828ac6aa75df1848496c9f..db4c903c45c87ac8a0f47bf470230b20dc667364 100644
|
| --- a/ui/views/controls/menu/menu_controller.h
|
| +++ b/ui/views/controls/menu/menu_controller.h
|
| @@ -567,6 +567,13 @@ class VIEWS_EXPORT MenuController : public WidgetObserver {
|
| void HandleMouseLocation(SubmenuView* source,
|
| const gfx::Point& mouse_location);
|
|
|
| + // Updates the current |hot_button_| and its hot tracked state.
|
| + void SetHotTrackedButton(CustomButton* hot_button, bool is_hot_tracked);
|
| +
|
| + // Sets hot-tracked state to the first focusable descendant view of |item|.
|
| + void SetInitialHotTrackedView(MenuItemView* item,
|
| + SelectionIncrementDirectionType direction);
|
| +
|
| // The active instance.
|
| static MenuController* active_instance_;
|
|
|
| @@ -665,6 +672,9 @@ class VIEWS_EXPORT MenuController : public WidgetObserver {
|
| // See UpdateActiveMouseView() for details.
|
| const int active_mouse_view_id_;
|
|
|
| + // Current hot tracked view if any.
|
| + CustomButton* hot_button_;
|
| +
|
| internal::MenuControllerDelegate* delegate_;
|
|
|
| // How deep we are in nested message loops. This should be at most 2 (when
|
|
|