views: Show menubar's accelerator when "Alt" is pressed.
This commit is contained in:
parent
965f2b1b6b
commit
e9536508a5
5 changed files with 30 additions and 1 deletions
|
@ -31,6 +31,9 @@ class MenuBar : public views::View,
|
|||
// Replaces current menu with a new one.
|
||||
void SetMenu(ui::MenuModel* menu_model);
|
||||
|
||||
// Shows underline under accelerators.
|
||||
void SetAcceleratorVisibility(bool visible);
|
||||
|
||||
// Returns there are how many items in the root menu.
|
||||
int GetItemCount() const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue