Index: chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc |
=================================================================== |
--- chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc (revision 184139) |
+++ chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc (working copy) |
@@ -455,6 +455,11 @@ |
data->capture_state = TabRendererData::CAPTURE_STATE_RECORDING; |
else |
data->capture_state = TabRendererData::CAPTURE_STATE_NONE; |
+ |
+ if (chrome::IsPlayingAudio(contents)) |
+ data->audio_state = TabRendererData::AUDIO_STATE_PLAYING; |
+ else |
+ data->audio_state = TabRendererData::AUDIO_STATE_NONE; |
} |
void BrowserTabStripController::SetTabDataAt(content::WebContents* web_contents, |