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

Issue 10407120: Moving tray icon and notification balloon for background speech recognition sessions to ChromeSpeec… (Closed)

Created:
8 years, 7 months ago by Primiano Tucci (use gerrit)
Modified:
8 years, 6 months ago
CC:
chromium-reviews, mihaip-chromium-reviews_chromium.org, jochen+watch-content_chromium.org, jam, joi+watch-content_chromium.org, Aaron Boodman, Satish, darin-cc_chromium.org
Visibility:
Public.

Description

Moving tray icon and notification balloon for background speech recognition sessions to ChromeSpeechRecognitionManagerDelegate. (Speech CL1.13) The ChromeSpeechRecognitionManagerDelegate now keeps, within profile preferences, a flag that indicates whether a security notification has been shown for each speech recognition context. This applies only to speech recognition sessions initiated by extensions or JS. BUG=116954 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=142399

Patch Set 1 : #

Patch Set 2 : Turned context_name to string (instead of string16) #

Total comments: 4

Patch Set 3 : Hans review. #

Patch Set 4 : Added extension name lookup for recognition initiated within extensions. #

Patch Set 5 : Fixed tray icon tooltip message. #

Total comments: 6

Patch Set 6 : Added DCHECK to extension name lookup #

Patch Set 7 : ASCIIToUTF16 -> UTF8ToUTF16 #

Total comments: 2

Patch Set 8 : Avi nits #

Patch Set 9 : Rebase (win compile errors) #

