Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(118)

Issue 12589005: Implement web speech synthesis. (Closed)

Created:
7 years, 9 months ago by dmazzoni
Modified:
7 years, 7 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, Aaron Boodman, darin-cc_chromium.org, chromium-apps-reviews_chromium.org, aboxhall
Base URL:
http://git.chromium.org/chromium/src.git@webtts
Visibility:
Public.

Description

Implement web speech synthesis. Refactors TtsController a bit so that it can be used both by Tts extensions and by web speech. Implements almost all of the features of the web speech API. Requires corresponding WebKit patch: https://bugs.webkit.org/show_bug.cgi?id=111695 BUG=171887 NOTRY=true Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=198060

Patch Set 1 #

Total comments: 64

Patch Set 2 : Respond to WebKit feedback only, other feedback not addressed yet. #

Patch Set 3 : Fresh update #

Total comments: 2

Patch Set 4 : Rebase #

Patch Set 5 : Rebase, address feedback #

Patch Set 6 : Add virtual destructor to TtsDispatcherHostDelegate #

Patch Set 7 : Rebase #

Patch Set 8 : Move from content to chrome, add runtime flag #

Total comments: 4

Patch Set 9 : Rebase #

Patch Set 10 : Rebase #

Patch Set 11 : Fix tts_messages and RendererWebKitPlatformSupportImpl #

Patch Set 12 : Removed stray semicolon #

Patch Set 13 : Fix android build #

Unified diffs Side-by-side diffs Delta from patch set Stats (+858 lines, -118 lines) Patch
M chrome/browser/chrome_content_browser_client.cc View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/speech/extension_api/tts_engine_extension_api.h View 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/speech/extension_api/tts_engine_extension_api.cc View 1 2 4 chunks +17 lines, -22 lines 0 comments Download
M chrome/browser/speech/extension_api/tts_extension_api.cc View 1 2 3 4 6 chunks +111 lines, -3 lines 0 comments Download
M chrome/browser/speech/tts_controller.h View 1 2 7 chunks +37 lines, -3 lines 0 comments Download
M chrome/browser/speech/tts_controller.cc View 1 2 6 chunks +38 lines, -89 lines 0 comments Download
A chrome/browser/speech/tts_message_filter.h View 1 2 3 4 5 6 7 1 chunk +48 lines, -0 lines 0 comments Download
A chrome/browser/speech/tts_message_filter.cc View 1 2 3 4 5 6 7 1 chunk +132 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_common.gypi View 1 2 3 4 5 6 7 8 9 10 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/chrome_renderer.gypi View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/common_message_generator.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
A chrome/common/tts_messages.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +69 lines, -0 lines 0 comments Download
A chrome/common/tts_utterance_request.h View 1 2 3 4 5 6 7 1 chunk +44 lines, -0 lines 0 comments Download
A chrome/common/tts_utterance_request.cc View 1 2 3 4 5 6 7 1 chunk +30 lines, -0 lines 0 comments Download
M chrome/renderer/chrome_content_renderer_client.h View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/renderer/chrome_content_renderer_client.cc View 1 2 3 4 5 6 7 8 2 chunks +7 lines, -0 lines 0 comments Download
A chrome/renderer/tts_dispatcher.h View 1 2 3 4 5 6 7 1 chunk +76 lines, -0 lines 0 comments Download
A chrome/renderer/tts_dispatcher.cc View 1 2 3 4 5 6 7 1 chunk +199 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M content/public/common/content_switches.h View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M content/public/common/content_switches.cc View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -0 lines 0 comments Download
M content/public/renderer/content_renderer_client.h View 1 2 3 4 5 6 7 8 9 2 chunks +7 lines, -0 lines 0 comments Download
M content/public/renderer/content_renderer_client.cc View 1 2 3 4 5 6 7 1 chunk +5 lines, -0 lines 0 comments Download
M content/renderer/render_thread_impl.cc View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -0 lines 0 comments Download
M content/renderer/renderer_webkitplatformsupport_impl.h View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download
M content/renderer/renderer_webkitplatformsupport_impl.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +8 lines, -0 lines 0 comments Download
M ipc/ipc_message_start.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 24 (0 generated)
dmazzoni
This is ready for an initial look. I mostly used speech recognition as a guide, ...
7 years, 9 months ago (2013-03-07 08:58:54 UTC) #1
tommi (sloooow) - chröme
Looks pretty great overall. I don't know anything about the webkit side or actually how ...
7 years, 9 months ago (2013-03-07 13:04:46 UTC) #2
dmazzoni
On Thu, Mar 7, 2013 at 5:04 AM, <tommi@chromium.org> wrote: > Looks pretty great overall. ...
7 years, 9 months ago (2013-03-07 17:48:13 UTC) #3
tommi (sloooow) - chröme
Regarding the copyright year, I think that either rietveld or git cl upload is confusing ...
7 years, 9 months ago (2013-03-07 19:46:30 UTC) #4
hans
I looked at the WebKit patch too, but I see that Adam had some comments ...
7 years, 9 months ago (2013-03-09 14:19:52 UTC) #5
dmazzoni
Hi! Just an FYI, I just refactored the WebKit portion and I'm going to wait ...
7 years, 9 months ago (2013-03-13 19:27:45 UTC) #6
dmazzoni
Ready for another look! I just got an r+ on the WebKit side so this ...
7 years, 9 months ago (2013-03-19 17:30:22 UTC) #7
tommi (sloooow) - chröme
lgtm https://codereview.chromium.org/12589005/diff/1/chrome/browser/speech/extension_api/tts_engine_extension_api.cc File chrome/browser/speech/extension_api/tts_engine_extension_api.cc (right): https://codereview.chromium.org/12589005/diff/1/chrome/browser/speech/extension_api/tts_engine_extension_api.cc#newcode67 chrome/browser/speech/extension_api/tts_engine_extension_api.cc:67: out_voices->push_back(VoiceData()); On 2013/03/19 17:30:22, Dominic Mazzoni wrote: > ...
7 years, 9 months ago (2013-03-21 14:34:02 UTC) #8
hans
lgtm too
7 years, 9 months ago (2013-03-21 14:34:59 UTC) #9
dmazzoni
tsepez: could you please look at the ipcs? brettw: could you do an owners review ...
7 years, 8 months ago (2013-03-29 15:47:06 UTC) #10
Tom Sepez
lgtm
7 years, 8 months ago (2013-03-29 16:51:16 UTC) #11
jam
It looks like there's a delegate interface from WebKit, WebSpeechSynthesizer, which is implemented in content ...
7 years, 8 months ago (2013-03-29 17:30:11 UTC) #12
dmazzoni
On 2013/03/29 17:30:11, jam wrote: > It looks like there's a delegate interface from WebKit, ...
7 years, 8 months ago (2013-03-29 17:44:56 UTC) #13
jam
On 2013/03/29 17:44:56, Dominic Mazzoni wrote: > On 2013/03/29 17:30:11, jam wrote: > > It ...
7 years, 8 months ago (2013-03-29 18:15:21 UTC) #14
dmazzoni
On 2013/03/29 18:15:21, jam wrote: > Agreed. However, the code as it stands, is just ...
7 years, 8 months ago (2013-03-29 18:26:17 UTC) #15
jam
On 2013/03/29 18:26:17, Dominic Mazzoni wrote: > On 2013/03/29 18:15:21, jam wrote: > > Agreed. ...
7 years, 8 months ago (2013-03-29 19:44:31 UTC) #16
dmazzoni
On 2013/03/29 19:44:31, jam wrote: > On 2013/03/29 18:26:17, Dominic Mazzoni wrote: > > On ...
7 years, 8 months ago (2013-03-29 20:45:34 UTC) #17
dmazzoni
Sorry I neglected this for so long. Ready for another look, it's now all in ...
7 years, 7 months ago (2013-04-29 22:58:04 UTC) #18
jam
content lgtm https://codereview.chromium.org/12589005/diff/45001/chrome/common/all_messages.h File chrome/common/all_messages.h (right): https://codereview.chromium.org/12589005/diff/45001/chrome/common/all_messages.h#newcode26 chrome/common/all_messages.h:26: #include "chrome/common/tts_messages.h" don't add it here, instead ...
7 years, 7 months ago (2013-04-30 17:11:19 UTC) #19
dmazzoni
https://codereview.chromium.org/12589005/diff/45001/chrome/common/all_messages.h File chrome/common/all_messages.h (right): https://codereview.chromium.org/12589005/diff/45001/chrome/common/all_messages.h#newcode26 chrome/common/all_messages.h:26: #include "chrome/common/tts_messages.h" On 2013/04/30 17:11:20, jam wrote: > don't ...
7 years, 7 months ago (2013-05-02 22:13:25 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmazzoni@chromium.org/12589005/65001
7 years, 7 months ago (2013-05-02 22:15:39 UTC) #21
commit-bot: I haz the power
Retried try job too often on linux_chromeos for step(s) ash_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_chromeos&number=110194
7 years, 7 months ago (2013-05-03 04:00:46 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmazzoni@chromium.org/12589005/65001
7 years, 7 months ago (2013-05-03 04:39:11 UTC) #23
commit-bot: I haz the power
7 years, 7 months ago (2013-05-03 04:39:35 UTC) #24
Message was sent while issue was closed.
Change committed as 198060

Powered by Google App Engine
This is Rietveld 408576698