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

Unified Diff: chrome/browser/ui/views/tabs/tab_renderer_data.h

Issue 12328027: Audio indicator in each tab (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/views/tabs/tab.cc ('k') | chrome/browser/ui/views/tabs/tab_renderer_data.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/tabs/tab_renderer_data.h
===================================================================
--- chrome/browser/ui/views/tabs/tab_renderer_data.h (revision 184139)
+++ chrome/browser/ui/views/tabs/tab_renderer_data.h (working copy)
@@ -29,6 +29,13 @@
CAPTURE_STATE_PROJECTING
};
+ // Audio playing state of this tab. If muting is added this is where it
+ // should go.
+ enum AudioState {
+ AUDIO_STATE_NONE,
+ AUDIO_STATE_PLAYING
+ };
+
TabRendererData();
~TabRendererData();
@@ -56,6 +63,7 @@
bool blocked;
bool app;
CaptureState capture_state;
+ AudioState audio_state;
};
#endif // CHROME_BROWSER_UI_VIEWS_TABS_TAB_RENDERER_DATA_H_
« no previous file with comments | « chrome/browser/ui/views/tabs/tab.cc ('k') | chrome/browser/ui/views/tabs/tab_renderer_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698