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

Unified Diff: chrome/browser/ui/tabs/tab_utils.h

Issue 11573066: Add a method to tab_utils.h to find out whether a tab is playing audio. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 8 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: chrome/browser/ui/tabs/tab_utils.h
diff --git a/chrome/browser/ui/tabs/tab_utils.h b/chrome/browser/ui/tabs/tab_utils.h
index aef6c4ee779ca4c00cff20568c6e413284b28167..aca9cfc9327435e9a45f791ebc11ee187fc88028 100644
--- a/chrome/browser/ui/tabs/tab_utils.h
+++ b/chrome/browser/ui/tabs/tab_utils.h
@@ -17,6 +17,9 @@ bool ShouldShowProjectingIndicator(content::WebContents* contents);
// Returns whether we should show a recording favicon indicator for this tab.
bool ShouldShowRecordingIndicator(content::WebContents* contents);
+// Returns whether we should show an audio favicon indicator for this tab.
+bool ShouldShowAudioIndicator(content::WebContents* contents);
+
} // namespace chrome
#endif // CHROME_BROWSER_UI_TABS_TAB_UTILS_H_

Powered by Google App Engine
This is Rietveld 408576698