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 136693013: [Hotword] Remove unneeded preferences. Cleaning up look of settings. (Closed)

Created:
6 years, 11 months ago by rpetterson
Modified:
6 years, 10 months ago
Reviewers:
samarth, James Hawkins
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, dominich, jfweitz+watch_chromium.org, David Black, arv+watch_chromium.org, samarth+watch_chromium.org, kmadhusu+watch_chromium.org, Jered
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

[Hotword] Remove unneeded preferences. Cleaning up look of settings. Removed preferences include: - flag for incognito mode -- hotwording is now always off in incognito - flag for 5 minute timeout -- hotwording now always times out after 5 minutes Cleanup includes: - Moved the pref from Search to Privacy - Added confirm bubble for clicking the pref which adds hotword_confirm_overlay.{html,css} - Changed the wording for the description (also added strings for the confirm/cancel buttons) BUG=325439, 289023 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=247945

Patch Set 1 #

Patch Set 2 : revert a file with tiny comment change #

Patch Set 3 : removing a few mroe instances of prefs #

Total comments: 6

Patch Set 4 : update condition and comments #

Patch Set 5 : updating with changes from UX #

Patch Set 6 : adding missing overlay files #

Total comments: 6

Patch Set 7 : fix nits #

Patch Set 8 : wrong section name in test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -133 lines) Patch
M chrome/app/generated_resources.grd View 1 chunk +6 lines, -9 lines 0 comments Download
M chrome/browser/resources/options/browser_options.css View 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/resources/options/browser_options.html View 1 2 3 4 2 chunks +16 lines, -55 lines 0 comments Download
M chrome/browser/resources/options/browser_options.js View 2 chunks +0 lines, -20 lines 0 comments Download
A + chrome/browser/resources/options/hotword_confirm_overlay.css View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
A chrome/browser/resources/options/hotword_confirm_overlay.html View 1 2 3 4 5 6 1 chunk +21 lines, -0 lines 0 comments Download
M chrome/browser/resources/options/options.html View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/resources/options/options.js View 1 2 3 4 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/browser/search/hotword_service_factory.h View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/search/hotword_service_factory.cc View 1 2 3 2 chunks +1 line, -14 lines 0 comments Download
M chrome/browser/ui/webui/options/browser_options_handler.cc View 1 2 3 4 5 6 5 chunks +12 lines, -15 lines 0 comments Download
M chrome/browser/ui/webui/options/settings_app_browsertest.js View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/pref_names.h View 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/common/pref_names.cc View 1 chunk +0 lines, -9 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
rpetterson
UX made some changes to the preferences. This is mostly removal. samarth@chromium.org: Please review changes ...
6 years, 11 months ago (2014-01-24 19:12:47 UTC) #1
James Hawkins
https://codereview.chromium.org/136693013/diff/30002/chrome/browser/search/hotword_service_factory.cc File chrome/browser/search/hotword_service_factory.cc (right): https://codereview.chromium.org/136693013/diff/30002/chrome/browser/search/hotword_service_factory.cc#newcode17 chrome/browser/search/hotword_service_factory.cc:17: if (!profile || profile->IsOffTheRecord() || Is this right? It ...
6 years, 11 months ago (2014-01-24 22:50:49 UTC) #2
rpetterson
https://codereview.chromium.org/136693013/diff/30002/chrome/browser/search/hotword_service_factory.cc File chrome/browser/search/hotword_service_factory.cc (right): https://codereview.chromium.org/136693013/diff/30002/chrome/browser/search/hotword_service_factory.cc#newcode17 chrome/browser/search/hotword_service_factory.cc:17: if (!profile || profile->IsOffTheRecord() || On 2014/01/24 22:50:49, James ...
6 years, 11 months ago (2014-01-25 00:29:21 UTC) #3
James Hawkins
https://codereview.chromium.org/136693013/diff/30002/chrome/browser/search/hotword_service_factory.cc File chrome/browser/search/hotword_service_factory.cc (right): https://codereview.chromium.org/136693013/diff/30002/chrome/browser/search/hotword_service_factory.cc#newcode17 chrome/browser/search/hotword_service_factory.cc:17: if (!profile || profile->IsOffTheRecord() || On 2014/01/25 00:29:22, rpetterson ...
6 years, 11 months ago (2014-01-27 18:14:36 UTC) #4
samarth
https://codereview.chromium.org/136693013/diff/30002/chrome/browser/search/hotword_service_factory.cc File chrome/browser/search/hotword_service_factory.cc (right): https://codereview.chromium.org/136693013/diff/30002/chrome/browser/search/hotword_service_factory.cc#newcode17 chrome/browser/search/hotword_service_factory.cc:17: if (!profile || profile->IsOffTheRecord() || On 2014/01/27 18:14:37, James ...
6 years, 11 months ago (2014-01-27 18:24:53 UTC) #5
rpetterson
https://codereview.chromium.org/136693013/diff/30002/chrome/browser/search/hotword_service_factory.cc File chrome/browser/search/hotword_service_factory.cc (right): https://codereview.chromium.org/136693013/diff/30002/chrome/browser/search/hotword_service_factory.cc#newcode17 chrome/browser/search/hotword_service_factory.cc:17: if (!profile || profile->IsOffTheRecord() || On 2014/01/27 18:24:53, samarth ...
6 years, 11 months ago (2014-01-27 19:28:13 UTC) #6
samarth
https://codereview.chromium.org/136693013/diff/30002/chrome/browser/search/hotword_service_factory.cc File chrome/browser/search/hotword_service_factory.cc (right): https://codereview.chromium.org/136693013/diff/30002/chrome/browser/search/hotword_service_factory.cc#newcode17 chrome/browser/search/hotword_service_factory.cc:17: if (!profile || profile->IsOffTheRecord() || On 2014/01/27 19:28:13, rpetterson ...
6 years, 11 months ago (2014-01-27 19:50:16 UTC) #7
rpetterson
On 2014/01/27 19:50:16, samarth wrote: > https://codereview.chromium.org/136693013/diff/30002/chrome/browser/search/hotword_service_factory.cc > File chrome/browser/search/hotword_service_factory.cc (right): > > https://codereview.chromium.org/136693013/diff/30002/chrome/browser/search/hotword_service_factory.cc#newcode17 > ...
6 years, 11 months ago (2014-01-27 20:15:26 UTC) #8
samarth
On 2014/01/27 20:15:26, rpetterson wrote: > On 2014/01/27 19:50:16, samarth wrote: > > > https://codereview.chromium.org/136693013/diff/30002/chrome/browser/search/hotword_service_factory.cc ...
6 years, 10 months ago (2014-01-27 21:51:53 UTC) #9
rpetterson
Ah, got it :) So UX has decided they want this moved to privacy so ...
6 years, 10 months ago (2014-01-28 07:09:02 UTC) #10
rpetterson
Hi, Samarth and James, Here's the updated CL with the changes UX requested. Summary of ...
6 years, 10 months ago (2014-01-29 02:20:10 UTC) #11
samarth
slgtm for search
6 years, 10 months ago (2014-01-29 02:27:31 UTC) #12
James Hawkins
LGTM with nits. https://codereview.chromium.org/136693013/diff/150001/chrome/browser/resources/options/hotword_confirm_overlay.html File chrome/browser/resources/options/hotword_confirm_overlay.html (right): https://codereview.chromium.org/136693013/diff/150001/chrome/browser/resources/options/hotword_confirm_overlay.html#newcode8 chrome/browser/resources/options/hotword_confirm_overlay.html:8: i18n-values="href:hotwordLearnMoreURL"></a> nit: Closing tag must be ...
6 years, 10 months ago (2014-01-29 19:06:16 UTC) #13
rpetterson
Thanks! https://codereview.chromium.org/136693013/diff/150001/chrome/browser/resources/options/hotword_confirm_overlay.html File chrome/browser/resources/options/hotword_confirm_overlay.html (right): https://codereview.chromium.org/136693013/diff/150001/chrome/browser/resources/options/hotword_confirm_overlay.html#newcode8 chrome/browser/resources/options/hotword_confirm_overlay.html:8: i18n-values="href:hotwordLearnMoreURL"></a> On 2014/01/29 19:06:16, James Hawkins wrote: > ...
6 years, 10 months ago (2014-01-29 22:31:58 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rlp@chromium.org/136693013/170001
6 years, 10 months ago (2014-01-30 07:24:10 UTC) #15
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=218521
6 years, 10 months ago (2014-01-30 09:03:42 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rlp@chromium.org/136693013/190001
6 years, 10 months ago (2014-01-30 09:58:25 UTC) #17
commit-bot: I haz the power
6 years, 10 months ago (2014-01-30 13:37:17 UTC) #18
Message was sent while issue was closed.
Change committed as 247945

Powered by Google App Engine
This is Rietveld 408576698