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

Issue 8201030: Introducing the basic functionality to the speech input experimental API. (Closed)

Created:
9 years, 2 months ago by Leandro Gracia Gil
Modified:
9 years, 2 months ago
CC:
chromium-reviews, Erik does not do reviews, mihaip+watch_chromium.org
Visibility:
Public.

Description

Introducing the basic functionality to the speech input experimental API. BUG=97388 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=105291

Patch Set 1 #

Total comments: 43

Patch Set 2 : review fixes. #

Total comments: 50

Patch Set 3 : second iteration of review fixes. #

Total comments: 14

Patch Set 4 : third iteration of fixes, call/recognition errors further separated, refactoring for API tests. #

Patch Set 5 : removing call error codes from the json file and doc (no longer reported by onError). #

Total comments: 1

Patch Set 6 : adding IsRecordingInProcess to the audio manager and the expected IsRecording behaviour. #

Patch Set 7 : no changes, rebase only for the try bots. #

Patch Set 8 : removing media code and dependencies. Addressed in a different patch. #

Total comments: 1

Patch Set 9 : removing nit and adding application locale as default language. #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+1088 lines, -351 lines) Patch
M chrome/browser/extensions/extension_function_dispatcher.cc View 1 2 3 4 5 6 7 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_speech_input_api.h View 1 2 3 4 5 1 chunk +0 lines, -54 lines 0 comments Download
M chrome/browser/extensions/extension_speech_input_api.cc View 1 2 3 4 5 1 chunk +0 lines, -43 lines 0 comments Download
M chrome/browser/extensions/extension_speech_input_manager.h View 1 2 3 4 5 1 chunk +0 lines, -62 lines 0 comments Download
M chrome/browser/extensions/extension_speech_input_manager.cc View 1 2 3 4 5 1 chunk +0 lines, -144 lines 0 comments Download
A + chrome/browser/extensions/speech_input/extension_speech_input_api.h View 1 2 3 4 5 4 chunks +23 lines, -5 lines 0 comments Download
A chrome/browser/extensions/speech_input/extension_speech_input_api.cc View 1 2 3 4 5 6 7 8 1 chunk +155 lines, -0 lines 2 comments Download
A chrome/browser/extensions/speech_input/extension_speech_input_api_constants.h View 1 2 3 4 5 6 7 8 1 chunk +40 lines, -0 lines 0 comments Download
A chrome/browser/extensions/speech_input/extension_speech_input_api_constants.cc View 1 2 3 4 5 6 7 8 1 chunk +37 lines, -0 lines 0 comments Download
A chrome/browser/extensions/speech_input/extension_speech_input_manager.h View 1 2 3 4 5 1 chunk +184 lines, -0 lines 2 comments Download
A chrome/browser/extensions/speech_input/extension_speech_input_manager.cc View 1 2 3 4 5 6 7 8 1 chunk +595 lines, -0 lines 0 comments Download
M chrome/browser/profiles/profile_dependency_manager.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 2 chunks +6 lines, -4 lines 0 comments Download
M chrome/common/chrome_notification_types.h View 1 2 3 4 5 6 1 chunk +9 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/extension_api.json View 1 2 3 4 5 6 10 chunks +13 lines, -13 lines 0 comments Download
M chrome/common/extensions/docs/experimental.speechInput.html View 1 2 3 4 5 17 chunks +24 lines, -24 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
Leandro Graciá Gil
9 years, 2 months ago (2011-10-08 11:38:14 UTC) #1
Satish
First pass comments below. Will review more after these are addressed http://codereview.chromium.org/8201030/diff/1/chrome/browser/extensions/extension_speech_input_api.cc File chrome/browser/extensions/extension_speech_input_api.cc (right): ...
9 years, 2 months ago (2011-10-08 23:15:07 UTC) #2
Leandro Graciá Gil
http://codereview.chromium.org/8201030/diff/1/chrome/browser/extensions/extension_speech_input_api.cc File chrome/browser/extensions/extension_speech_input_api.cc (right): http://codereview.chromium.org/8201030/diff/1/chrome/browser/extensions/extension_speech_input_api.cc#newcode29 chrome/browser/extensions/extension_speech_input_api.cc:29: registrar_.Add(this, TransitionNotification(), Removed on destruction with a flag to ...
9 years, 2 months ago (2011-10-09 10:29:21 UTC) #3
Satish
Sorry, this one is a bit long. http://codereview.chromium.org/8201030/diff/1/chrome/browser/extensions/extension_speech_input_manager.cc File chrome/browser/extensions/extension_speech_input_manager.cc (right): http://codereview.chromium.org/8201030/diff/1/chrome/browser/extensions/extension_speech_input_manager.cc#newcode461 chrome/browser/extensions/extension_speech_input_manager.cc:461: recognizer_ = ...
9 years, 2 months ago (2011-10-09 20:01:47 UTC) #4
Leandro Graciá Gil
IsRecording validity still pending to be discussed and fixed. Patch tested and working properly. http://codereview.chromium.org/8201030/diff/10001/chrome/browser/extensions/extension_speech_input_api.cc ...
9 years, 2 months ago (2011-10-10 18:59:38 UTC) #5
Satish
Thank, looking quite close. http://codereview.chromium.org/8201030/diff/11001/chrome/browser/extensions/extension_speech_input_api.cc File chrome/browser/extensions/extension_speech_input_api.cc (right): http://codereview.chromium.org/8201030/diff/11001/chrome/browser/extensions/extension_speech_input_api.cc#newcode81 chrome/browser/extensions/extension_speech_input_api.cc:81: ExtensionSpeechInputManager::ExtensionError *error_details = move '*' ...
9 years, 2 months ago (2011-10-11 13:37:16 UTC) #6
Leandro Graciá Gil
Errors separated into call (start/stop) errors and recognition (onError event) ones. Added some refactoring to ...
9 years, 2 months ago (2011-10-11 18:08:00 UTC) #7
Leandro Graciá Gil
http://codereview.chromium.org/8201030/diff/17004/chrome/browser/extensions/extension_speech_input_manager.cc File chrome/browser/extensions/extension_speech_input_manager.cc (right): http://codereview.chromium.org/8201030/diff/17004/chrome/browser/extensions/extension_speech_input_manager.cc#newcode72 chrome/browser/extensions/extension_speech_input_manager.cc:72: virtual bool ServiceRedirectedInIncognito() { return false; } Adding OVERRIDE ...
9 years, 2 months ago (2011-10-11 18:10:51 UTC) #8
Aaron Boodman
chrome/browser/extensions has too many files. Can we move extension_speech_input_* elsewhere? It seems like a subdirectory ...
9 years, 2 months ago (2011-10-12 08:04:08 UTC) #9
Leandro Graciá Gil
Adding exclusive recording between the web speech input feature and the extension API. Moving the ...
9 years, 2 months ago (2011-10-12 14:29:32 UTC) #10
Leandro Graciá Gil
Alpha, could you please review the changes on the media files of this patch? Thanks.
9 years, 2 months ago (2011-10-12 14:32:39 UTC) #11
Leandro Graciá Gil
Moving all media-related changes to issue 8208013. Alpha, no need to look further on this ...
9 years, 2 months ago (2011-10-12 16:20:01 UTC) #12
Leandro Graciá Gil
http://codereview.chromium.org/8201030/diff/24002/chrome/browser/extensions/speech_input/extension_speech_input_manager.cc File chrome/browser/extensions/speech_input/extension_speech_input_manager.cc (right): http://codereview.chromium.org/8201030/diff/24002/chrome/browser/extensions/speech_input/extension_speech_input_manager.cc#newcode218 chrome/browser/extensions/speech_input/extension_speech_input_manager.cc:218: /*{ Oops, this should be removed as it's not ...
9 years, 2 months ago (2011-10-12 18:24:46 UTC) #13
Satish
LGTM, thanks for the changes. http://codereview.chromium.org/8201030/diff/22034/chrome/browser/extensions/speech_input/extension_speech_input_api.cc File chrome/browser/extensions/speech_input/extension_speech_input_api.cc (right): http://codereview.chromium.org/8201030/diff/22034/chrome/browser/extensions/speech_input/extension_speech_input_api.cc#newcode17 chrome/browser/extensions/speech_input/extension_speech_input_api.cc:17: int transition_state, int end_state, ...
9 years, 2 months ago (2011-10-12 20:11:59 UTC) #14
Leandro Graciá Gil
9 years, 2 months ago (2011-10-13 10:40:22 UTC) #15
Nits fixed. Landing shortly.

http://codereview.chromium.org/8201030/diff/22034/chrome/browser/extensions/s...
File chrome/browser/extensions/speech_input/extension_speech_input_api.cc
(right):

http://codereview.chromium.org/8201030/diff/22034/chrome/browser/extensions/s...
chrome/browser/extensions/speech_input/extension_speech_input_api.cc:17: int
transition_state, int end_state, int transition_notification)
On 2011/10/12 20:11:59, Satish wrote:
> indent parameters at the same column and one per line since they all don't fit
> in a single line

Done.

http://codereview.chromium.org/8201030/diff/22034/chrome/browser/extensions/s...
File chrome/browser/extensions/speech_input/extension_speech_input_manager.h
(right):

http://codereview.chromium.org/8201030/diff/22034/chrome/browser/extensions/s...
chrome/browser/extensions/speech_input/extension_speech_input_manager.h:50:
class ExtensionSpeechInputManager : public NotificationObserver,
On 2011/10/12 20:11:59, Satish wrote:
> move NotificationObserver to next line and indent the rest to right by 2
spaces

Done.

Powered by Google App Engine
This is Rietveld 408576698