summaryrefslogtreecommitdiffstats
path: root/chrome/browser/speech
Commit message (Collapse)AuthorAgeFilesLines
* Support for multiple speech enabled elements in same page.satish@chromium.org2010-08-178-101/+139
| | | | | | | | | | | | | | | This is the chromium side of https://bugs.webkit.org/show_bug.cgi?id=43922. For all speech input requests WebKit now sends a 'requestId' which identifies the input element within the page. This requestId is returned back to WebKit in all the speech input callbacks/events. Within chromium, the pair (render view id, request id) uniquely identifies a caller and we introduce the SpeechInputCallerId to hold this data. All code which was previously using render view id now uses this caller id. Once this is working fully on both ends I'll add relevant browser tests. BUG=none TEST=manually Review URL: http://codereview.chromium.org/3130018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56333 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 56006 - Revert 56002 - Adds SpeechInputManagerImpl to handle requests ↵satorux@chromium.org2010-08-134-16/+107
| | | | | | | | | | | | | | | | | | | | | | | from render views and return recognition events. Confirmed that r56002 was not guilty. This CL depends on http://codereview.chromium.org/3124009 going in first for the SpeechRecognizer class. Also renamed SpeechInputManager::Listener to Delegate to be consistent with Chromium terminology. TEST=manually, open a webpage containing an <input speech> tag and click on the speech button to test. BUG=none Review URL: http://codereview.chromium.org/3108007 TBR=satish@chromium.org Review URL: http://codereview.chromium.org/3184001 TBR=satorux@chromium.org Review URL: http://codereview.chromium.org/3167011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56007 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 56002 - Adds SpeechInputManagerImpl to handle requests from render ↵satorux@chromium.org2010-08-134-107/+16
| | | | | | | | | | | | | | | | | views and return recognition events. This CL depends on http://codereview.chromium.org/3124009 going in first for the SpeechRecognizer class. Also renamed SpeechInputManager::Listener to Delegate to be consistent with Chromium terminology. TEST=manually, open a webpage containing an <input speech> tag and click on the speech button to test. BUG=none Review URL: http://codereview.chromium.org/3108007 TBR=satish@chromium.org Review URL: http://codereview.chromium.org/3184001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56006 0039d316-1c4b-4281-b951-d872f2087c98
* Adds SpeechInputManagerImpl to handle requests from render views and return ↵satish@chromium.org2010-08-134-16/+107
| | | | | | | | | | | | | | recognition events. This CL depends on http://codereview.chromium.org/3124009 going in first for the SpeechRecognizer class. Also renamed SpeechInputManager::Listener to Delegate to be consistent with Chromium terminology. TEST=manually, open a webpage containing an <input speech> tag and click on the speech button to test. BUG=none Review URL: http://codereview.chromium.org/3108007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56002 0039d316-1c4b-4281-b951-d872f2087c98
* Adds SpeechRecognizer which provides a simple interface to record and ↵satish@chromium.org2010-08-123-0/+446
| | | | | | | | | | | | recognize speech. Also added a unit test for checking the callbacks fire as expected. TEST=unit_tests --gtest_filter=SpeechRecognizerTest.* BUG=none Review URL: http://codereview.chromium.org/3124009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55918 0039d316-1c4b-4281-b951-d872f2087c98
* Address Andrei's comments from CL 3164002satish@chromium.org2010-08-111-1/+5
| | | | | | | | | TEST=none BUG=none Review URL: http://codereview.chromium.org/3163004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55705 0039d316-1c4b-4281-b951-d872f2087c98
* FBTF: Clean up some headers in tab_contents_delegate.h.erg@google.com2010-08-101-0/+1
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/3145001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55635 0039d316-1c4b-4281-b951-d872f2087c98
* Adds SpeechRecognitionRequest class for sending recorded audio data to ↵satish@chromium.org2010-08-103-0/+297
| | | | | | | | | | | | | server and parse response. Also added a unit test. This code will be used in upcoming CLs for speech input. TEST=unit_tests --gtest_filter=SpeechRecognitionRequestTest.* BUG=none Review URL: http://codereview.chromium.org/3164002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55611 0039d316-1c4b-4281-b951-d872f2087c98
* Disable SpeechInputBrowserTest.TestBasicRecognition.jianli@chromium.org2010-08-051-1/+1
| | | | | | | | | | BUG=51337 TEST=none TBR=satish Review URL: http://codereview.chromium.org/3069032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55149 0039d316-1c4b-4281-b951-d872f2087c98
* Adds chromium side plumbing to pass speech input calls back and forth with ↵satish@chromium.org2010-08-045-0/+325
| | | | | | | | | | | | | | | | | WebKit. Please advise if any of the code needs to be within "#if ENABLE_INPUT_SPEECH", since most of the speech input code in webkit is under "#if ENABLE(INPUT_SPEECH)" - Created renderer/SpeechInputDispatcher, implements WebKit::WebSpeechInputController which is used by WebView for invoking speech input. - Created browser/speech/SpeechInputDispatcherHost to receive IPC messages from the above SpeechInputDispatcher. Nothing done yet apart from receiving the messages. - Creates new directory chrome/browser/speech, this will be used for SpeechInputDispatcherHost, network based speech recognizer, speech audio recording/buffering code as well as speech output (Text-to-speech) code in future. BUG=none TEST=no functionality to test yet. Review URL: http://codereview.chromium.org/3035035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54981 0039d316-1c4b-4281-b951-d872f2087c98
* Add --enable-speech-input switch and set ENABLE_INPUT_SPEECH=1satish@chromium.org2010-07-301-0/+36
| | | | | | | | | | | | | | | | | | 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
* Revert "Add --enable-speech-input switch and set ENABLE_INPUT_SPEECH=1"evan@chromium.org2010-07-301-36/+0
| | | | | | This reverts commit r54235. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54249 0039d316-1c4b-4281-b951-d872f2087c98
* Add --enable-speech-input switch and set ENABLE_INPUT_SPEECH=1satish@chromium.org2010-07-301-0/+36
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.* Review URL: http://codereview.chromium.org/3064017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54235 0039d316-1c4b-4281-b951-d872f2087c98