fix: window menu should handle keys correctly (#21434)
* fix: overriding AccessiblePaneView's methods * chore: add CL link
This commit is contained in:
parent
ec0edb757a
commit
a6d142a112
3 changed files with 35 additions and 3 deletions
|
@ -71,6 +71,8 @@ class MenuBar : public views::AccessiblePaneView,
|
|||
|
||||
// views::AccessiblePaneView:
|
||||
bool AcceleratorPressed(const ui::Accelerator& accelerator) override;
|
||||
bool SetPaneFocus(views::View* initial_focus) override;
|
||||
void RemovePaneFocus() override;
|
||||
|
||||
protected:
|
||||
// views::View:
|
||||
|
@ -82,9 +84,6 @@ class MenuBar : public views::AccessiblePaneView,
|
|||
const ui::Event* event) override;
|
||||
void OnThemeChanged() override;
|
||||
|
||||
bool SetPaneFocus(views::View* initial_focus);
|
||||
void RemovePaneFocus();
|
||||
|
||||
private:
|
||||
friend class MenuBarColorUpdater;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue