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

Issue 495603002: Add checking queue size when calling handleSpeakingCompleted(). (Closed)

Created:
6 years, 4 months ago by deejay
Modified:
6 years, 3 months ago
CC:
blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Add checking queue size when calling handleSpeakingCompleted(). Some speech contents are not removed when is called by async. In this case, when call to speak() function twice, second data is not removed in queue. So I add routine in handleSpeakingCompleted() that is start to speak() function immediately when latest queue size is not 0. It also works fine if called by asynchronous repeatedly. BUG=405585 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=180813

Patch Set 1 #

Total comments: 1

Patch Set 2 : Add new flag "shouldStartSpeaking" and remove flag "didJustFinishCurrentUtterance" #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -3 lines) Patch
M Source/modules/speech/SpeechSynthesis.cpp View 1 2 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 22 (0 generated)
deejay
PTAL
6 years, 4 months ago (2014-08-21 00:40:18 UTC) #1
haraken
https://codereview.chromium.org/495603002/diff/1/Source/modules/speech/SpeechSynthesis.cpp File Source/modules/speech/SpeechSynthesis.cpp (right): https://codereview.chromium.org/495603002/diff/1/Source/modules/speech/SpeechSynthesis.cpp#newcode157 Source/modules/speech/SpeechSynthesis.cpp:157: int oldQueueSize = 0; Can we introduce something like ...
6 years, 4 months ago (2014-08-21 01:01:22 UTC) #2
deejay
On 2014/08/21 01:01:22, haraken wrote: > https://codereview.chromium.org/495603002/diff/1/Source/modules/speech/SpeechSynthesis.cpp > File Source/modules/speech/SpeechSynthesis.cpp (right): > > https://codereview.chromium.org/495603002/diff/1/Source/modules/speech/SpeechSynthesis.cpp#newcode157 > ...
6 years, 4 months ago (2014-08-21 13:19:00 UTC) #3
haraken
LGTM
6 years, 4 months ago (2014-08-21 14:26:46 UTC) #4
deejay
The CQ bit was checked by djmix.kim@samsung.com
6 years, 4 months ago (2014-08-21 17:35:36 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/djmix.kim@samsung.com/495603002/20001
6 years, 4 months ago (2014-08-21 17:36:16 UTC) #6
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_chromium_gn_compile_rel on tryserver.blink ...
6 years, 4 months ago (2014-08-21 21:28:56 UTC) #7
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-21 21:40:01 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/android_chromium_gn_compile_rel/builds/8112)
6 years, 4 months ago (2014-08-21 21:40:03 UTC) #9
deejay
The CQ bit was checked by djmix.kim@samsung.com
6 years, 4 months ago (2014-08-22 05:04:38 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/djmix.kim@samsung.com/495603002/20001
6 years, 4 months ago (2014-08-22 05:05:16 UTC) #11
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_chromium_gn_compile_rel on tryserver.blink ...
6 years, 4 months ago (2014-08-22 05:07:41 UTC) #12
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-22 05:09:59 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/android_chromium_gn_compile_rel/builds/8203)
6 years, 4 months ago (2014-08-22 05:09:59 UTC) #14
deejay
The CQ bit was checked by djmix.kim@samsung.com
6 years, 4 months ago (2014-08-22 12:42:46 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/djmix.kim@samsung.com/495603002/20001
6 years, 4 months ago (2014-08-22 12:42:56 UTC) #16
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_chromium_gn_compile_rel on tryserver.blink ...
6 years, 4 months ago (2014-08-22 12:45:20 UTC) #17
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-22 12:47:34 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/android_chromium_gn_compile_rel/builds/8291)
6 years, 4 months ago (2014-08-22 12:47:35 UTC) #19
deejay
The CQ bit was checked by djmix.kim@samsung.com
6 years, 4 months ago (2014-08-23 03:05:06 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/djmix.kim@samsung.com/495603002/20001
6 years, 4 months ago (2014-08-23 03:05:21 UTC) #21
commit-bot: I haz the power
6 years, 3 months ago (2014-08-24 04:46:43 UTC) #22
Message was sent while issue was closed.
Committed patchset #2 (20001) as 180813

Powered by Google App Engine
This is Rietveld 408576698