From c8647278668f33fc76900483ecf01ea9f34abde9 Mon Sep 17 00:00:00 2001 From: "satish@chromium.org" Date: Fri, 30 Jul 2010 21:52:57 +0000 Subject: Add --enable-speech-input switch and set ENABLE_INPUT_SPEECH=1 Flip the compile-time enable switch for speech input to on and add a command-line switch to put the functionality behind. The command-line flag will be used both on the Chromium side and in WebKit via WebRuntimeFeatures. This CL depends on the webkit patch https://bugs.webkit.org/show_bug.cgi?id=43146 BUG=none TEST=browser_tests --gtest_filter=SpeechInputEnableSwitchTest.* Originally Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=54235, but reverted due to tests failure. Review URL: http://codereview.chromium.org/3064017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54389 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/common/chrome_switches.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'chrome/common/chrome_switches.cc') diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc index d31eb6d..138f7ae 100644 --- a/chrome/common/chrome_switches.cc +++ b/chrome/common/chrome_switches.cc @@ -379,6 +379,9 @@ const char kEnablePrintPreview[] = "enable-print-preview"; // parameter to indicate if the provider should be the default. const char kEnableSearchProviderApiV2[] = "enable-search-provider-api-v2"; +// Enables speech input. +const char kEnableSpeechInput[] = "enable-speech-input"; + // Enables StatsTable, logging statistics to a global named shared memory table. const char kEnableStatsTable[] = "enable-stats-table"; -- cgit v1.1