fix: Alt+Click should not toggle menu bar (#29318)

This commit is contained in:
Cheng Zhao 2021-06-01 17:42:47 +09:00 committed by GitHub
parent 19dce8caa5
commit 0444d74830
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 10 deletions

View file

@ -224,10 +224,8 @@ class NativeWindowViews : public NativeWindow,
content::WebContents*,
const content::NativeWebKeyboardEvent& event) override;
#if defined(OS_LINUX)
// ui::EventHandler:
void OnMouseEvent(ui::MouseEvent* event) override;
#endif
// Returns the restore state for the window.
ui::WindowShowState GetRestoredState();