Patch OnWebNotificationAllowed to mark notifications as silent in muted WebContents
This commit is contained in:
parent
6140fb2b14
commit
f7a8aa12ac
2 changed files with 11 additions and 1 deletions
|
@ -33,6 +33,10 @@ class BrowserClient : public content::ContentBrowserClient {
|
|||
callback.Run(true);
|
||||
}
|
||||
|
||||
virtual bool WebContentsAudioMuted(int render_process_id) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Subclasses that override this (e.g., to provide their own protocol
|
||||
// handlers) should call this implementation after doing their own work.
|
||||
content::BrowserMainParts* CreateBrowserMainParts(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue