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

Issue 600523004: Support hotwording on google.com and the new tab page. (Closed)

Created:
6 years, 3 months ago by Anand Mistry (off Chromium)
Modified:
6 years, 2 months ago
Reviewers:
rpetterson, Dan Beam
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, rlp+watch_chromium.org, arv+watch_chromium.org, extensions-reviews_chromium.org, chrome-apps-syd-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Support hotwording on google.com and the new tab page. The audio_client.js content script is copied from the existing hotword_helper extesion, with the only change being the hotword extension ID to point to this new extension. BUG=397019 Committed: https://crrev.com/69ec447836330c3e1fc62ee2deb7027fdbd2e4a0 Cr-Commit-Position: refs/heads/master@{#299394}

Patch Set 1 #

Patch Set 2 : Cleanup for review. #

Total comments: 7

Patch Set 3 : Move started callback into session object. #

Total comments: 4

Patch Set 4 : Rebase. #

Patch Set 5 : Rebase. #

Patch Set 6 : Rebase. #

Total comments: 29

Patch Set 7 : Rebase and fix copyright lines. #

Patch Set 8 : Rebase. #

Patch Set 9 : Address review comments. #

Patch Set 10 : Remove extra blank lines. #

Total comments: 23

Patch Set 11 : Address more review comments. #

Patch Set 12 : Remove unnecessary hasListener check. #

Total comments: 4

Patch Set 13 : More review comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+588 lines, -55 lines) Patch
M chrome/browser/resources/component_extension_resources.grd View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
A + chrome/browser/resources/hotword/audio_client.js View 1 2 3 4 5 6 7 8 9 22 chunks +2 lines, -25 lines 0 comments Download
M chrome/browser/resources/hotword/constants.js View 1 2 3 4 5 6 7 8 9 10 3 chunks +51 lines, -4 lines 0 comments Download
M chrome/browser/resources/hotword/manager.js View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/resources/hotword/manifest.json View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
A chrome/browser/resources/hotword/page_audio_manager.js View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +435 lines, -0 lines 0 comments Download
M chrome/browser/resources/hotword/state_manager.js View 1 2 3 4 5 6 7 8 9 10 11 12 9 chunks +91 lines, -25 lines 0 comments Download

Messages

Total messages: 20 (2 generated)
Anand Mistry (off Chromium)
6 years, 3 months ago (2014-09-25 01:28:53 UTC) #2
rpetterson
https://codereview.chromium.org/600523004/diff/20001/chrome/browser/resources/hotword/manager.js File chrome/browser/resources/hotword/manager.js (right): https://codereview.chromium.org/600523004/diff/20001/chrome/browser/resources/hotword/manager.js#newcode53 chrome/browser/resources/hotword/manager.js:53: chrome.hotwordPrivate.notifyHotwordRecognition('search', Based on hotword_private_api.cc, the type -- 'search' in ...
6 years, 3 months ago (2014-09-25 02:23:38 UTC) #3
Anand Mistry (off Chromium)
https://codereview.chromium.org/600523004/diff/20001/chrome/browser/resources/hotword/manager.js File chrome/browser/resources/hotword/manager.js (right): https://codereview.chromium.org/600523004/diff/20001/chrome/browser/resources/hotword/manager.js#newcode53 chrome/browser/resources/hotword/manager.js:53: chrome.hotwordPrivate.notifyHotwordRecognition('search', On 2014/09/25 02:23:37, rpetterson wrote: > Based on ...
6 years, 3 months ago (2014-09-25 05:23:43 UTC) #4
rpetterson
LGTM https://codereview.chromium.org/600523004/diff/20001/chrome/browser/resources/hotword/manager.js File chrome/browser/resources/hotword/manager.js (right): https://codereview.chromium.org/600523004/diff/20001/chrome/browser/resources/hotword/manager.js#newcode53 chrome/browser/resources/hotword/manager.js:53: chrome.hotwordPrivate.notifyHotwordRecognition('search', On 2014/09/25 05:23:42, Anand Mistry wrote: > ...
6 years, 2 months ago (2014-09-30 01:57:30 UTC) #5
Anand Mistry (off Chromium)
Dan: Ping! ...or re-assign :P
6 years, 2 months ago (2014-10-03 03:40:20 UTC) #6
Dan Beam
https://codereview.chromium.org/600523004/diff/40001/chrome/browser/resources/hotword/audio_client.js File chrome/browser/resources/hotword/audio_client.js (right): https://codereview.chromium.org/600523004/diff/40001/chrome/browser/resources/hotword/audio_client.js#newcode93 chrome/browser/resources/hotword/audio_client.js:93: AudioClient.HOTWORD_EXTENSION_ID_ = 'nbpagnldghgfoolbancepceaanlmhfmd'; nit: eventually makes sense to only ...
6 years, 2 months ago (2014-10-09 22:43:58 UTC) #7
Dan Beam
On 2014/10/03 03:40:20, Anand Mistry wrote: > Dan: Ping! ...or re-assign :P btw, feel free ...
6 years, 2 months ago (2014-10-09 22:44:23 UTC) #8
Anand Mistry (off Chromium)
https://codereview.chromium.org/600523004/diff/100001/chrome/browser/resources/hotword/constants.js File chrome/browser/resources/hotword/constants.js (right): https://codereview.chromium.org/600523004/diff/100001/chrome/browser/resources/hotword/constants.js#newcode137 chrome/browser/resources/hotword/constants.js:137: COMMAND_FIELD_NAME: COMMAND_FIELD_NAME, On 2014/10/09 22:43:58, Dan Beam wrote: > ...
6 years, 2 months ago (2014-10-10 23:11:45 UTC) #9
Anand Mistry (off Chromium)
https://codereview.chromium.org/600523004/diff/40001/chrome/browser/resources/hotword/audio_client.js File chrome/browser/resources/hotword/audio_client.js (right): https://codereview.chromium.org/600523004/diff/40001/chrome/browser/resources/hotword/audio_client.js#newcode93 chrome/browser/resources/hotword/audio_client.js:93: AudioClient.HOTWORD_EXTENSION_ID_ = 'nbpagnldghgfoolbancepceaanlmhfmd'; On 2014/10/09 22:43:58, Dan Beam wrote: ...
6 years, 2 months ago (2014-10-10 23:22:15 UTC) #10
Dan Beam
just waiting on PageAudioManager#disconnectAllClients_ https://codereview.chromium.org/600523004/diff/100001/chrome/browser/resources/hotword/constants.js File chrome/browser/resources/hotword/constants.js (right): https://codereview.chromium.org/600523004/diff/100001/chrome/browser/resources/hotword/constants.js#newcode137 chrome/browser/resources/hotword/constants.js:137: COMMAND_FIELD_NAME: COMMAND_FIELD_NAME, On 2014/10/10 23:11:44, ...
6 years, 2 months ago (2014-10-11 00:54:36 UTC) #11
Anand Mistry (off Chromium)
https://codereview.chromium.org/600523004/diff/100001/chrome/browser/resources/hotword/constants.js File chrome/browser/resources/hotword/constants.js (right): https://codereview.chromium.org/600523004/diff/100001/chrome/browser/resources/hotword/constants.js#newcode137 chrome/browser/resources/hotword/constants.js:137: COMMAND_FIELD_NAME: COMMAND_FIELD_NAME, On 2014/10/11 00:54:35, Dan Beam wrote: > ...
6 years, 2 months ago (2014-10-13 19:30:21 UTC) #12
Dan Beam
https://codereview.chromium.org/600523004/diff/410001/chrome/browser/resources/hotword/page_audio_manager.js File chrome/browser/resources/hotword/page_audio_manager.js (right): https://codereview.chromium.org/600523004/diff/410001/chrome/browser/resources/hotword/page_audio_manager.js#newcode411 chrome/browser/resources/hotword/page_audio_manager.js:411: return; On 2014/10/13 19:30:21, Anand Mistry wrote: > On ...
6 years, 2 months ago (2014-10-13 19:33:09 UTC) #13
Anand Mistry (off Chromium)
https://codereview.chromium.org/600523004/diff/410001/chrome/browser/resources/hotword/page_audio_manager.js File chrome/browser/resources/hotword/page_audio_manager.js (right): https://codereview.chromium.org/600523004/diff/410001/chrome/browser/resources/hotword/page_audio_manager.js#newcode411 chrome/browser/resources/hotword/page_audio_manager.js:411: return; On 2014/10/13 19:33:09, Dan Beam wrote: > On ...
6 years, 2 months ago (2014-10-13 19:39:44 UTC) #14
Dan Beam
lgtm https://codereview.chromium.org/600523004/diff/620001/chrome/browser/resources/hotword/page_audio_manager.js File chrome/browser/resources/hotword/page_audio_manager.js (right): https://codereview.chromium.org/600523004/diff/620001/chrome/browser/resources/hotword/page_audio_manager.js#newcode55 chrome/browser/resources/hotword/page_audio_manager.js:55: * Helper function to test if a URL ...
6 years, 2 months ago (2014-10-13 21:58:03 UTC) #15
Anand Mistry (off Chromium)
Thanks. https://codereview.chromium.org/600523004/diff/620001/chrome/browser/resources/hotword/page_audio_manager.js File chrome/browser/resources/hotword/page_audio_manager.js (right): https://codereview.chromium.org/600523004/diff/620001/chrome/browser/resources/hotword/page_audio_manager.js#newcode55 chrome/browser/resources/hotword/page_audio_manager.js:55: * Helper function to test if a URL ...
6 years, 2 months ago (2014-10-13 22:30:16 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/600523004/710001
6 years, 2 months ago (2014-10-13 22:35:40 UTC) #18
commit-bot: I haz the power
Committed patchset #13 (id:710001)
6 years, 2 months ago (2014-10-13 23:48:12 UTC) #19
commit-bot: I haz the power
6 years, 2 months ago (2014-10-13 23:48:53 UTC) #20
Message was sent while issue was closed.
Patchset 13 (id:??) landed as
https://crrev.com/69ec447836330c3e1fc62ee2deb7027fdbd2e4a0
Cr-Commit-Position: refs/heads/master@{#299394}

Powered by Google App Engine
This is Rietveld 408576698