Patch OnWebNotificationAllowed to mark notifications as silent in muted WebContents

This commit is contained in:
Samuel Attard 2016-07-02 13:26:58 +12:00
parent 6140fb2b14
commit f7a8aa12ac
2 changed files with 11 additions and 1 deletions

View file

@ -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(