Added flag for Voice search on the local NTP.
Also adds a small microphone icon shown/hidden
in the fakebox on the local NTP, depending on
the status of the flag.
Bug: 583291
Cq-Include-Trybots: master.tryserver.chromium.linux:closure_compilation
Change-Id: I152f41e55ed78d3c6b6e1aa35ffe623f9f5e9341
Reviewed-on: https://chromium-review.googlesource.com/601927
Commit-Queue: Ondrej Škopek <[email protected]>
Reviewed-by: Marc Treib <[email protected]>
Cr-Commit-Position: refs/heads/master@{#492312}
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 0082e82..b70497b 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -3313,6 +3313,12 @@
FEATURE_VALUE_TYPE(
password_manager::features::kEnableManualFallbacksFilling)},
+#if !defined(OS_ANDROID)
+ {"voice-search-on-local-ntp", flag_descriptions::kVoiceSearchOnLocalNtpName,
+ flag_descriptions::kVoiceSearchOnLocalNtpDescription, kOsDesktop,
+ FEATURE_VALUE_TYPE(features::kVoiceSearchOnLocalNtp)},
+#endif // !defined(OS_ANDROID)
+
// NOTE: Adding new command-line switches requires adding corresponding
// entries to enum "LoginCustomFlags" in histograms/enums.xml. See note in
// enums.xml and don't forget to run AboutFlagsHistogramTest unit test.