HandleMouseDown is deprecated
This commit is contained in:
parent
b202bba2e6
commit
e233eab4f2
3 changed files with 4 additions and 3 deletions
|
@ -840,7 +840,8 @@ void NativeWindowViews::GetDevToolsWindowWMClass(
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
void NativeWindowViews::HandleMouseDown() {
|
void NativeWindowViews::ActivateContents(content::WebContents* contents) {
|
||||||
|
NativeWindow::ActivateContents(contents);
|
||||||
// Hide menu bar when web view is clicked.
|
// Hide menu bar when web view is clicked.
|
||||||
if (menu_bar_autohide_ && menu_bar_visible_)
|
if (menu_bar_autohide_ && menu_bar_visible_)
|
||||||
SetMenuBarVisibility(false);
|
SetMenuBarVisibility(false);
|
||||||
|
|
|
@ -125,7 +125,7 @@ class NativeWindowViews : public NativeWindow,
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// content::WebContentsDelegate:
|
// content::WebContentsDelegate:
|
||||||
void HandleMouseDown() override;
|
void ActivateContents(content::WebContents* contents) override;
|
||||||
void HandleKeyboardEvent(
|
void HandleKeyboardEvent(
|
||||||
content::WebContents*,
|
content::WebContents*,
|
||||||
const content::NativeWebKeyboardEvent& event) override;
|
const content::NativeWebKeyboardEvent& event) override;
|
||||||
|
|
2
vendor/brightray
vendored
2
vendor/brightray
vendored
|
@ -1 +1 @@
|
||||||
Subproject commit 7addcd81c6af25691b09c27bd461d63176eb6b87
|
Subproject commit 748e5b922456f352a7cc54c0705d0a997f926a18
|
Loading…
Reference in a new issue