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

Issue 8334018: Move the code in libcros' chromeos_speech_synthesis.cc into Chrome (Closed)

Created:
9 years, 2 months ago by hashimoto
Modified:
9 years, 2 months ago
CC:
Zachary Kuznia, chromium-reviews, nkostylev+watch_chromium.org, hashimoto+watch_chromium.org, aboxhall+watch_chromium.org, Erik does not do reviews, yoshiki+watch_chromium.org, mihaip+watch_chromium.org, yuzo+watch_chromium.org, davidbarr+watch_chromium.org, Aaron Boodman, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org, Paweł Hajdan Jr., ctguil+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, zork+watch_chromium.org
Visibility:
Public.

Description

Move the code in libcros' chromeos_speech_synthesis.cc into Chrome Add SpeechSynthesizerClient which consists the code copied from chromeos_speech_synthesis.cc Remove the test ExtensionApiTest.TtsChromeOs from extension_tts_apitest.cc BUG=chromium-os:16560 TEST=Enable accessibility feature by pressing Ctrl+Alt+Z on the login screen, ensure that it is speaking as before. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=106246

Patch Set 1 #

Patch Set 2 : Fixed comments and copyright, cleaned up includes #

Total comments: 9

Patch Set 3 : Fix along with review comments #

Patch Set 4 : Rebased to ToT #

Total comments: 5

Patch Set 5 : Removed ScopedRunnableMethodFactory #

Unified diffs Side-by-side diffs Delta from patch set Stats (+274 lines, -313 lines) Patch
M chrome/browser/chromeos/accessibility_util.cc View 2 chunks +12 lines, -14 lines 0 comments Download
M chrome/browser/chromeos/cros/cros_library.h View 4 chunks +0 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/cros/cros_library.cc View 3 chunks +0 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/cros/cros_mock.h View 5 chunks +0 lines, -5 lines 0 comments Download
M chrome/browser/chromeos/cros/cros_mock.cc View 6 chunks +1 line, -48 lines 0 comments Download
D chrome/browser/chromeos/cros/mock_speech_synthesis_library.h View 1 chunk +0 lines, -28 lines 0 comments Download
D chrome/browser/chromeos/cros/mock_speech_synthesis_library.cc View 1 chunk +0 lines, -13 lines 0 comments Download
D chrome/browser/chromeos/cros/speech_synthesis_library.h View 1 chunk +0 lines, -53 lines 0 comments Download
D chrome/browser/chromeos/cros/speech_synthesis_library.cc View 1 chunk +0 lines, -77 lines 0 comments Download
M chrome/browser/chromeos/dbus/dbus_thread_manager.h View 1 2 3 3 chunks +9 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/dbus/dbus_thread_manager.cc View 1 2 3 2 chunks +4 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/dbus/speech_synthesizer_client.h View 1 2 1 chunk +60 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/dbus/speech_synthesizer_client.cc View 1 2 1 chunk +149 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_tts_api_chromeos.cc View 1 2 3 4 9 chunks +37 lines, -46 lines 0 comments Download
M chrome/browser/extensions/extension_tts_apitest.cc View 1 2 3 2 chunks +0 lines, -18 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
hashimoto
SpeechSynthesizerClient is based on the code in libcros' chromeos_speech_synthesis.cc (http://git.chromium.org/gitweb/?p=chromiumos/platform/cros.git;a=blob;f=chromeos_speech_synthesis.cc;h=d08e33c372dbde35a683e10e463893093151d206;hb=master) ExtensionApiTest.TtsChromeOs is removed because: 1. ...
9 years, 2 months ago (2011-10-18 12:05:23 UTC) #1
satorux1
LGTM. This is awesome! I have minor comments below, but it's up to you. http://codereview.chromium.org/8334018/diff/1035/chrome/browser/chromeos/dbus/speech_synthesizer_client.cc ...
9 years, 2 months ago (2011-10-18 20:49:25 UTC) #2
hashimoto
New patch set, fixed some comments. http://codereview.chromium.org/8334018/diff/1035/chrome/browser/chromeos/dbus/speech_synthesizer_client.cc File chrome/browser/chromeos/dbus/speech_synthesizer_client.cc (right): http://codereview.chromium.org/8334018/diff/1035/chrome/browser/chromeos/dbus/speech_synthesizer_client.cc#newcode41 chrome/browser/chromeos/dbus/speech_synthesizer_client.cc:41: "Speak"); On 2011/10/18 ...
9 years, 2 months ago (2011-10-19 00:08:47 UTC) #3
satorux1
LGTM++
9 years, 2 months ago (2011-10-19 00:23:00 UTC) #4
satorux1
BTW, once it's checked in, please deprecate functions in chromeos_speech_synthesis.cc in libcros, and then remove ...
9 years, 2 months ago (2011-10-19 00:29:17 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hashimoto@chromium.org/8334018/11002
9 years, 2 months ago (2011-10-19 03:10:43 UTC) #6
hashimoto
On 2011/10/19 00:29:17, satorux1 wrote: > BTW, once it's checked in, please deprecate functions in ...
9 years, 2 months ago (2011-10-19 03:11:13 UTC) #7
dmazzoni
LGTM - thanks for doing this! http://codereview.chromium.org/8334018/diff/11002/chrome/browser/extensions/extension_tts_api_chromeos.cc File chrome/browser/extensions/extension_tts_api_chromeos.cc (right): http://codereview.chromium.org/8334018/diff/11002/chrome/browser/extensions/extension_tts_api_chromeos.cc#newcode48 chrome/browser/extensions/extension_tts_api_chromeos.cc:48: void ContinuePollingIfSpeechIsNotFinished(int utterance_id, ...
9 years, 2 months ago (2011-10-19 05:01:15 UTC) #8
satorux1
http://codereview.chromium.org/8334018/diff/11002/chrome/browser/extensions/extension_tts_api_chromeos.cc File chrome/browser/extensions/extension_tts_api_chromeos.cc (right): http://codereview.chromium.org/8334018/diff/11002/chrome/browser/extensions/extension_tts_api_chromeos.cc#newcode10 chrome/browser/extensions/extension_tts_api_chromeos.cc:10: #include "base/task.h" I think base/task.h is unnecessary. http://codereview.chromium.org/8334018/diff/11002/chrome/browser/extensions/extension_tts_api_chromeos.cc#newcode48 chrome/browser/extensions/extension_tts_api_chromeos.cc:48: ...
9 years, 2 months ago (2011-10-19 05:15:47 UTC) #9
hashimoto
http://codereview.chromium.org/8334018/diff/11002/chrome/browser/extensions/extension_tts_api_chromeos.cc File chrome/browser/extensions/extension_tts_api_chromeos.cc (right): http://codereview.chromium.org/8334018/diff/11002/chrome/browser/extensions/extension_tts_api_chromeos.cc#newcode48 chrome/browser/extensions/extension_tts_api_chromeos.cc:48: void ContinuePollingIfSpeechIsNotFinished(int utterance_id, bool result); On 2011/10/19 05:01:15, Dominic ...
9 years, 2 months ago (2011-10-19 05:18:25 UTC) #10
dmazzoni
On Tue, Oct 18, 2011 at 10:18 PM, <hashimoto@chromium.org> wrote: > It looks that currently ...
9 years, 2 months ago (2011-10-19 05:28:49 UTC) #11
hashimoto
On 2011/10/19 05:15:47, satorux1 wrote: > http://codereview.chromium.org/8334018/diff/11002/chrome/browser/extensions/extension_tts_api_chromeos.cc > File chrome/browser/extensions/extension_tts_api_chromeos.cc (right): > > http://codereview.chromium.org/8334018/diff/11002/chrome/browser/extensions/extension_tts_api_chromeos.cc#newcode10 > ...
9 years, 2 months ago (2011-10-19 05:40:07 UTC) #12
dmazzoni
On Tue, Oct 18, 2011 at 10:40 PM, <hashimoto@chromium.org> wrote: > One way to do ...
9 years, 2 months ago (2011-10-19 05:45:08 UTC) #13
hashimoto
New patch set, I will commit this. http://codereview.chromium.org/8334018/diff/11002/chrome/browser/extensions/extension_tts_api_chromeos.cc File chrome/browser/extensions/extension_tts_api_chromeos.cc (right): http://codereview.chromium.org/8334018/diff/11002/chrome/browser/extensions/extension_tts_api_chromeos.cc#newcode10 chrome/browser/extensions/extension_tts_api_chromeos.cc:10: #include "base/task.h" ...
9 years, 2 months ago (2011-10-19 06:02:14 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hashimoto@chromium.org/8334018/10025
9 years, 2 months ago (2011-10-19 06:02:26 UTC) #15
commit-bot: I haz the power
9 years, 2 months ago (2011-10-19 08:19:47 UTC) #16
Change committed as 106246

Powered by Google App Engine
This is Rietveld 408576698