Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(60)

Unified Diff: content/public/browser/web_contents.h

Issue 757033005: Make tab audible and muted states and cause available for an extension API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/public/browser/web_contents.h
diff --git a/content/public/browser/web_contents.h b/content/public/browser/web_contents.h
index 5478a378158c5dd4dcacfb8184555724693550dd..206d7af45058f5fcf631400546605af51960ef30 100644
--- a/content/public/browser/web_contents.h
+++ b/content/public/browser/web_contents.h
@@ -308,7 +308,7 @@ class WebContents : public PageNavigator,
// Indicates/Sets whether all audio output from this WebContents is muted.
virtual bool IsAudioMuted() const = 0;
- virtual void SetAudioMuted(bool mute) = 0;
+ virtual void SetAudioMuted(bool muted, const std::string &cause) = 0;
// Indicates whether this tab should be considered crashed. The setter will
// also notify the delegate when the flag is changed.

Powered by Google App Engine
This is Rietveld 408576698