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

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

Issue 688523002: [Cocoa] Tab audio mute control, behind a switch (off by default). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Prevent TabStripController from unconditionally causing creation of MediaIndicatorButton. Created 6 years, 2 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
Index: chrome/browser/ui/tabs/tab_utils.cc
diff --git a/chrome/browser/ui/tabs/tab_utils.cc b/chrome/browser/ui/tabs/tab_utils.cc
index b61763f8a1db409d119ec4e4a3e85c757b83b04d..a61996701309b28c8d94d985247a30ef396d64ae 100644
--- a/chrome/browser/ui/tabs/tab_utils.cc
+++ b/chrome/browser/ui/tabs/tab_utils.cc
@@ -234,12 +234,8 @@ base::string16 AssembleTabTooltipText(const base::string16& title,
}
bool IsTabAudioMutingFeatureEnabled() {
-#if defined(USE_AURA)
return base::CommandLine::ForCurrentProcess()->HasSwitch(
switches::kEnableTabAudioMuting);
-#else
- return false;
-#endif
}
bool CanToggleAudioMute(content::WebContents* contents) {

Powered by Google App Engine
This is Rietveld 408576698