fix: read ignoreMenuShortcuts per WebContents
This commit is contained in:
parent
dcd580b6cf
commit
13334d023d
4 changed files with 22 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