summaryrefslogtreecommitdiffstats
path: root/content/public/browser/speech_recognition_session_config.h
Commit message (Collapse)AuthorAgeFilesLines
* Speech JavaScript API: Pass 'interimResults' and 'continuous' flags to server.hans@chromium.org2012-10-041-4/+3
| | | | | | | | | | | | | | | Also replace SpeechRecognitionSessionConfig::is_one_shot with is_legacy_api, used by the old x-webkit-speech input elements and speech extensions. This way the new speech API will always use the new server, both for continuous and non-continuous recognition. BUG=116954 Review URL: https://chromiumcodereview.appspot.com/11032032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160195 0039d316-1c4b-4281-b951-d872f2087c98
* Remove #pragma once from contentajwong@chromium.org2012-07-111-1/+0
| | | | | | Review URL: https://chromiumcodereview.appspot.com/10696166 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146071 0039d316-1c4b-4281-b951-d872f2087c98
* Adding support for the SpeechRecognition.maxAlternatives JS API parameter ↵primiano@chromium.org2012-06-271-0/+1
| | | | | | | | | | | | (Speech CL2.5) BUG=116954 TEST=none Review URL: https://chromiumcodereview.appspot.com/10629003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144487 0039d316-1c4b-4281-b951-d872f2087c98
* Moved instantiation of SpeechRecognitionManager inside browser_main_loop, ↵primiano@chromium.org2012-05-161-4/+1
| | | | | | | | | | | | | | | instead of Singleton. (Speech CL1.10) Compared to the Singleton solution, this allows the SpeechRecognitionManager to instantiate and cleanup the delegate at the right time. Also, cleaned-up speech_recognition_browsertest.cc so that the FakeSpeechRecognitionManager extends only the SRM interface, and not the Impl class. BUG=116954 TEST=none Review URL: https://chromiumcodereview.appspot.com/10399025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137424 0039d316-1c4b-4281-b951-d872f2087c98
* Refactoring of chrome speech recognition architecture (Speech CL1.8)primiano@chromium.org2012-05-161-0/+3
| | | | | | | | | | | | | | | - Simplified the architecture of SpeechRecognitionManagerImpl. It does not track anymore the state of the recognizer (keeping a state var), rather it derives the state inquiring the recognizer object. After moving the bubble handling code to the delegate, in fact, only 3 states are required in the manager, and they can be inferred simply looking at the recognizer. - SpeechRecognitionManagerImpl does not handle anymore with UI related stuff (bubbles, detach, interactive, background... etc), which have been moved to ChromeSpeechRecognitionManagerDelegate. - ChromeSpeechRecognitionManagerDelegate is now more straightforward, since it implements the "universal" SpeechRecognitionEventListener interface, thus receiving the same events of the manager in the same order, and adds UI handling behavior (only bubbles for the moment) to the behavior of the manager. - Minor change: The SpeechRecognizerImpl now raises a SPEECH_RECOGNITION_ERROR_ABORTED upon Abort. It has no visible effect currently (since Abort is always raised when the bubble disappars) but makes sense for upcoming CLs, when speech input extension or JS APIs can cause an abort of the current recognition (starting a new one). BUG=116954 TEST=none Review URL: https://chromiumcodereview.appspot.com/10352007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137393 0039d316-1c4b-4281-b951-d872f2087c98
* Introducing new data types and IPC messages for scripted JS speech ↵primiano@chromium.org2012-05-151-1/+6
| | | | | | | | | | | | | | recognition APIs (Speech CL2.0) Furthermore GoogleOneShotRemoteEngineConfig struct has been renamed and moved into the (more generic) SpeechRecognitionEngineConfig, that will be shared with the streaming recognition engine implementation. BUG=116954 TEST=none Review URL: https://chromiumcodereview.appspot.com/10233010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137141 0039d316-1c4b-4281-b951-d872f2087c98
* Adding missing #pragma once in speech recognition headers.primiano@chromium.org2012-05-091-0/+1
| | | | | | | | | BUG=116954 TEST=none Review URL: https://chromiumcodereview.appspot.com/10270009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136002 0039d316-1c4b-4281-b951-d872f2087c98
* Speech refactoring: Reimplemented SpeechRecognitionManagerImpl as a FSM. (CL1.7)primiano@chromium.org2012-04-251-0/+34
BUG=116954 TEST=none. Review URL: http://codereview.chromium.org/9972011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133967 0039d316-1c4b-4281-b951-d872f2087c98