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

Issue 780703004: [Hotword] Ok Google options disappear if search provider is changed from (Closed)

Created:
6 years ago by rpetterson
Modified:
6 years ago
CC:
chromium-reviews, dbeam+watch-options_chromium.org, skanuj+watch_chromium.org, melevin+watch_chromium.org, dhollowa+watch_chromium.org, dougw+watch_chromium.org, donnd+watch_chromium.org, jfweitz+watch_chromium.org, David Black, arv+watch_chromium.org, samarth+watch_chromium.org, kmadhusu+watch_chromium.org, rlp+watch_chromium.org, Jered, somast1
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

[Hotword] Ok Google options disappear if search provider is changed from Google to other. This also resets the pref to off if they go away from Google. BUG=437889 Committed: https://crrev.com/a8649e0005039bc3c35db388ca62f4a774a9a914 Cr-Commit-Position: refs/heads/master@{#307041}

Patch Set 1 #

Patch Set 2 : check for hotword service #

Total comments: 12

Patch Set 3 : hideHotwordSection -> setHotwordSectionVisible #

Patch Set 4 : update comment #

Total comments: 3

Patch Set 5 : check for no default url #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -0 lines) Patch
M chrome/browser/resources/options/browser_options.js View 1 2 3 2 chunks +13 lines, -0 lines 0 comments Download
M chrome/browser/search/hotword_service.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/search/hotword_service.cc View 1 chunk +13 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/options/browser_options_handler.cc View 1 2 3 4 1 chunk +16 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (2 generated)
rpetterson
dbeam: browser_options* amistry: hotword_service*
6 years ago (2014-12-04 19:51:23 UTC) #2
Dan Beam
https://codereview.chromium.org/780703004/diff/20001/chrome/browser/resources/options/browser_options.js File chrome/browser/resources/options/browser_options.js (right): https://codereview.chromium.org/780703004/diff/20001/chrome/browser/resources/options/browser_options.js#newcode1203 chrome/browser/resources/options/browser_options.js:1203: hideHotwordSection_: function() { nit: setHotwordSectionVisible: function(visible) { https://codereview.chromium.org/780703004/diff/20001/chrome/browser/search/hotword_service.cc File ...
6 years ago (2014-12-04 20:44:07 UTC) #3
rpetterson
https://codereview.chromium.org/780703004/diff/20001/chrome/browser/resources/options/browser_options.js File chrome/browser/resources/options/browser_options.js (right): https://codereview.chromium.org/780703004/diff/20001/chrome/browser/resources/options/browser_options.js#newcode1203 chrome/browser/resources/options/browser_options.js:1203: hideHotwordSection_: function() { On 2014/12/04 20:44:07, Dan Beam wrote: ...
6 years ago (2014-12-04 23:20:29 UTC) #4
Dan Beam
lgtm though I originally had you change from hide to setVisible so this code could ...
6 years ago (2014-12-04 23:33:07 UTC) #5
Anand Mistry (off Chromium)
LGTM as-is, but I'd like to hear your thoughts about the google.com case. https://codereview.chromium.org/780703004/diff/60001/chrome/browser/search/hotword_service.cc File ...
6 years ago (2014-12-05 03:56:51 UTC) #6
rpetterson
On 2014/12/04 23:33:07, Dan Beam wrote: > lgtm though I originally had you change from ...
6 years ago (2014-12-05 04:57:16 UTC) #7
rpetterson
https://codereview.chromium.org/780703004/diff/60001/chrome/browser/search/hotword_service.cc File chrome/browser/search/hotword_service.cc (right): https://codereview.chromium.org/780703004/diff/60001/chrome/browser/search/hotword_service.cc#newcode747 chrome/browser/search/hotword_service.cc:747: if (IsSometimesOnEnabled()) { On 2014/12/05 03:56:51, Anand Mistry wrote: ...
6 years ago (2014-12-05 04:57:33 UTC) #8
Anand Mistry (off Chromium)
https://codereview.chromium.org/780703004/diff/60001/chrome/browser/search/hotword_service.cc File chrome/browser/search/hotword_service.cc (right): https://codereview.chromium.org/780703004/diff/60001/chrome/browser/search/hotword_service.cc#newcode747 chrome/browser/search/hotword_service.cc:747: if (IsSometimesOnEnabled()) { On 2014/12/05 04:57:33, rpetterson wrote: > ...
6 years ago (2014-12-05 05:23:52 UTC) #9
rpetterson
On 2014/12/05 05:23:52, Anand Mistry wrote: > https://codereview.chromium.org/780703004/diff/60001/chrome/browser/search/hotword_service.cc > File chrome/browser/search/hotword_service.cc (right): > > https://codereview.chromium.org/780703004/diff/60001/chrome/browser/search/hotword_service.cc#newcode747 ...
6 years ago (2014-12-05 05:29:10 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/780703004/80001
6 years ago (2014-12-05 17:03:24 UTC) #12
commit-bot: I haz the power
Committed patchset #5 (id:80001)
6 years ago (2014-12-05 17:54:25 UTC) #13
commit-bot: I haz the power
6 years ago (2014-12-05 17:55:11 UTC) #14
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/a8649e0005039bc3c35db388ca62f4a774a9a914
Cr-Commit-Position: refs/heads/master@{#307041}

Powered by Google App Engine
This is Rietveld 408576698