Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(64)

Unified Diff: ui/views/controls/menu/menu_controller.h

Issue 1775533002: Fixes incorrect clearing of hot-tracked state when context menu is opened from a menu item (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moves hot_button tracking from MenuController to MenuItemView Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ui/views/controls/menu/menu_controller.cc » ('j') | ui/views/controls/menu/menu_controller.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 3741f762a975dab3f5a1b4662e7df6bca23f1e9a..a5eb56910ece0cebf7064b2f7f0192f4e01b6b7d 100644
--- a/ui/views/controls/menu/menu_controller.h
+++ b/ui/views/controls/menu/menu_controller.h
@@ -558,9 +558,6 @@ class VIEWS_EXPORT MenuController : public WidgetObserver {
void SetInitialHotTrackedView(MenuItemView* item,
SelectionIncrementDirectionType direction);
- // Updates the current |hot_button_| and its hot tracked state.
- void SetHotTrackedButton(CustomButton* hot_button);
-
// The active instance.
static MenuController* active_instance_;
@@ -659,9 +656,6 @@ class VIEWS_EXPORT MenuController : public WidgetObserver {
// See UpdateActiveMouseView() for details.
const int active_mouse_view_id_;
- // Current hot tracked child button if any.
- CustomButton* hot_button_;
-
internal::MenuControllerDelegate* delegate_;
// How deep we are in nested message loops. This should be at most 2 (when
« no previous file with comments | « no previous file | ui/views/controls/menu/menu_controller.cc » ('j') | ui/views/controls/menu/menu_controller.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698