Patch Set 10 : Fixed win issued ("interface" member clashes with a VS macro name, sigh) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+125 lines, -75 lines) Patch
M chrome/app/generated_resources.grd View 1 chunk +5 lines, -5 lines 0 comments Download
M chrome/browser/speech/chrome_speech_recognition_manager_delegate.h View 1 2 1 chunk +9 lines, -0 lines 0 comments Download
M chrome/browser/speech/chrome_speech_recognition_manager_delegate.cc View 1 2 3 4 5 6 6 chunks +56 lines, -5 lines 0 comments Download
M chrome/browser/speech/chrome_speech_recognition_preferences.h View 1 2 chunks +2 lines, -3 lines 0 comments Download
M chrome/browser/speech/chrome_speech_recognition_preferences.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/speech/speech_input_extension_apitest.cc View 1 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/speech/speech_input_extension_manager.h View 1 2 3 4 5 6 7 8 9 5 chunks +10 lines, -8 lines 0 comments Download
M chrome/browser/speech/speech_input_extension_manager.cc View 1 2 3 4 5 6 7 8 9 9 chunks +28 lines, -26 lines 0 comments Download
M chrome/browser/speech/speech_recognition_tray_icon_controller.cc View 1 2 3 4 2 chunks +2 lines, -4 lines 0 comments Download
M chrome/common/pref_names.h View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -1 line 0 comments Download
M chrome/common/pref_names.cc View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -5 lines 0 comments Download
M content/browser/speech/speech_recognition_dispatcher_host.cc View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M content/public/browser/speech_recognition_session_context.h View 1 2 3 4 5 6 7 2 chunks +3 lines, -9 lines 0 comments Download
M content/public/browser/speech_recognition_session_context.cc View 1 1 chunk +1 line, -2 lines 0 comments Download
M content/renderer/speech_recognition_dispatcher.cc View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 16 (0 generated)
Primiano Tucci (use gerrit)
Note for reviewers: review after Speech CL1.12
8 years, 7 months ago (2012-05-24 13:16:42 UTC) #1
jochen (gone - plz use gerrit)
On 2012/05/24 13:16:42, Primiano Tucci wrote: > Note for reviewers: review after Speech CL1.12 content/ ...
8 years, 7 months ago (2012-05-24 13:22:31 UTC) #2
hans
lgtm http://codereview.chromium.org/10407120/diff/14003/chrome/browser/speech/chrome_speech_recognition_manager_delegate.h File chrome/browser/speech/chrome_speech_recognition_manager_delegate.h (right): http://codereview.chromium.org/10407120/diff/14003/chrome/browser/speech/chrome_speech_recognition_manager_delegate.h#newcode65 chrome/browser/speech/chrome_speech_recognition_manager_delegate.h:65: // profile associated to the renderer that initiated ...
8 years, 6 months ago (2012-06-11 15:52:15 UTC) #3
Primiano Tucci (use gerrit)
http://codereview.chromium.org/10407120/diff/14003/chrome/browser/speech/chrome_speech_recognition_manager_delegate.h File chrome/browser/speech/chrome_speech_recognition_manager_delegate.h (right): http://codereview.chromium.org/10407120/diff/14003/chrome/browser/speech/chrome_speech_recognition_manager_delegate.h#newcode65 chrome/browser/speech/chrome_speech_recognition_manager_delegate.h:65: // profile associated to the renderer that initiated the ...
8 years, 6 months ago (2012-06-11 17:03:21 UTC) #4
Satish
lgtm http://codereview.chromium.org/10407120/diff/15018/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): http://codereview.chromium.org/10407120/diff/15018/chrome/app/generated_resources.grd#newcode15920 chrome/app/generated_resources.grd:15920: + "<ph name="EXTENSION_NAME">$1<ex>Speech Recognizer</ex></ph>" is currently capturing audio ...
8 years, 6 months ago (2012-06-13 12:56:59 UTC) #5
Primiano Tucci (use gerrit)
http://codereview.chromium.org/10407120/diff/15018/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): http://codereview.chromium.org/10407120/diff/15018/chrome/app/generated_resources.grd#newcode15920 chrome/app/generated_resources.grd:15920: + "<ph name="EXTENSION_NAME">$1<ex>Speech Recognizer</ex></ph>" is currently capturing audio for ...
8 years, 6 months ago (2012-06-13 13:29:38 UTC) #6
Primiano Tucci (use gerrit)
http://codereview.chromium.org/10407120/diff/15018/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): http://codereview.chromium.org/10407120/diff/15018/chrome/app/generated_resources.grd#newcode15920 chrome/app/generated_resources.grd:15920: + "<ph name="EXTENSION_NAME">$1<ex>Speech Recognizer</ex></ph>" is currently capturing audio for ...
8 years, 6 months ago (2012-06-13 14:57:17 UTC) #7
Primiano Tucci (use gerrit)
+avi for owners approval on /content/public and /content/renderer
8 years, 6 months ago (2012-06-13 15:01:49 UTC) #8
Avi (use Gerrit)
LGTM if you fix the include noted. http://codereview.chromium.org/10407120/diff/12023/content/public/browser/speech_recognition_session_context.h File content/public/browser/speech_recognition_session_context.h (right): http://codereview.chromium.org/10407120/diff/12023/content/public/browser/speech_recognition_session_context.h#newcode9 content/public/browser/speech_recognition_session_context.h:9: #include "base/basictypes.h" ...
8 years, 6 months ago (2012-06-14 14:35:38 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/10407120/11013
8 years, 6 months ago (2012-06-14 14:51:49 UTC) #10
Primiano Tucci (use gerrit)
http://codereview.chromium.org/10407120/diff/12023/content/public/browser/speech_recognition_session_context.h File content/public/browser/speech_recognition_session_context.h (right): http://codereview.chromium.org/10407120/diff/12023/content/public/browser/speech_recognition_session_context.h#newcode9 content/public/browser/speech_recognition_session_context.h:9: #include "base/basictypes.h" On 2012/06/14 14:35:39, Avi wrote: > What ...
8 years, 6 months ago (2012-06-14 14:52:01 UTC) #11
commit-bot: I haz the power
Try job failure for 10407120-11013 (retry) on win_rel for step "runhooks" (clobber build). It's a ...
8 years, 6 months ago (2012-06-14 15:26:08 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/primiano@chromium.org/10407120/11013
8 years, 6 months ago (2012-06-14 15:27:22 UTC) #13
commit-bot: I haz the power
Try job failure for 10407120-11013 (retry) on win for step "compile" (clobber build). It's a ...
8 years, 6 months ago (2012-06-14 16:51:41 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/primiano@chromium.org/10407120/21001
8 years, 6 months ago (2012-06-15 14:55:41 UTC) #15
commit-bot: I haz the power
8 years, 6 months ago (2012-06-15 16:07:56 UTC) #16
Change committed as 142399

Powered by Google App Engine
This is Rietveld 408576698