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

Issue 2236213002: Add quick unlock Settings in options page (Closed)

Created:
4 years, 4 months ago by xiaoyinh(OOO Sep 11-29)
Modified:
4 years, 4 months ago
CC:
chromium-reviews, dbeam+watch-options_chromium.org, extensions-reviews_chromium.org, michaelpg+watch-options_chromium.org, vabr+watchlistpasswordmanager_chromium.org, michaelpg+watch-md-settings_chromium.org, michaelpg+watch-md-ui_chromium.org, jlklein+watch-closure_chromium.org, oshima+watch_chromium.org, chromium-apps-reviews_chromium.org, vitalyp+closure_chromium.org, dbeam+watch-settings_chromium.org, dbeam+watch-closure_chromium.org, stevenjb+watch-md-settings_chromium.org, gcasto+watchlist_chromium.org, arv+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add quick unlock Settings in options page BUG=629662 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/36a1cc2dac63adf7cf223a158ce9826c3f2fa98b Cr-Commit-Position: refs/heads/master@{#413268}

Patch Set 1 #

Patch Set 2 : rebase #

Total comments: 35

Patch Set 3 : incorporate comments from jdufault@ #

Total comments: 2

Patch Set 4 : try to fix browser tests #

Total comments: 16

Patch Set 5 : incorporate comments from jdufault@ #

Total comments: 27

Patch Set 6 : pre-process i18n in options and trim route_stub.js #

Total comments: 12

Patch Set 7 : incorporate comments and fix browsertest failure #

Patch Set 8 : fix browser test2 #

Total comments: 4

Patch Set 9 : nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+358 lines, -6 lines) Patch
M chrome/app/chromeos_strings.grdp View 1 2 3 4 5 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/extensions/quick_unlock_private/quick_unlock_private_api.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/options/browser_options.js View 1 2 3 4 5 6 1 chunk +7 lines, -0 lines 0 comments Download
A + chrome/browser/resources/options/chromeos/quick_unlock_configure_overlay.css View 1 chunk +2 lines, -2 lines 0 comments Download
A chrome/browser/resources/options/chromeos/quick_unlock_configure_overlay.html View 1 2 3 4 5 6 7 8 1 chunk +6 lines, -0 lines 0 comments Download
A chrome/browser/resources/options/chromeos/quick_unlock_configure_overlay.js View 1 2 3 4 5 6 1 chunk +64 lines, -0 lines 0 comments Download
M chrome/browser/resources/options/compiled_resources.gyp View 1 2 3 4 5 6 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/resources/options/options.html View 1 2 3 4 5 3 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/resources/options/options.js View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/resources/options/options_bundle.js View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
A chrome/browser/resources/options/options_polymer.html View 1 2 3 4 5 6 1 chunk +12 lines, -0 lines 0 comments Download
M chrome/browser/resources/options/sync_section.html View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/resources/options_resources.grd View 1 2 3 4 5 6 1 chunk +85 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/options/browser_options_handler.cc View 1 2 3 4 5 6 7 8 5 chunks +51 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/options/options_browsertest_base.js View 1 2 1 chunk +11 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/options/options_ui.cc View 1 2 3 4 5 6 7 chunks +92 lines, -1 line 0 comments Download
M chrome/common/extensions/api/_api_features.json View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 76 (37 generated)
xiaoyinh(OOO Sep 11-29)
Devlin@, please take a look at chrome/common/extensions/api/ xiyuan@,stevenjb@, jdufault@ please take a look at chrome/browser/resources/ ...
4 years, 4 months ago (2016-08-11 18:15:38 UTC) #10
jdufault
Overall looks good, just some small comments. https://codereview.chromium.org/2236213002/diff/20001/chrome/browser/resources/chromeos/quick_unlock/pin_keyboard.html File chrome/browser/resources/chromeos/quick_unlock/pin_keyboard.html (right): https://codereview.chromium.org/2236213002/diff/20001/chrome/browser/resources/chromeos/quick_unlock/pin_keyboard.html#newcode175 chrome/browser/resources/chromeos/quick_unlock/pin_keyboard.html:175: <inner-text>[[i18n('pinKeyboard1')]]</inner-text> Can ...
4 years, 4 months ago (2016-08-11 18:34:11 UTC) #11
Devlin
chrome/common/extensions/api/_api_features.json lgtm
4 years, 4 months ago (2016-08-11 20:38:10 UTC) #14
xiaoyinh(OOO Sep 11-29)
jdufault@, thank you for the review comments. Please find my reply below. I'm investigating the ...
4 years, 4 months ago (2016-08-11 23:59:51 UTC) #15
xiaoyinh(OOO Sep 11-29)
Looks like browsertest failed because some overlays cannot be opened using URLs. for example: chrome://settings-frame/resetProfileSettings ...
4 years, 4 months ago (2016-08-12 21:44:38 UTC) #16
jdufault
lgtm https://codereview.chromium.org/2236213002/diff/20001/chrome/browser/resources/settings/people_page/lock_screen.html File chrome/browser/resources/settings/people_page/lock_screen.html (right): https://codereview.chromium.org/2236213002/diff/20001/chrome/browser/resources/settings/people_page/lock_screen.html#newcode42 chrome/browser/resources/settings/people_page/lock_screen.html:42: <div class="settings-box single-column"> On 2016/08/11 23:59:51, xiaoyinh wrote: ...
4 years, 4 months ago (2016-08-12 21:45:35 UTC) #17
jdufault
On 2016/08/12 21:44:38, xiaoyinh wrote: > Looks like browsertest failed because some overlays cannot be ...
4 years, 4 months ago (2016-08-12 21:59:04 UTC) #18
xiaoyinh(OOO Sep 11-29)
On 2016/08/12 21:59:04, jdufault wrote: > On 2016/08/12 21:44:38, xiaoyinh wrote: > > Looks like ...
4 years, 4 months ago (2016-08-12 22:14:22 UTC) #19
stevenjb
+dbeam@, +tommycli@ This seems like a lot of change. I know we need this for ...
4 years, 4 months ago (2016-08-15 18:50:19 UTC) #25
jdufault
On 2016/08/15 18:50:19, stevenjb wrote: > +dbeam@, +tommycli@ > > This seems like a lot ...
4 years, 4 months ago (2016-08-15 19:20:59 UTC) #26
jdufault
https://codereview.chromium.org/2236213002/diff/60001/chrome/browser/resources/options/route.js File chrome/browser/resources/options/route.js (right): https://codereview.chromium.org/2236213002/diff/60001/chrome/browser/resources/options/route.js#newcode9 chrome/browser/resources/options/route.js:9: // I add a copy in options instead of ...
4 years, 4 months ago (2016-08-15 19:21:19 UTC) #27
xiaoyinh(OOO Sep 11-29)
In PS5, I have moved the sources loading logic back to URLDataSource, to keep consistent ...
4 years, 4 months ago (2016-08-16 17:33:44 UTC) #30
xiaoyinh(OOO Sep 11-29)
On 2016/08/15 18:50:19, stevenjb wrote: > +dbeam@, +tommycli@ > > This seems like a lot ...
4 years, 4 months ago (2016-08-16 17:36:20 UTC) #31
jdufault
lgtm https://codereview.chromium.org/2236213002/diff/80001/chrome/browser/resources/options/chromeos/quick_unlock_configure_overlay.html File chrome/browser/resources/options/chromeos/quick_unlock_configure_overlay.html (right): https://codereview.chromium.org/2236213002/diff/80001/chrome/browser/resources/options/chromeos/quick_unlock_configure_overlay.html#newcode3 chrome/browser/resources/options/chromeos/quick_unlock_configure_overlay.html:3: <h1 i18n-content="lockScreenTitle"> </h1> nit: removing middle space <h1 ...
4 years, 4 months ago (2016-08-16 17:43:15 UTC) #32
xiyuan
https://codereview.chromium.org/2236213002/diff/80001/chrome/browser/resources/options_resources.grd File chrome/browser/resources/options_resources.grd (right): https://codereview.chromium.org/2236213002/diff/80001/chrome/browser/resources/options_resources.grd#newcode20 chrome/browser/resources/options_resources.grd:20: <structure name="IDR_OPTIONS_PIN_KEYBOARD_HTML" Can we only include them for chromeos ...
4 years, 4 months ago (2016-08-16 18:19:47 UTC) #35
tommycli
Two major suggestions below can make this patch smaller: i18n-preprocess Options, and axe most of ...
4 years, 4 months ago (2016-08-16 20:08:36 UTC) #37
stevenjb
I added a couple of my specific concerns. I'm mostly not excited about the many ...
4 years, 4 months ago (2016-08-16 20:59:52 UTC) #38
tommycli
On 2016/08/16 20:59:52, stevenjb wrote: > I added a couple of my specific concerns. I'm ...
4 years, 4 months ago (2016-08-16 21:08:30 UTC) #39
tommycli
One more question: https://codereview.chromium.org/2236213002/diff/80001/chrome/browser/resources/settings/people_page/lock_screen.html File chrome/browser/resources/settings/people_page/lock_screen.html (right): https://codereview.chromium.org/2236213002/diff/80001/chrome/browser/resources/settings/people_page/lock_screen.html#newcode19 chrome/browser/resources/settings/people_page/lock_screen.html:19: don't need to support options --> ...
4 years, 4 months ago (2016-08-16 21:10:24 UTC) #40
xiaoyinh(OOO Sep 11-29)
On 2016/08/16 21:10:24, tommycli wrote: > One more question: > > https://codereview.chromium.org/2236213002/diff/80001/chrome/browser/resources/settings/people_page/lock_screen.html > File chrome/browser/resources/settings/people_page/lock_screen.html ...
4 years, 4 months ago (2016-08-16 21:19:04 UTC) #41
xiaoyinh(OOO Sep 11-29)
Hi, thank you so much for the comments. In this patch I have: 1. Incorporate ...
4 years, 4 months ago (2016-08-17 20:52:12 UTC) #42
jdufault
https://codereview.chromium.org/2236213002/diff/100001/chrome/browser/resources/settings/people_page/lock_screen.html File chrome/browser/resources/settings/people_page/lock_screen.html (right): https://codereview.chromium.org/2236213002/diff/100001/chrome/browser/resources/settings/people_page/lock_screen.html#newcode53 chrome/browser/resources/settings/people_page/lock_screen.html:53: label="$i18n{enableScreenlock}" hidden$="[[hideEnableScreenlock]]"> Newline instead of wrapping https://codereview.chromium.org/2236213002/diff/100001/chrome/browser/ui/webui/options/browser_options_handler.cc File chrome/browser/ui/webui/options/browser_options_handler.cc ...
4 years, 4 months ago (2016-08-17 21:07:29 UTC) #43
tommycli
some further comments. https://codereview.chromium.org/2236213002/diff/80001/chrome/browser/resources/options/route_stub.js File chrome/browser/resources/options/route_stub.js (right): https://codereview.chromium.org/2236213002/diff/80001/chrome/browser/resources/options/route_stub.js#newcode107 chrome/browser/resources/options/route_stub.js:107: return { I think in this ...
4 years, 4 months ago (2016-08-17 21:19:59 UTC) #44
xiyuan
https://codereview.chromium.org/2236213002/diff/100001/chrome/browser/ui/webui/options/options_ui.cc File chrome/browser/ui/webui/options/options_ui.cc (right): https://codereview.chromium.org/2236213002/diff/100001/chrome/browser/ui/webui/options/options_ui.cc#newcode240 chrome/browser/ui/webui/options/options_ui.cc:240: if (path == kLocalizedStringsFile || path == kOptionsBundleJsFile) nit: ...
4 years, 4 months ago (2016-08-17 21:30:35 UTC) #45
xiaoyinh(OOO Sep 11-29)
PS7 has removed route_stub.html/js files and all the changes in settings. Also changed quick_unlock_private_api.cc to ...
4 years, 4 months ago (2016-08-18 22:41:13 UTC) #48
tommycli
Since there is no longer any changes to anything in Settings or any route stubbing, ...
4 years, 4 months ago (2016-08-18 22:46:00 UTC) #49
Dan Beam
dudddddddde, this is a lot of code why are we using polymer in the old ...
4 years, 4 months ago (2016-08-19 06:39:20 UTC) #56
jdufault
On 2016/08/19 06:39:20, Dan Beam wrote: > dudddddddde, this is a lot of code > ...
4 years, 4 months ago (2016-08-19 16:46:25 UTC) #57
tommycli
On 2016/08/19 06:39:20, Dan Beam wrote: > dudddddddde, this is a lot of code > ...
4 years, 4 months ago (2016-08-19 17:46:45 UTC) #58
xiaoyinh(OOO Sep 11-29)
On 2016/08/19 17:46:45, tommycli wrote: > On 2016/08/19 06:39:20, Dan Beam wrote: > > dudddddddde, ...
4 years, 4 months ago (2016-08-19 17:59:35 UTC) #59
Dan Beam
On 2016/08/19 16:46:25, jdufault wrote: > On 2016/08/19 06:39:20, Dan Beam wrote: > > dudddddddde, ...
4 years, 4 months ago (2016-08-19 18:18:27 UTC) #60
Dan Beam
not lgtm until I see some proof that UI people are OK with this
4 years, 4 months ago (2016-08-19 18:19:17 UTC) #61
dschuyler
A couple nits. The ReplaceTemplates part of the CL LGTM. https://codereview.chromium.org/2236213002/diff/140001/chrome/browser/resources/options/chromeos/quick_unlock_configure_overlay.html File chrome/browser/resources/options/chromeos/quick_unlock_configure_overlay.html (right): https://codereview.chromium.org/2236213002/diff/140001/chrome/browser/resources/options/chromeos/quick_unlock_configure_overlay.html#newcode5 ...
4 years, 4 months ago (2016-08-19 18:27:38 UTC) #62
Dan Beam
On 2016/08/19 18:19:17, Dan Beam wrote: > not lgtm until I see some proof that ...
4 years, 4 months ago (2016-08-19 19:17:06 UTC) #63
xiyuan
lgtm
4 years, 4 months ago (2016-08-19 19:28:30 UTC) #64
xiaoyinh(OOO Sep 11-29)
https://codereview.chromium.org/2236213002/diff/140001/chrome/browser/resources/options/chromeos/quick_unlock_configure_overlay.html File chrome/browser/resources/options/chromeos/quick_unlock_configure_overlay.html (right): https://codereview.chromium.org/2236213002/diff/140001/chrome/browser/resources/options/chromeos/quick_unlock_configure_overlay.html#newcode5 chrome/browser/resources/options/chromeos/quick_unlock_configure_overlay.html:5: prefs="{{prefs}}"> On 2016/08/19 18:27:38, dschuyler wrote: > nit: unwrap ...
4 years, 4 months ago (2016-08-19 21:02:53 UTC) #67
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/2236213002/160001
4 years, 4 months ago (2016-08-19 22:30:21 UTC) #72
commit-bot: I haz the power
Committed patchset #9 (id:160001)
4 years, 4 months ago (2016-08-19 22:36:18 UTC) #74
commit-bot: I haz the power
4 years, 4 months ago (2016-08-19 22:37:59 UTC) #76
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/36a1cc2dac63adf7cf223a158ce9826c3f2fa98b
Cr-Commit-Position: refs/heads/master@{#413268}

Powered by Google App Engine
This is Rietveld 408576698