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
|
@ -117,6 +117,7 @@ class WebContents : public mate::TrackableObject<WebContents>,
|
|||
void InspectServiceWorker();
|
||||
void HasServiceWorker(const base::Callback<void(bool)>&);
|
||||
void UnregisterServiceWorker(const base::Callback<void(bool)>&);
|
||||
void SetIgnoreMenuShortcuts(bool ignore);
|
||||
void SetAudioMuted(bool muted);
|
||||
bool IsAudioMuted();
|
||||
void Print(mate::Arguments* args);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue