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

Issue 27477002: Add support for onvoiceschanged event. (Closed)

Created:
7 years, 2 months ago by dmazzoni
Modified:
7 years, 2 months ago
CC:
blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/blink.git@platform_speech_chromium
Visibility:
Public.

Description

Add support for onvoiceschanged event. This is a recent addition to the spec: https://www.w3.org/Bugs/Public/show_bug.cgi?id=22003 BUG=171887 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=159914

Patch Set 1 #

Total comments: 14

Patch Set 2 : Check activeDOMObjectsAreStopped, address other feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+75 lines, -10 lines) Patch
A LayoutTests/fast/speechsynthesis/speech-synthesis-voices-changed.html View 1 chunk +28 lines, -0 lines 0 comments Download
A LayoutTests/fast/speechsynthesis/speech-synthesis-voices-changed-expected.txt View 1 chunk +7 lines, -0 lines 0 comments Download
M Source/core/events/EventTypeNames.in View 1 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/platform/mock/PlatformSpeechSynthesizerMock.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M Source/modules/speech/DOMWindowSpeechSynthesis.cpp View 2 chunks +2 lines, -1 line 0 comments Download
M Source/modules/speech/SpeechSynthesis.h View 1 4 chunks +13 lines, -3 lines 0 comments Download
M Source/modules/speech/SpeechSynthesis.cpp View 1 5 chunks +20 lines, -5 lines 0 comments Download
M Source/modules/speech/SpeechSynthesis.idl View 1 2 chunks +3 lines, -1 line 0 comments Download

Messages

Total messages: 11 (0 generated)
dmazzoni
7 years, 2 months ago (2013-10-16 06:22:43 UTC) #1
eseidel
https://codereview.chromium.org/27477002/diff/1/Source/modules/speech/SpeechSynthesis.cpp File Source/modules/speech/SpeechSynthesis.cpp (right): https://codereview.chromium.org/27477002/diff/1/Source/modules/speech/SpeechSynthesis.cpp#newcode64 Source/modules/speech/SpeechSynthesis.cpp:64: dispatchEvent(Event::create(EventTypeNames::voiceschanged)); This will cause synchronous event dispatch, right? Callers ...
7 years, 2 months ago (2013-10-16 06:44:52 UTC) #2
eseidel
7 years, 2 months ago (2013-10-16 06:47:00 UTC) #3
dmazzoni
https://codereview.chromium.org/27477002/diff/1/Source/modules/speech/SpeechSynthesis.cpp File Source/modules/speech/SpeechSynthesis.cpp (right): https://codereview.chromium.org/27477002/diff/1/Source/modules/speech/SpeechSynthesis.cpp#newcode64 Source/modules/speech/SpeechSynthesis.cpp:64: dispatchEvent(Event::create(EventTypeNames::voiceschanged)); On 2013/10/16 06:44:53, eseidel wrote: > This will ...
7 years, 2 months ago (2013-10-16 07:08:00 UTC) #4
abarth-chromium
https://codereview.chromium.org/27477002/diff/1/Source/modules/speech/SpeechSynthesis.cpp File Source/modules/speech/SpeechSynthesis.cpp (right): https://codereview.chromium.org/27477002/diff/1/Source/modules/speech/SpeechSynthesis.cpp#newcode61 Source/modules/speech/SpeechSynthesis.cpp:61: void SpeechSynthesis::voicesDidChange() When can this function be called? Why ...
7 years, 2 months ago (2013-10-16 19:25:06 UTC) #5
dmazzoni
https://codereview.chromium.org/27477002/diff/1/Source/modules/speech/SpeechSynthesis.cpp File Source/modules/speech/SpeechSynthesis.cpp (right): https://codereview.chromium.org/27477002/diff/1/Source/modules/speech/SpeechSynthesis.cpp#newcode61 Source/modules/speech/SpeechSynthesis.cpp:61: void SpeechSynthesis::voicesDidChange() On 2013/10/16 19:25:06, abarth wrote: > When ...
7 years, 2 months ago (2013-10-16 22:09:06 UTC) #6
abarth-chromium
LGTM w/ the nits below addressed https://codereview.chromium.org/27477002/diff/1/Source/modules/speech/SpeechSynthesis.cpp File Source/modules/speech/SpeechSynthesis.cpp (right): https://codereview.chromium.org/27477002/diff/1/Source/modules/speech/SpeechSynthesis.cpp#newcode61 Source/modules/speech/SpeechSynthesis.cpp:61: void SpeechSynthesis::voicesDidChange() On ...
7 years, 2 months ago (2013-10-17 02:00:53 UTC) #7
dmazzoni
Feedback addressed, but please confirm that the change I made to SpeechSynthesis::fireEvent is correct too, ...
7 years, 2 months ago (2013-10-17 15:28:58 UTC) #8
abarth-chromium
lgtm LGTM Thanks!
7 years, 2 months ago (2013-10-17 19:43:48 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmazzoni@chromium.org/27477002/12001
7 years, 2 months ago (2013-10-17 19:54:36 UTC) #10
commit-bot: I haz the power
7 years, 2 months ago (2013-10-17 22:52:17 UTC) #11
Message was sent while issue was closed.
Change committed as 159914

Powered by Google App Engine
This is Rietveld 408576698