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

Issue 2507363002: MD Settings: Add Hotword (OK Google) section to search_page (Closed)

Created:
4 years, 1 month ago by stevenjb
Modified:
4 years ago
Reviewers:
michaelpg
CC:
chromium-reviews, extensions-reviews_chromium.org, michaelpg+watch-md-settings_chromium.org, jlklein+watch-closure_chromium.org, michaelpg+watch-md-ui_chromium.org, arv+watch_chromium.org, vitalyp+closure_chromium.org, chromium-apps-reviews_chromium.org, dbeam+watch-settings_chromium.org, stevenjb+watch-md-settings_chromium.org, dbeam+watch-closure_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

MD Settings: Add Hotword (OK Google) section to search_page The Hotword/OK Google section in the existing UI is... fragile. This is an attempt to simplify and implement the UI without breaking any existing functionality. It would benefit from a re-implementation, ideally ising the existing hotwordingPrivate API (which would may need to be expanded). BUG=614439 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/1855b444e1246227907fdae45be098f2a1543982 Cr-Commit-Position: refs/heads/master@{#434830}

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : WIP #

Patch Set 4 : Rebase #

Patch Set 5 : Self Review #

Patch Set 6 : Self Review #

Total comments: 20

Patch Set 7 : Rebase #

Patch Set 8 : Feedback #

Patch Set 9 : Use MockInteractions.tap(checkbox.$.checkbox) #

Total comments: 2

Patch Set 10 : Nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+565 lines, -25 lines) Patch
M chrome/app/settings_strings.grdp View 1 2 3 4 5 6 7 1 chunk +23 lines, -4 lines 0 comments Download
M chrome/browser/extensions/api/settings_private/prefs_util.cc View 1 2 3 4 5 6 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/controls/settings_checkbox.html View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/settings/search_engines_page/search_engines_browser_proxy.js View 1 2 4 chunks +29 lines, -3 lines 0 comments Download
M chrome/browser/resources/settings/search_page/compiled_resources2.gyp View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/search_page/search_page.html View 1 2 3 4 5 6 7 3 chunks +65 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/search_page/search_page.js View 1 2 3 4 5 6 7 4 chunks +93 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc View 1 2 3 4 5 6 7 1 chunk +14 lines, -4 lines 0 comments Download
M chrome/browser/ui/webui/settings/search_engines_handler.h View 1 2 3 4 5 3 chunks +34 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/settings/search_engines_handler.cc View 1 2 3 4 5 6 7 7 chunks +202 lines, -3 lines 0 comments Download
M chrome/test/data/webui/settings/search_page_test.js View 1 2 3 4 5 6 7 8 1 chunk +50 lines, -0 lines 0 comments Download
M chrome/test/data/webui/settings/test_search_engines_browser_proxy.js View 1 2 3 3 chunks +46 lines, -8 lines 0 comments Download

Messages

Total messages: 16 (6 generated)
stevenjb
4 years, 1 month ago (2016-11-21 23:39:14 UTC) #3
michaelpg
It could be helpful to sprinkle in a few comments about when "enabled" refers to ...
4 years ago (2016-11-27 22:25:37 UTC) #4
stevenjb
https://codereview.chromium.org/2507363002/diff/100001/chrome/app/settings_strings.grdp File chrome/app/settings_strings.grdp (right): https://codereview.chromium.org/2507363002/diff/100001/chrome/app/settings_strings.grdp#newcode1584 chrome/app/settings_strings.grdp:1584: <message name="IDS_SETTINGS_SEARCH_OK_GOOGLE_SUBTEXT_NO_DSP" desc="Subtext describing when the OK Google hotword ...
4 years ago (2016-11-28 20:53:37 UTC) #5
stevenjb
OK, I tried one more thing, which I thought I had already tried, again and ...
4 years ago (2016-11-28 21:10:11 UTC) #6
michaelpg
On 2016/11/28 21:10:11, stevenjb wrote: > OK, I tried one more thing, which I thought ...
4 years ago (2016-11-28 22:47:26 UTC) #7
michaelpg
LGTM w/ a "developer usability" comment https://codereview.chromium.org/2507363002/diff/160001/chrome/browser/resources/settings/controls/settings_checkbox.html File chrome/browser/resources/settings/controls/settings_checkbox.html (right): https://codereview.chromium.org/2507363002/diff/160001/chrome/browser/resources/settings/controls/settings_checkbox.html#newcode35 chrome/browser/resources/settings/controls/settings_checkbox.html:35: <div>[[label]]<content></content></div> let's at ...
4 years ago (2016-11-28 22:57:07 UTC) #8
stevenjb
https://codereview.chromium.org/2507363002/diff/160001/chrome/browser/resources/settings/controls/settings_checkbox.html File chrome/browser/resources/settings/controls/settings_checkbox.html (right): https://codereview.chromium.org/2507363002/diff/160001/chrome/browser/resources/settings/controls/settings_checkbox.html#newcode35 chrome/browser/resources/settings/controls/settings_checkbox.html:35: <div>[[label]]<content></content></div> On 2016/11/28 22:57:07, michaelpg wrote: > let's at ...
4 years ago (2016-11-28 23:05:17 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2507363002/180001
4 years ago (2016-11-28 23:07:21 UTC) #12
commit-bot: I haz the power
Committed patchset #10 (id:180001)
4 years ago (2016-11-29 02:09:00 UTC) #14
commit-bot: I haz the power
4 years ago (2016-11-29 02:12:08 UTC) #16
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/1855b444e1246227907fdae45be098f2a1543982
Cr-Commit-Position: refs/heads/master@{#434830}

Powered by Google App Engine
This is Rietveld 408576698