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

Issue 1933913002: Add a very basic PIN UI implementation that is shared between lock and settings. (Closed)

Created:
4 years, 7 months ago by jdufault
Modified:
4 years, 7 months ago
CC:
chromium-reviews, michaelpg+watch-md-settings_chromium.org, dzhioev+watch_chromium.org, achuith+watch_chromium.org, michaelpg+watch-md-ui_chromium.org, arv+watch_chromium.org, oshima+watch_chromium.org, dbeam+watch-settings_chromium.org, stevenjb+watch-md-settings_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@lkgr
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add a very basic PIN UI implementation that is shared between lock and settings. Most things are still in flux, but this will help provide some structure for the rest of the code. BUG=603217 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/22dfa22df0ddbcab9f47d189207a11bdea820d75 Cr-Commit-Position: refs/heads/master@{#393081}

Patch Set 1 #

Total comments: 65

Patch Set 2 : Address comments, add TODOs #

Total comments: 10

Patch Set 3 : Address comments #

Total comments: 6

Patch Set 4 : Use ResourceLoader, rename pin.* to pin_keyboard.* #

Total comments: 11

Patch Set 5 : Nits and fix tests #

Patch Set 6 : Fix tests by removing a previously unused import that started getting used b/c of resource loader c… #

Unified diffs Side-by-side diffs Delta from patch set Stats (+353 lines, -10 lines) Patch
M chrome/browser/browser_resources.grd View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/resources/chromeos/compiled_resources.gyp View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/resources/chromeos/login/custom_elements_lock.html View 1 2 3 1 chunk +4 lines, -1 line 0 comments Download
M chrome/browser/resources/chromeos/login/lock.html View 1 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/resources/chromeos/login/lock.js View 1 2 3 4 1 chunk +28 lines, -0 lines 0 comments Download
M chrome/browser/resources/chromeos/login/oobe_screen_oauth_enrollment.html View 1 2 3 4 5 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/resources/chromeos/login/screen_container.html View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
A chrome/browser/resources/chromeos/quick_unlock/pin_keyboard.html View 1 2 3 1 chunk +152 lines, -0 lines 0 comments Download
A chrome/browser/resources/chromeos/quick_unlock/pin_keyboard.js View 1 2 3 1 chunk +36 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/people_page/people_page.html View 1 2 3 2 chunks +11 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/people_page/people_page.js View 1 2 3 1 chunk +12 lines, -0 lines 0 comments Download
A chrome/browser/resources/settings/people_page/pin_keyboard.html View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
A + chrome/browser/resources/settings/people_page/pin_keyboard.js View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/settings/settings_resources.grd View 1 2 3 4 1 chunk +9 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/oobe_ui.cc View 1 2 3 2 chunks +15 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc View 1 2 3 2 chunks +13 lines, -0 lines 0 comments Download
M ui/login/account_picker/user_pod_row.js View 1 2 3 4 2 chunks +17 lines, -0 lines 0 comments Download
M ui/login/resource_loader.js View 1 2 3 4 5 chunks +34 lines, -6 lines 0 comments Download
M ui/login/screen_container.css View 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 30 (8 generated)
jdufault
+tommycli@ or stevenjb@ for c/b/r/settings and polymer in c/b/r/cros/quick_unlock +achuith@ or xiyuan@ for c/b/r/login, c/b/r/cros/quick_unlock, ...
4 years, 7 months ago (2016-04-29 20:38:58 UTC) #2
tommycli
stevenjb: I'll start looking at this on Monday.
4 years, 7 months ago (2016-04-29 22:11:57 UTC) #3
tommycli
General theme: Maybe break up this CL if that helps. There are some portions that ...
4 years, 7 months ago (2016-05-02 16:11:27 UTC) #4
xiyuan
https://codereview.chromium.org/1933913002/diff/1/chrome/browser/resources/chromeos/quick_unlock/pin.html File chrome/browser/resources/chromeos/quick_unlock/pin.html (right): https://codereview.chromium.org/1933913002/diff/1/chrome/browser/resources/chromeos/quick_unlock/pin.html#newcode57 chrome/browser/resources/chromeos/quick_unlock/pin.html:57: <div id="submitContainer"> nit: We don't use camel case for ...
4 years, 7 months ago (2016-05-02 20:03:34 UTC) #5
jdufault
https://codereview.chromium.org/1933913002/diff/1/chrome/browser/resources/chromeos/login/custom_elements_lock.html File chrome/browser/resources/chromeos/login/custom_elements_lock.html (right): https://codereview.chromium.org/1933913002/diff/1/chrome/browser/resources/chromeos/login/custom_elements_lock.html#newcode1 chrome/browser/resources/chromeos/login/custom_elements_lock.html:1: <script src="chrome://oobe/custom_elements.js"></script> On 2016/05/02 16:11:26, tommycli wrote: > Does ...
4 years, 7 months ago (2016-05-03 19:21:58 UTC) #6
tommycli
https://codereview.chromium.org/1933913002/diff/1/chrome/browser/resources/chromeos/login/custom_elements_lock.js File chrome/browser/resources/chromeos/login/custom_elements_lock.js (right): https://codereview.chromium.org/1933913002/diff/1/chrome/browser/resources/chromeos/login/custom_elements_lock.js#newcode30 chrome/browser/resources/chromeos/login/custom_elements_lock.js:30: window.addEventListener('DOMContentLoaded', function() { On 2016/05/03 19:21:57, jdufault wrote: > ...
4 years, 7 months ago (2016-05-04 19:29:03 UTC) #7
jdufault
https://codereview.chromium.org/1933913002/diff/1/chrome/browser/resources/chromeos/login/custom_elements_lock.js File chrome/browser/resources/chromeos/login/custom_elements_lock.js (right): https://codereview.chromium.org/1933913002/diff/1/chrome/browser/resources/chromeos/login/custom_elements_lock.js#newcode30 chrome/browser/resources/chromeos/login/custom_elements_lock.js:30: window.addEventListener('DOMContentLoaded', function() { On 2016/05/04 19:29:02, tommycli wrote: > ...
4 years, 7 months ago (2016-05-06 00:05:46 UTC) #8
xiyuan
https://codereview.chromium.org/1933913002/diff/1/chrome/browser/resources/chromeos/login/custom_elements_lock.js File chrome/browser/resources/chromeos/login/custom_elements_lock.js (right): https://codereview.chromium.org/1933913002/diff/1/chrome/browser/resources/chromeos/login/custom_elements_lock.js#newcode30 chrome/browser/resources/chromeos/login/custom_elements_lock.js:30: window.addEventListener('DOMContentLoaded', function() { On 2016/05/06 00:05:46, jdufault wrote: > ...
4 years, 7 months ago (2016-05-06 16:52:34 UTC) #9
tommycli
I have some additional comments, but I think we are getting close. I think the ...
4 years, 7 months ago (2016-05-06 18:15:44 UTC) #10
jdufault
https://codereview.chromium.org/1933913002/diff/1/chrome/browser/resources/chromeos/login/custom_elements_lock.js File chrome/browser/resources/chromeos/login/custom_elements_lock.js (right): https://codereview.chromium.org/1933913002/diff/1/chrome/browser/resources/chromeos/login/custom_elements_lock.js#newcode30 chrome/browser/resources/chromeos/login/custom_elements_lock.js:30: window.addEventListener('DOMContentLoaded', function() { On 2016/05/06 16:52:34, xiyuan wrote: > ...
4 years, 7 months ago (2016-05-06 23:44:18 UTC) #12
tommycli
this is lgtm except for the below from my perspective. You will need someone else ...
4 years, 7 months ago (2016-05-06 23:54:18 UTC) #13
tommycli
On 2016/05/06 23:54:18, tommycli wrote: > this is lgtm except for the below from my ...
4 years, 7 months ago (2016-05-06 23:54:31 UTC) #14
xiyuan
https://codereview.chromium.org/1933913002/diff/60001/ui/login/resource_loader.js File ui/login/resource_loader.js (right): https://codereview.chromium.org/1933913002/diff/60001/ui/login/resource_loader.js#newcode195 ui/login/resource_loader.js:195: function loadAssetsOnIdle(id, callback, idleTimeoutMs = 250) { idleTimeoutMs -> ...
4 years, 7 months ago (2016-05-09 18:27:38 UTC) #15
stevenjb
We really ought to have compiled_resources2 files for all of this, but specifically the new ...
4 years, 7 months ago (2016-05-09 19:10:26 UTC) #16
jdufault
https://codereview.chromium.org/1933913002/diff/60001/chrome/browser/resources/chromeos/login/lock.js File chrome/browser/resources/chromeos/login/lock.js (right): https://codereview.chromium.org/1933913002/diff/60001/chrome/browser/resources/chromeos/login/lock.js#newcode34 chrome/browser/resources/chromeos/login/lock.js:34: if (showPin) { On 2016/05/06 23:54:18, tommycli wrote: > ...
4 years, 7 months ago (2016-05-10 18:45:24 UTC) #17
stevenjb
Thanks for updating compiled_resources.gyp. LGTM.
4 years, 7 months ago (2016-05-10 19:03:19 UTC) #18
xiyuan
lgtm
4 years, 7 months ago (2016-05-10 19:31:48 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1933913002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1933913002/80001
4 years, 7 months ago (2016-05-11 17:42:11 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/210716)
4 years, 7 months ago (2016-05-11 19:10:45 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1933913002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1933913002/100001
4 years, 7 months ago (2016-05-11 20:05:21 UTC) #27
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 7 months ago (2016-05-11 22:04:00 UTC) #28
commit-bot: I haz the power
4 years, 7 months ago (2016-05-11 22:05:53 UTC) #30
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/22dfa22df0ddbcab9f47d189207a11bdea820d75
Cr-Commit-Position: refs/heads/master@{#393081}

Powered by Google App Engine
This is Rietveld 408576698