Add chrome://flags entry for --try-supported-channel-layouts
Allows stereo channel expansion for many users. We unfortunately
can't turn it on for everyone due to bugs in third party drive
implementations :( -- see http://crbug.com/259165
Many users have been using this flag diligently for a while now,
but every Chrome update wipes the flag, so make it a chrome://flag
to improve usability for these users.
BUG=479057
TEST=none
Review URL: https://codereview.chromium.org/1129383006
Cr-Commit-Position: refs/heads/master@{#329662}
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index edb9981..6345ce4c 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -2444,7 +2444,16 @@
ENABLE_DISABLE_VALUE_TYPE_AND_VALUE(
switches::kEnableBlinkFeatures, "ScrollTopLeftInterop",
switches::kDisableBlinkFeatures, "ScrollTopLeftInterop")
- }
+ },
+#if defined(OS_WIN)
+ {
+ "try-supported-channel-layouts",
+ IDS_FLAGS_TRY_SUPPORTED_CHANNEL_LAYOUTS_NAME,
+ IDS_FLAGS_TRY_SUPPORTED_CHANNEL_LAYOUTS_DESCRIPTION,
+ kOsWin,
+ SINGLE_VALUE_TYPE(switches::kTrySupportedChannelLayouts)
+ },
+#endif
// NOTE: Adding new command-line switches requires adding corresponding
// entries to enum "LoginCustomFlags" in histograms.xml. See note in
// histograms.xml and don't forget to run AboutFlagsHistogramTest unit test.