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 88b00cc80aaefc60be33c1534db9407cbdc5568c..6e08047a79cefa3215a4a3c9c3edd7591b7a29a6 100644 |
--- a/ui/views/controls/menu/menu_controller.h |
+++ b/ui/views/controls/menu/menu_controller.h |
@@ -557,6 +557,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); |
+ |
+ // 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_; |
@@ -655,6 +662,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 |