Add webContents.setIgnoreMenuShortcuts()
This allows you to disable application menu shortcut handling on a per web contents basis.
This commit is contained in:
parent
3abeb6e2bc
commit
f20f87829b
8 changed files with 60 additions and 18 deletions
|
@ -149,7 +149,8 @@ bool IsDevToolsFileSystemAdded(
|
|||
} // namespace
|
||||
|
||||
CommonWebContentsDelegate::CommonWebContentsDelegate()
|
||||
: html_fullscreen_(false),
|
||||
: ignore_menu_shortcuts_(false),
|
||||
html_fullscreen_(false),
|
||||
native_fullscreen_(false),
|
||||
devtools_file_system_indexer_(new DevToolsFileSystemIndexer) {
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue