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

Side by Side 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: review Created 7 years, 10 months 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_TABS_TAB_UTILS_H_ 5 #ifndef CHROME_BROWSER_UI_TABS_TAB_UTILS_H_
6 #define CHROME_BROWSER_UI_TABS_TAB_UTILS_H_ 6 #define CHROME_BROWSER_UI_TABS_TAB_UTILS_H_
7 7
8 namespace content{ 8 namespace content{
9 class WebContents; 9 class WebContents;
10 } // namespace content 10 } // namespace content
11 11
12 namespace chrome { 12 namespace chrome {
13 13
14 // Returns whether we should show a projecting favicon indicator for this tab. 14 // Returns whether we should show a projecting favicon indicator for this tab.
15 bool ShouldShowProjectingIndicator(content::WebContents* contents); 15 bool ShouldShowProjectingIndicator(content::WebContents* contents);
16 16
17 // Returns whether we should show a recording favicon indicator for this tab. 17 // Returns whether we should show a recording favicon indicator for this tab.
18 bool ShouldShowRecordingIndicator(content::WebContents* contents); 18 bool ShouldShowRecordingIndicator(content::WebContents* contents);
19 19
20 // Returns whether we should show an audio favicon indicator for this tab.
21 bool ShouldShowAudioIndicator(content::WebContents* contents);
22
20 } // namespace chrome 23 } // namespace chrome
21 24
22 #endif // CHROME_BROWSER_UI_TABS_TAB_UTILS_H_ 25 #endif // CHROME_BROWSER_UI_TABS_TAB_UTILS_H_
OLDNEW
« no previous file with comments | « chrome/browser/media/media_capture_devices_dispatcher.cc ('k') | chrome/browser/ui/tabs/tab_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698