views: Show menubar's submenu when "Alt+Key" is pressed.
This commit is contained in:
parent
e9536508a5
commit
ba41634ad6
5 changed files with 39 additions and 8 deletions
|
@ -34,6 +34,9 @@ class MenuBar : public views::View,
|
|||
// Shows underline under accelerators.
|
||||
void SetAcceleratorVisibility(bool visible);
|
||||
|
||||
// Shows the submenu whose accelerator is |key|.
|
||||
void ActivateAccelerator(base::char16 key);
|
||||
|
||||
// Returns there are how many items in the root menu.
|
||||
int GetItemCount() const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue