views: Pressing "Alt+Key" should bring up the menu bar.
This commit is contained in:
parent
ba41634ad6
commit
a230daa998
3 changed files with 25 additions and 9 deletions
|
@ -34,6 +34,10 @@ class MenuBar : public views::View,
|
|||
// Shows underline under accelerators.
|
||||
void SetAcceleratorVisibility(bool visible);
|
||||
|
||||
// Returns which submenu has accelerator |key|, -1 would be returned when
|
||||
// there is no matching submenu.
|
||||
int GetAcceleratorIndex(base::char16 key);
|
||||
|
||||
// Shows the submenu whose accelerator is |key|.
|
||||
void ActivateAccelerator(base::char16 key);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue