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

Issue 9568002: Renamed speech input implementation from to speech_recognition_*. The namespace has been renamed fr… (Closed)

Created:
8 years, 9 months ago by Primiano Tucci (use gerrit)
Modified:
8 years, 9 months ago
CC:
chromium-reviews, Avi (use Gerrit), creis+watch_chromium.org, brettw-cc_chromium.org, jam, mihaip+watch_chromium.org, joi+watch-content_chromium.org, Aaron Boodman, darin-cc_chromium.org, ajwong+watch_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Renamed speech recognition code in preparation for introducing a new speech implementation. - The general-purpose speech recognition classes (that will be needed also by future code) have been renamed to SpeechRecognition*; - The IPC Messages and dispatcher(host) classes that are only related to the current input tag (x-webkit-speech) support have been renamed to InputTagSpeech*; - The namespace has been renamed from speech_input to speech; BUG=116954 TEST= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=125378

Patch Set 1 #

Total comments: 16

Patch Set 2 : Fixed nits according to reviewers and renamed x-webkit-speech related stuff to InputTagSpeech*. #

Total comments: 9

Patch Set 3 : Restored original suffixes to IPC messages and handlers; fixed (c) dates. #

Patch Set 4 : Fixed (c) dates to other 3 files previously missed. #

Patch Set 5 : Rebased from master. #

Patch Set 6 : Fixed compilation issues with clang. #

Patch Set 7 : Rebased from master. #

Patch Set 8 : Fixed issues with Mac build and rebased. #

Patch Set 9 : Rebased from master. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1243 lines, -6511 lines) Patch
D chrome/app/nibs/SpeechInputBubble.xib View 1 2 3 4 5 6 7 1 chunk +0 lines, -1442 lines 0 comments Download
A + chrome/app/nibs/SpeechRecognitionBubble.xib View 1 2 3 4 5 6 7 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/chrome_content_browser_client.h View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/chrome_content_browser_client.cc View 1 2 3 4 5 6 7 8 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/profiles/off_the_record_profile_impl.h View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/profiles/off_the_record_profile_impl.cc View 1 2 3 4 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/profiles/profile.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/profiles/profile.cc View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/profiles/profile_impl.h View 1 2 3 4 3 chunks +5 lines, -3 lines 0 comments Download
M chrome/browser/profiles/profile_impl.cc View 1 2 3 4 5 6 7 8 4 chunks +12 lines, -10 lines 0 comments Download
D chrome/browser/speech/chrome_speech_input_manager_delegate.h View 1 chunk +0 lines, -60 lines 0 comments Download
D chrome/browser/speech/chrome_speech_input_manager_delegate.cc View 1 chunk +0 lines, -218 lines 0 comments Download
D chrome/browser/speech/chrome_speech_input_preferences.h View 1 chunk +0 lines, -31 lines 0 comments Download
D chrome/browser/speech/chrome_speech_input_preferences.cc View 1 chunk +0 lines, -38 lines 0 comments Download
A chrome/browser/speech/chrome_speech_recognition_manager_delegate.h View 1 1 chunk +60 lines, -0 lines 0 comments Download
A + chrome/browser/speech/chrome_speech_recognition_manager_delegate.cc View 1 9 chunks +38 lines, -35 lines 0 comments Download
A chrome/browser/speech/chrome_speech_recognition_preferences.h View 1 chunk +32 lines, -0 lines 0 comments Download
A + chrome/browser/speech/chrome_speech_recognition_preferences.cc View 2 chunks +7 lines, -7 lines 0 comments Download
D chrome/browser/speech/speech_input_bubble.h View 1 2 3 4 1 chunk +0 lines, -194 lines 0 comments Download
D chrome/browser/speech/speech_input_bubble.cc View 1 chunk +0 lines, -249 lines 0 comments Download
D chrome/browser/speech/speech_input_bubble_browsertest.cc View 1 chunk +0 lines, -56 lines 0 comments Download
D chrome/browser/speech/speech_input_bubble_controller.h View 1 chunk +0 lines, -151 lines 0 comments Download
D chrome/browser/speech/speech_input_bubble_controller.cc View 1 chunk +0 lines, -242 lines 0 comments Download
D chrome/browser/speech/speech_input_bubble_controller_unittest.cc View 1 chunk +0 lines, -223 lines 0 comments Download
D chrome/browser/speech/speech_input_bubble_gtk.cc View 1 chunk +0 lines, -300 lines 0 comments Download
D chrome/browser/speech/speech_input_bubble_mac.mm View 1 chunk +0 lines, -125 lines 0 comments Download
D chrome/browser/speech/speech_input_bubble_views.cc View 1 chunk +0 lines, -393 lines 0 comments Download
M chrome/browser/speech/speech_input_extension_apitest.cc View 1 2 3 4 7 chunks +12 lines, -11 lines 0 comments Download
M chrome/browser/speech/speech_input_extension_manager.h View 1 5 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/speech/speech_input_extension_manager.cc View 1 2 3 4 5 6 7 8 10 chunks +19 lines, -18 lines 0 comments Download
A + chrome/browser/speech/speech_recognition_bubble.h View 1 2 3 4 7 chunks +28 lines, -28 lines 0 comments Download
A + chrome/browser/speech/speech_recognition_bubble.cc View 11 chunks +31 lines, -29 lines 0 comments Download
A + chrome/browser/speech/speech_recognition_bubble_browsertest.cc View 1 chunk +14 lines, -13 lines 0 comments Download
A + chrome/browser/speech/speech_recognition_bubble_controller.h View 6 chunks +27 lines, -27 lines 0 comments Download
A + chrome/browser/speech/speech_recognition_bubble_controller.cc View 10 chunks +44 lines, -42 lines 0 comments Download
A + chrome/browser/speech/speech_recognition_bubble_controller_unittest.cc View 11 chunks +51 lines, -46 lines 0 comments Download
A + chrome/browser/speech/speech_recognition_bubble_gtk.cc View 11 chunks +32 lines, -32 lines 0 comments Download
A + chrome/browser/speech/speech_recognition_bubble_mac.mm View 6 chunks +21 lines, -20 lines 0 comments Download
A + chrome/browser/speech/speech_recognition_bubble_views.cc View 14 chunks +60 lines, -56 lines 0 comments Download
M chrome/browser/tab_contents/render_view_context_menu.cc View 1 2 3 4 5 6 3 chunks +5 lines, -5 lines 0 comments Download
D chrome/browser/ui/cocoa/speech_input_window_controller.h View 1 chunk +0 lines, -63 lines 0 comments Download
D chrome/browser/ui/cocoa/speech_input_window_controller.mm View 1 chunk +0 lines, -226 lines 0 comments Download
A + chrome/browser/ui/cocoa/speech_recognition_window_controller.h View 1 2 3 3 chunks +15 lines, -15 lines 0 comments Download
A + chrome/browser/ui/cocoa/speech_recognition_window_controller.mm View 1 2 3 8 chunks +17 lines, -16 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 5 chunks +16 lines, -16 lines 0 comments Download
M chrome/chrome_dll.gypi View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 8 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/common/pref_names.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/pref_names.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/base/testing_profile.h View 1 2 3 4 3 chunks +5 lines, -3 lines 0 comments Download
M chrome/test/base/testing_profile.cc View 1 2 3 4 2 chunks +7 lines, -5 lines 0 comments Download
M content/browser/mock_content_browser_client.h View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/mock_content_browser_client.cc View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -3 lines 0 comments Download
M content/browser/renderer_host/render_view_host_impl.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/speech/audio_encoder.h View 3 chunks +3 lines, -3 lines 0 comments Download
M content/browser/speech/audio_encoder.cc View 5 chunks +5 lines, -5 lines 0 comments Download
M content/browser/speech/endpointer/endpointer.h View 3 chunks +3 lines, -3 lines 0 comments Download
M content/browser/speech/endpointer/endpointer.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/speech/endpointer/endpointer_unittest.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M content/browser/speech/endpointer/energy_endpointer.h View 3 chunks +3 lines, -3 lines 0 comments Download
M content/browser/speech/endpointer/energy_endpointer.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/speech/endpointer/energy_endpointer_params.h View 3 chunks +3 lines, -3 lines 0 comments Download
M content/browser/speech/endpointer/energy_endpointer_params.cc View 2 chunks +3 lines, -3 lines 0 comments Download
A content/browser/speech/input_tag_speech_dispatcher_host.h View 1 2 1 chunk +78 lines, -0 lines 0 comments Download
A + content/browser/speech/input_tag_speech_dispatcher_host.cc View 1 2 7 chunks +75 lines, -75 lines 0 comments Download
D content/browser/speech/speech_input_browsertest.cc View 1 2 3 4 5 6 1 chunk +0 lines, -252 lines 0 comments Download
D content/browser/speech/speech_input_dispatcher_host.h View 1 chunk +0 lines, -78 lines 0 comments Download
D content/browser/speech/speech_input_dispatcher_host.cc View 1 chunk +0 lines, -239 lines 0 comments Download
D content/browser/speech/speech_input_manager_impl.h View 1 chunk +0 lines, -129 lines 0 comments Download
D content/browser/speech/speech_input_manager_impl.cc View 1 2 3 4 5 6 1 chunk +0 lines, -351 lines 0 comments Download
A + content/browser/speech/speech_recognition_browsertest.cc View 1 2 3 4 5 6 10 chunks +45 lines, -43 lines 0 comments Download
A + content/browser/speech/speech_recognition_manager_impl.h View 1 5 chunks +35 lines, -35 lines 0 comments Download
A + content/browser/speech/speech_recognition_manager_impl.cc View 1 2 3 4 5 6 17 chunks +70 lines, -68 lines 0 comments Download
M content/browser/speech/speech_recognition_request.h View 1 2 4 chunks +5 lines, -5 lines 0 comments Download
M content/browser/speech/speech_recognition_request.cc View 1 9 chunks +12 lines, -12 lines 0 comments Download
M content/browser/speech/speech_recognition_request_unittest.cc View 1 5 chunks +13 lines, -13 lines 0 comments Download
M content/browser/speech/speech_recognizer_impl.h View 1 5 chunks +8 lines, -7 lines 0 comments Download
M content/browser/speech/speech_recognizer_impl.cc View 1 7 chunks +11 lines, -10 lines 0 comments Download
M content/browser/speech/speech_recognizer_impl_unittest.cc View 1 19 chunks +21 lines, -21 lines 0 comments Download
M content/common/content_message_generator.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
D content/common/speech_input_messages.h View 1 chunk +0 lines, -87 lines 0 comments Download
A + content/common/speech_recognition_messages.h View 1 2 3 chunks +29 lines, -30 lines 0 comments Download
M content/content_browser.gypi View 1 2 3 4 5 6 7 8 2 chunks +7 lines, -7 lines 0 comments Download
M content/content_common.gypi View 1 2 3 4 5 2 chunks +3 lines, -3 lines 0 comments Download
M content/content_renderer.gypi View 1 3 chunks +4 lines, -4 lines 0 comments Download
M content/public/browser/browser_context.h View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M content/public/browser/content_browser_client.h View 1 2 3 4 2 chunks +16 lines, -3 lines 0 comments Download
D content/public/browser/speech_input_manager.h View 1 chunk +0 lines, -52 lines 0 comments Download
D content/public/browser/speech_input_manager_delegate.h View 1 chunk +0 lines, -73 lines 0 comments Download
D content/public/browser/speech_input_preferences.h View 1 chunk +0 lines, -30 lines 0 comments Download
A + content/public/browser/speech_recognition_manager.h View 4 chunks +7 lines, -7 lines 0 comments Download
A + content/public/browser/speech_recognition_manager_delegate.h View 1 5 chunks +8 lines, -8 lines 0 comments Download
A + content/public/browser/speech_recognition_preferences.h View 2 chunks +7 lines, -7 lines 0 comments Download
M content/public/browser/speech_recognizer.h View 1 chunk +1 line, -1 line 0 comments Download
M content/public/browser/speech_recognizer_delegate.h View 1 3 chunks +4 lines, -3 lines 0 comments Download
D content/public/common/speech_input_result.h View 1 chunk +0 lines, -59 lines 0 comments Download
D content/public/common/speech_input_result.cc View 1 chunk +0 lines, -16 lines 0 comments Download
A content/public/common/speech_recognition_result.h View 1 2 3 4 5 1 chunk +61 lines, -0 lines 0 comments Download
A content/public/common/speech_recognition_result.cc View 1 2 3 4 5 1 chunk +16 lines, -0 lines 0 comments Download
A + content/renderer/input_tag_speech_dispatcher.h View 1 2 3 chunks +14 lines, -14 lines 0 comments Download
A + content/renderer/input_tag_speech_dispatcher.cc View 1 2 3 chunks +37 lines, -35 lines 0 comments Download
M content/renderer/render_view_impl.h View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -2 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 3 4 5 6 7 8 4 chunks +6 lines, -5 lines 0 comments Download
D content/renderer/speech_input_dispatcher.h View 1 chunk +0 lines, -55 lines 0 comments Download
D content/renderer/speech_input_dispatcher.cc View 1 chunk +0 lines, -140 lines 0 comments Download
M content/shell/shell_browser_context.h View 1 2 3 4 2 chunks +3 lines, -2 lines 0 comments Download
M content/shell/shell_browser_context.cc View 1 2 3 4 4 chunks +10 lines, -9 lines 0 comments Download
M content/shell/shell_content_browser_client.h View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M content/shell/shell_content_browser_client.cc View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -2 lines 0 comments Download
M content/test/test_browser_context.h View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M content/test/test_browser_context.cc View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M ipc/ipc_message_utils.h View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 11 (0 generated)
Primiano Tucci (use gerrit)
8 years, 9 months ago (2012-03-01 09:23:30 UTC) #1
hans
This looks good! A couple of nits and a question below. I also think the ...
8 years, 9 months ago (2012-03-05 13:26:33 UTC) #2
Satish
https://chromiumcodereview.appspot.com/9568002/diff/1/content/public/common/speech_recognition_traits.h File content/public/common/speech_recognition_traits.h (left): https://chromiumcodereview.appspot.com/9568002/diff/1/content/public/common/speech_recognition_traits.h#oldcode5 content/public/common/speech_recognition_traits.h:5: #ifndef CONTENT_PUBLIC_COMMON_SPEECH_INPUT_RESULT_H_ suggest naming this file as 'speech_recognition_result.h' and ...
8 years, 9 months ago (2012-03-05 13:32:33 UTC) #3
Primiano Tucci (use gerrit)
https://chromiumcodereview.appspot.com/9568002/diff/1/chrome/chrome_browser.gypi File chrome/chrome_browser.gypi (right): https://chromiumcodereview.appspot.com/9568002/diff/1/chrome/chrome_browser.gypi#newcode2329 chrome/chrome_browser.gypi:2329: 'browser/speech/speech_recognition_bubble_views.cc', On 2012/03/05 13:26:33, hans wrote: > these needs ...
8 years, 9 months ago (2012-03-05 17:37:52 UTC) #4
hans
lgtm
8 years, 9 months ago (2012-03-06 10:05:17 UTC) #5
Satish
Some more comments.. https://chromiumcodereview.appspot.com/9568002/diff/4021/chrome/common/pref_names.h File chrome/common/pref_names.h (right): https://chromiumcodereview.appspot.com/9568002/diff/4021/chrome/common/pref_names.h#newcode253 chrome/common/pref_names.h:253: extern const char kSpeechInputTrayNotificationShown[]; this reminds ...
8 years, 9 months ago (2012-03-06 10:05:31 UTC) #6
Primiano Tucci (use gerrit)
https://chromiumcodereview.appspot.com/9568002/diff/4021/content/browser/speech/input_tag_speech_dispatcher_host.cc File content/browser/speech/input_tag_speech_dispatcher_host.cc (right): https://chromiumcodereview.appspot.com/9568002/diff/4021/content/browser/speech/input_tag_speech_dispatcher_host.cc#newcode60 content/browser/speech/input_tag_speech_dispatcher_host.cc:60: int render_process_id, On 2012/03/06 10:05:36, Satish wrote: > suggest ...
8 years, 9 months ago (2012-03-06 10:40:44 UTC) #7
Satish
lgtm
8 years, 9 months ago (2012-03-06 10:55:28 UTC) #8
darin (slow to review)
OWNERS LGTM
8 years, 9 months ago (2012-03-06 17:35:33 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/primiano@chromium.org/9568002/18255
8 years, 9 months ago (2012-03-07 10:43:17 UTC) #10
commit-bot: I haz the power
8 years, 9 months ago (2012-03-07 10:44:02 UTC) #11
Presubmit check for 9568002-18255 failed and returned exit status 1.

Running presubmit commit checks ...

** Presubmit Messages **
If this change requires manual test instructions to QA team, add
TEST=[instructions].

** Presubmit ERRORS **
Missing LGTM from an OWNER for:
chrome/browser/profiles/profile.cc,chrome/browser/profiles/profile.h,content/public/common/speech_recognition_result.cc,chrome/browser/profiles/profile_impl.h,content/public/browser/speech_recognition_manager.h,content/public/browser/speech_recognizer.h,content/public/common/speech_recognition_result.h,chrome/browser/profiles/off_the_record_profile_impl.cc,chrome/browser/profiles/off_the_record_profile_impl.h,content/public/browser/speech_recognition_preferences.h,chrome/browser/ui/cocoa/speech_recognition_window_controller.mm,chrome/browser/ui/cocoa/speech_recognition_window_controller.h,chrome/browser/profiles/profile_impl.cc,content/public/browser/browser_context.h,content/public/browser/speech_recognizer_delegate.h,content/public/browser/content_browser_client.h,content/public/browser/speech_recognition_manager_delegate.h

Presubmit checks took 6.8s to calculate.

Powered by Google App Engine
This is Rietveld 408576698