Lines Matching refs:menu
21 + // Called when the user moves the mouse outside the menu and over the owning
26 + // true if the menu is displaying a right-to-left language.
30 + // Override the text/background color of a given menu item dependent on the
42 // Called when the menu is about to be shown.
240 diff --git ui/views/controls/menu/menu_controller.cc ui/views/controls/menu/menu_controller.cc
242 --- ui/views/controls/menu/menu_controller.cc
243 +++ ui/views/controls/menu/menu_controller.cc
271 diff --git ui/views/controls/menu/menu_delegate.h ui/views/controls/menu/menu_delegate.h
273 --- ui/views/controls/menu/menu_delegate.h
274 +++ ui/views/controls/menu/menu_delegate.h
279 + // Override the text color of a given menu item dependent on the |command_id|
287 + // Override the background color of a given menu item dependent on the
295 // The tooltip shown for the menu item. This is invoked when the user
303 + // true if the menu is displaying a right-to-left language.
304 + virtual void OnUnhandledOpenSubmenu(MenuItemView* menu, bool is_rtl) {}
305 + virtual void OnUnhandledCloseSubmenu(MenuItemView* menu, bool is_rtl) {}
308 virtual int GetMaxWidthForMenu(MenuItemView* menu);
310 diff --git ui/views/controls/menu/menu_item_view.cc ui/views/controls/menu/menu_item_view.cc
312 --- ui/views/controls/menu/menu_item_view.cc
313 +++ ui/views/controls/menu/menu_item_view.cc
344 diff --git ui/views/controls/menu/menu_model_adapter.cc ui/views/controls/menu/menu_model_adapter.cc
346 --- ui/views/controls/menu/menu_model_adapter.cc
347 +++ ui/views/controls/menu/menu_model_adapter.cc
352 +MenuItemView* MenuModelAdapter::GetSiblingMenu(MenuItemView* menu,
357 + // Look up the menu model for this menu.
359 + menu_map_.find(menu);
369 +void MenuModelAdapter::OnUnhandledOpenSubmenu(MenuItemView* menu,
371 + // Look up the menu model for this menu.
373 + menu_map_.find(menu);
382 +void MenuModelAdapter::OnUnhandledCloseSubmenu(MenuItemView* menu,
384 + // Look up the menu model for this menu.
386 + menu_map_.find(menu);
423 void MenuModelAdapter::WillShowMenu(MenuItemView* menu) {
424 // Look up the menu model for this menu.
426 diff --git ui/views/controls/menu/menu_model_adapter.h ui/views/controls/menu/menu_model_adapter.h
428 --- ui/views/controls/menu/menu_model_adapter.h
429 +++ ui/views/controls/menu/menu_model_adapter.h
434 + MenuItemView* GetSiblingMenu(MenuItemView* menu,
439 + void OnUnhandledOpenSubmenu(MenuItemView* menu, bool is_rtl) override;
440 + void OnUnhandledCloseSubmenu(MenuItemView* menu, bool is_rtl) override;
448 void WillShowMenu(MenuItemView* menu) override;
449 void WillHideMenu(MenuItemView* menu) override;
450 void OnMenuClosed(MenuItemView* menu) override;
451 diff --git ui/views/controls/menu/menu_scroll_view_container.cc ui/views/controls/menu/menu_scroll_…
453 --- ui/views/controls/menu/menu_scroll_view_container.cc
454 +++ ui/views/controls/menu/menu_scroll_view_container.cc