mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
HandleMouseDown is deprecated
This commit is contained in:
@@ -840,7 +840,8 @@ void NativeWindowViews::GetDevToolsWindowWMClass(
|
||||
}
|
||||
#endif
|
||||
|
||||
void NativeWindowViews::HandleMouseDown() {
|
||||
void NativeWindowViews::ActivateContents(content::WebContents* contents) {
|
||||
NativeWindow::ActivateContents(contents);
|
||||
// Hide menu bar when web view is clicked.
|
||||
if (menu_bar_autohide_ && menu_bar_visible_)
|
||||
SetMenuBarVisibility(false);
|
||||
|
||||
@@ -125,7 +125,7 @@ class NativeWindowViews : public NativeWindow,
|
||||
#endif
|
||||
|
||||
// content::WebContentsDelegate:
|
||||
void HandleMouseDown() override;
|
||||
void ActivateContents(content::WebContents* contents) override;
|
||||
void HandleKeyboardEvent(
|
||||
content::WebContents*,
|
||||
const content::NativeWebKeyboardEvent& event) override;
|
||||
|
||||
2
vendor/brightray
vendored
2
vendor/brightray
vendored
Submodule vendor/brightray updated: 7addcd81c6...748e5b9224
Reference in New Issue
Block a user