Index: chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc |
diff --git a/chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc b/chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc |
index ec84d5f045a1f968469a9db0473a98867b61dc52..3f1786ad38e385eb04d2197599be1bd75a147421 100644 |
--- a/chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc |
+++ b/chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc |
@@ -300,6 +300,11 @@ void BrowserTabStripController::CloseTab(int model_index, |
TabStripModel::CLOSE_CREATE_HISTORICAL_TAB); |
} |
+void BrowserTabStripController::ToggleTabAudioMute(int model_index) { |
+ content::WebContents* const contents = model_->GetWebContentsAt(model_index); |
+ chrome::SetTabAudioMuted(contents, !chrome::IsTabAudioMuted(contents)); |
+} |
+ |
void BrowserTabStripController::ShowContextMenuForTab( |
Tab* tab, |
const gfx::Point& p, |