fix: read ignoreMenuShortcuts per WebContents (#14538)
This commit is contained in:
parent
1b920c25af
commit
8950caaa85
4 changed files with 21 additions and 16 deletions
|
@ -62,10 +62,6 @@ class CommonWebContentsDelegate
|
|||
|
||||
NativeWindow* owner_window() const { return owner_window_.get(); }
|
||||
|
||||
void set_ignore_menu_shortcuts(bool ignore) {
|
||||
ignore_menu_shortcuts_ = ignore;
|
||||
}
|
||||
|
||||
bool is_html_fullscreen() const { return html_fullscreen_; }
|
||||
|
||||
protected:
|
||||
|
@ -157,7 +153,6 @@ class CommonWebContentsDelegate
|
|||
base::WeakPtr<NativeWindow> owner_window_;
|
||||
|
||||
bool offscreen_ = false;
|
||||
bool ignore_menu_shortcuts_ = false;
|
||||
|
||||
// Whether window is fullscreened by HTML5 api.
|
||||
bool html_fullscreen_ = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue