Index: content/browser/web_contents/web_contents_impl.h |
diff --git a/content/browser/web_contents/web_contents_impl.h b/content/browser/web_contents/web_contents_impl.h |
index 665695d83390938503db2fe74338ad52b1151be5..89420e5f5dd3d25b6f4590fd654010000887a659 100644 |
--- a/content/browser/web_contents/web_contents_impl.h |
+++ b/content/browser/web_contents/web_contents_impl.h |
@@ -247,7 +247,8 @@ class CONTENT_EXPORT WebContentsImpl |
void DecrementCapturerCount() override; |
int GetCapturerCount() const override; |
bool IsAudioMuted() const override; |
- void SetAudioMuted(bool mute) override; |
+ void SetAudioMuted(bool muted, const std::string& cause) override; |
+ const std::string& GetAudioMutedCause() const override; |
bool IsCrashed() const override; |
void SetIsCrashed(base::TerminationStatus status, int error_code) override; |
base::TerminationStatus GetCrashedStatus() const override; |
@@ -1076,6 +1077,9 @@ class CONTENT_EXPORT WebContentsImpl |
// to modify the blank page. Always false after the first commit. |
bool has_accessed_initial_document_; |
+ // Source (initial, user, capture, extensionid) for the tab's muted state |
+ std::string mutedToggleCause_; |
miu
2014/12/20 03:42:38
style (underscores, not camel case): This should b
|
+ |
// Data for misc internal state ---------------------------------------------- |
// When > 0, the WebContents is currently being captured (e.g., for |