summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_tts_api_win.cc
Commit message (Collapse)AuthorAgeFilesLines
* Move TTS extension API to chrome/browser/speech/dmazzoni@chromium.org2012-03-241-223/+0
| | | | | | | | | | | | | | | | Renames the files trivially, basically extension_tts -> tts_extension. No code changes in this CL! Also adds dmazzoni and dtseng to the OWNERS file of chrome/browser/speech. Obviously we won't review changes related to the speech input api, if someone pings one of us by accident we'll refer them to Satish. BUG=104467 TEST=none Review URL: https://chromiumcodereview.appspot.com/9808024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128709 0039d316-1c4b-4281-b951-d872f2087c98
* Coverity: Initialize member variables.jhawkins@chromium.org2011-12-201-1/+5
| | | | | | | | | | | | | CID=100356,100360,100368,100373,100374,100562,101529,101530,101536,101541, 101542,101595,101630,101685,101687,101689,101776,101812,101813,101854, 101861,101862,101871,101883,101886,101887,102034 BUG=none TEST=none R=binji Review URL: http://codereview.chromium.org/8965054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115225 0039d316-1c4b-4281-b951-d872f2087c98
* An improved fix for TTS Extension API problems on Windows.dmazzoni@chromium.org2011-08-311-13/+7
| | | | | | | | | | | | | | | | The Windows speech API doesn't have a Stop function, and we were using Pause before to implement this, but this meant the utterance was still around, causing events from a previous utterance to still get sent when speech was resumed again. Instead, now we call Speak with an empty string and cause it to flush the speech queue. This ensures that only one utterance is active at a time. BUG=94466 TEST=manual testing with several talking extensions Review URL: http://codereview.chromium.org/7792015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99015 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a bug in the TTS extension API, in both the Mac & Windows implementations,dmazzoni@chromium.org2011-08-241-1/+5
| | | | | | | | | | | | | | where events from a previous utterance could be mistakenly interpreted as applying to the current utterance. The underlying bug is the same in both files, the fix is a little bit different. BUG=92514 TEST=manual testing Review URL: http://codereview.chromium.org/7686017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97960 0039d316-1c4b-4281-b951-d872f2087c98
* Extend TTS extension API to support richer events returned from the enginedmazzoni@chromium.org2011-07-071-31/+118
| | | | | | | | | | | | | | | | | | to the client. Previously we just had a completed event; this adds start, word boundary, sentence boundary, and marker boundary. In addition, interrupted and canceled, which were previously errors, now become events. Mac and Windows implementations extended to support as many of these events as possible. BUG=67713 BUG=70198 BUG=75106 BUG=83404 TEST=Updates all TTS API tests to be event-based, and adds new tests. Review URL: http://codereview.chromium.org/6792014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91665 0039d316-1c4b-4281-b951-d872f2087c98
* Include base/win/scoped_comptr.h instead of base/scoped_comptr_win.h.tfarina@chromium.org2011-04-121-2/+2
| | | | | | | | | | | | | | | | | Fix up all the callers to use the new location and namespace. Also, delete the stub file since it isn't included by anyone more. (Note: This was a TODO for brettw). BUG=None TEST=None R=brettw@chromium.org Review URL: http://codereview.chromium.org/6825055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81303 0039d316-1c4b-4281-b951-d872f2087c98
* Move some files from base to base/memory.levin@chromium.org2011-03-281-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | raw_scoped_refptr_mismatch_checker.h ref_counted.cc ref_counted.h ref_counted_memory.cc ref_counted_memory.h ref_counted_unittest.cc scoped_callback_factory.h scoped_comptr_win.h scoped_handle.h scoped_native_library.cc scoped_native_library.h scoped_native_library_unittest.cc scoped_nsobject.h scoped_open_process.h scoped_ptr.h scoped_ptr_unittest.cc scoped_temp_dir.cc scoped_temp_dir.h scoped_temp_dir_unittest.cc scoped_vector.h singleton.h singleton_objc.h singleton_unittest.cc linked_ptr.h linked_ptr_unittest.cc weak_ptr.cc weak_ptr.h weak_ptr_unittest.cc BUG=None TEST=Compile Review URL: http://codereview.chromium.org/6714032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79524 0039d316-1c4b-4281-b951-d872f2087c98
* Another Windows TTS fix; handle the case where we call GetStatus while it's ↵dmazzoni@chromium.org2011-02-011-2/+6
| | | | | | | | | | | | still waiting to speak. BUG=none TEST=manual testing, trybots Review URL: http://codereview.chromium.org/6409025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73298 0039d316-1c4b-4281-b951-d872f2087c98
* Reset paused_ to false when speaking to fix a bug where Stop() didn't always ↵dmazzoni@chromium.org2011-01-311-1/+3
| | | | | | | | | | | work. BUG=none TEST=manual testing, trybots Review URL: http://codereview.chromium.org/6385007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73127 0039d316-1c4b-4281-b951-d872f2087c98
* Fix implementation of StopSpeaking, and implement IsSpeaking, for thedmazzoni@chromium.org2011-01-251-1/+7
| | | | | | | | | | | Windows-native implementation of the TTS API. BUG=none TEST=manual testing Review URL: http://codereview.chromium.org/6249014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72439 0039d316-1c4b-4281-b951-d872f2087c98
* Re-land 62283 - Refactored TTS extension code so that the platform-specific TTSdmazzoni@chromium.org2010-10-131-86/+85
| | | | | | | | | | | | | | | | implementation code is separate from the extension API code. That will make it easier to add more functionality that's shared by all platforms next. BUG=none TEST=none Review URL: http://codereview.chromium.org/3640001 TBR=dmazzoni@chromium.org Review URL: http://codereview.chromium.org/3731003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62411 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 62283 - Refactored TTS extension code so that the platform-specific TTSdmazzoni@chromium.org2010-10-121-85/+86
| | | | | | | | | | | | | | | implementation code is separate from the extension API code. That will make it easier to add more functionality that's shared by all platforms next. BUG=none TEST=none Review URL: http://codereview.chromium.org/3640001 TBR=dmazzoni@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62284 0039d316-1c4b-4281-b951-d872f2087c98
* Refactored TTS extension code so that the platform-specific TTSdmazzoni@chromium.org2010-10-121-86/+85
| | | | | | | | | | | | | implementation code is separate from the extension API code. That will make it easier to add more functionality that's shared by all platforms next. BUG=none TEST=none Review URL: http://codereview.chromium.org/3640001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62283 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for speak properties such as rate to platform specific TTS.dtseng@chromium.org2010-09-151-86/+123
| | | | | | | | | BUG=none. TEST=Use extension to drive the tts engines on Windows and Mac. Had key bindings so that verification of: decrease rate, increase rate, decrease pitch, increase pitch, decrease volume, and increase volume worked. Verified that the limits, when reached, did not have any adverse effects. Review URL: http://codereview.chromium.org/3325021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59572 0039d316-1c4b-4281-b951-d872f2087c98
* Relanding 3149027.dtseng@chromium.org2010-09-021-0/+86
| | | | | | | | TBR=dmazzoni,chaitanyag BUG=none. TEST=none. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58373 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 57701 - Reland 3149027.chase@chromium.org2010-08-271-86/+0
| | | | | | | | | | | Review URL: http://codereview.chromium.org/3236004 Broke ChromiumOS browser_tests in ExtensionApiTest.Tts. TBR=dtseng@chromium.org Review URL: http://codereview.chromium.org/3224003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57727 0039d316-1c4b-4281-b951-d872f2087c98
* Reland 3149027.dtseng@chromium.org2010-08-271-0/+86
| | | | | | Review URL: http://codereview.chromium.org/3236004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57701 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 57595 - Initial TTS implementation on Mac and ↵chase@chromium.org2010-08-261-86/+0
| | | | | | | | | | | | | | Windows.BUG=none.TEST=base extension test. Currently no mocking for the native TTS api's. Manually tested engines with ChromeVox (navigating around a page, expected interrupts, stopping speech, etc.). Review URL: http://codereview.chromium.org/3149027 Reverted due to broken compile on Linux Builder (views dbg). TBR=dtseng@chromium.org Review URL: http://codereview.chromium.org/3217001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57608 0039d316-1c4b-4281-b951-d872f2087c98
* Initial TTS implementation on Mac and Windows.BUG=none.TEST=base extension ↵dtseng@chromium.org2010-08-261-0/+86
test. Currently no mocking for the native TTS api's. Manually tested engines with ChromeVox (navigating around a page, expected interrupts, stopping speech, etc.). Review URL: http://codereview.chromium.org/3149027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57595 0039d316-1c4b-4281-b951-d872f2087c98