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

Issue 2691943005: fix quick unlock config in options (Closed)

Created:
3 years, 10 months ago by xiaoyinh(OOO Sep 11-29)
Modified:
3 years, 9 months ago
CC:
chromium-reviews, dbeam+watch-options_chromium.org, michaelpg+watch-options_chromium.org, michaelpg+watch-md-settings_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
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

This CL is trying to fix 2 issues: 1. Quick unlock configuration in options are importing polymer elements(lock_screen.html) created in settings, that includes importing all the elements that lock_screen.html depends on. So if there's new polymer elements imported in lock_screen.html, options wouldn't know where to find them, thus not able to load the lock_screen element. This CL makes options page know these newly added elements. 2. Trying to pre-load polymer elements in options page for better user experience. BUG=679795 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2691943005 Cr-Commit-Position: refs/heads/master@{#453733} Committed: https://chromium.googlesource.com/chromium/src/+/a7b35b6e3091d62218d6093633589997036e3b98

Patch Set 1 #

Patch Set 2 : set timeout #

Total comments: 6

Patch Set 3 : Incorporate comments #

Total comments: 18

Patch Set 4 : incorporate comments #

Patch Set 5 : update options_resources.grd #

Patch Set 6 : rebase #

Total comments: 2

Patch Set 7 : incorporate comments #

Total comments: 4

Patch Set 8 : incorporate comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+92 lines, -67 lines) Patch
M chrome/browser/resources/options/chromeos/quick_unlock_configure_overlay.js View 1 2 3 4 5 6 7 2 chunks +16 lines, -0 lines 0 comments Download
A chrome/browser/resources/options/i18n_setup.html View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/resources/options/options.html View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/options_resources.grd View 1 2 3 4 2 chunks +32 lines, -58 lines 0 comments Download
M chrome/browser/resources/settings/people_page/lock_screen.js View 1 2 3 4 5 6 7 4 chunks +13 lines, -8 lines 0 comments Download
M chrome/browser/ui/webui/options/browser_options_handler.cc View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/options/options_ui.cc View 1 3 chunks +22 lines, -0 lines 0 comments Download

Messages

Total messages: 62 (42 generated)
xiaoyinh(OOO Sep 11-29)
3 years, 10 months ago (2017-02-15 23:26:19 UTC) #11
jdufault
lgtm https://codereview.chromium.org/2691943005/diff/20001/chrome/browser/resources/options/chromeos/quick_unlock_configure_overlay.js File chrome/browser/resources/options/chromeos/quick_unlock_configure_overlay.js (right): https://codereview.chromium.org/2691943005/diff/20001/chrome/browser/resources/options/chromeos/quick_unlock_configure_overlay.js#newcode46 chrome/browser/resources/options/chromeos/quick_unlock_configure_overlay.js:46: // md-settings are lanuching soon. nit: are lanuching ...
3 years, 10 months ago (2017-02-15 23:53:22 UTC) #12
xiaoyinh(OOO Sep 11-29)
https://codereview.chromium.org/2691943005/diff/20001/chrome/browser/resources/options/chromeos/quick_unlock_configure_overlay.js File chrome/browser/resources/options/chromeos/quick_unlock_configure_overlay.js (right): https://codereview.chromium.org/2691943005/diff/20001/chrome/browser/resources/options/chromeos/quick_unlock_configure_overlay.js#newcode46 chrome/browser/resources/options/chromeos/quick_unlock_configure_overlay.js:46: // md-settings are lanuching soon. On 2017/02/15 23:53:22, jdufault ...
3 years, 10 months ago (2017-02-17 01:31:44 UTC) #13
groby-ooo-7-16
On 2017/02/17 01:31:44, xiaoyinh wrote: > https://codereview.chromium.org/2691943005/diff/20001/chrome/browser/resources/options/chromeos/quick_unlock_configure_overlay.js > File chrome/browser/resources/options/chromeos/quick_unlock_configure_overlay.js > (right): > > https://codereview.chromium.org/2691943005/diff/20001/chrome/browser/resources/options/chromeos/quick_unlock_configure_overlay.js#newcode46 ...
3 years, 10 months ago (2017-02-17 02:19:08 UTC) #16
Dan Beam
https://codereview.chromium.org/2691943005/diff/40001/chrome/browser/resources/options/chromeos/quick_unlock_configure_overlay.js File chrome/browser/resources/options/chromeos/quick_unlock_configure_overlay.js (right): https://codereview.chromium.org/2691943005/diff/40001/chrome/browser/resources/options/chromeos/quick_unlock_configure_overlay.js#newcode11 chrome/browser/resources/options/chromeos/quick_unlock_configure_overlay.js:11: * we start to load polymer elements. please wrap ...
3 years, 10 months ago (2017-02-17 02:45:17 UTC) #17
xiaoyinh(OOO Sep 11-29)
groby@, I update the description of the CL and hope it make things more clear. ...
3 years, 10 months ago (2017-02-17 19:33:46 UTC) #22
Dan Beam
https://codereview.chromium.org/2691943005/diff/40001/chrome/browser/resources/options_resources.grd File chrome/browser/resources/options_resources.grd (right): https://codereview.chromium.org/2691943005/diff/40001/chrome/browser/resources/options_resources.grd#newcode167 chrome/browser/resources/options_resources.grd:167: allowexternalscript="true" /> On 2017/02/17 19:33:46, xiaoyinh wrote: > On ...
3 years, 10 months ago (2017-02-17 20:21:16 UTC) #25
jdufault
https://codereview.chromium.org/2691943005/diff/40001/chrome/browser/resources/options_resources.grd File chrome/browser/resources/options_resources.grd (right): https://codereview.chromium.org/2691943005/diff/40001/chrome/browser/resources/options_resources.grd#newcode167 chrome/browser/resources/options_resources.grd:167: allowexternalscript="true" /> On 2017/02/17 20:21:15, Dan Beam wrote: > ...
3 years, 10 months ago (2017-02-17 20:38:48 UTC) #28
xiaoyinh(OOO Sep 11-29)
On 2017/02/17 20:21:16, Dan Beam wrote: > https://codereview.chromium.org/2691943005/diff/40001/chrome/browser/resources/options_resources.grd > File chrome/browser/resources/options_resources.grd (right): > > https://codereview.chromium.org/2691943005/diff/40001/chrome/browser/resources/options_resources.grd#newcode167 ...
3 years, 10 months ago (2017-02-17 21:54:01 UTC) #29
Dan Beam
On 2017/02/17 21:54:01, xiaoyinh wrote: > On 2017/02/17 20:21:16, Dan Beam wrote: > > > ...
3 years, 10 months ago (2017-02-17 22:04:44 UTC) #30
xiaoyinh(OOO Sep 11-29)
Hi, I have incorporated all the above comments, would you please take another look? Thanks!
3 years, 10 months ago (2017-02-21 21:15:10 UTC) #41
Dan Beam
https://codereview.chromium.org/2691943005/diff/100001/chrome/browser/resources/settings/people_page/lock_screen.js File chrome/browser/resources/settings/people_page/lock_screen.js (right): https://codereview.chromium.org/2691943005/diff/100001/chrome/browser/resources/settings/people_page/lock_screen.js#newcode96 chrome/browser/resources/settings/people_page/lock_screen.js:96: settings.getCurrentRoute(), settings.getCurrentRoute()); rather than just calling currentRouteChanged(), can you ...
3 years, 10 months ago (2017-02-23 06:33:52 UTC) #42
xiaoyinh(OOO Sep 11-29)
https://codereview.chromium.org/2691943005/diff/100001/chrome/browser/resources/settings/people_page/lock_screen.js File chrome/browser/resources/settings/people_page/lock_screen.js (right): https://codereview.chromium.org/2691943005/diff/100001/chrome/browser/resources/settings/people_page/lock_screen.js#newcode96 chrome/browser/resources/settings/people_page/lock_screen.js:96: settings.getCurrentRoute(), settings.getCurrentRoute()); On 2017/02/23 06:33:51, Dan Beam wrote: > ...
3 years, 10 months ago (2017-02-23 21:11:10 UTC) #44
Dan Beam
https://codereview.chromium.org/2691943005/diff/120001/chrome/browser/resources/settings/people_page/lock_screen.js File chrome/browser/resources/settings/people_page/lock_screen.js (right): https://codereview.chromium.org/2691943005/diff/120001/chrome/browser/resources/settings/people_page/lock_screen.js#newcode93 chrome/browser/resources/settings/people_page/lock_screen.js:93: this.showLockScreen_(); this probably ought to be like maybeShowLockScreen_() or ...
3 years, 9 months ago (2017-02-28 02:49:16 UTC) #48
xiaoyinh(OOO Sep 11-29)
https://codereview.chromium.org/2691943005/diff/120001/chrome/browser/resources/settings/people_page/lock_screen.js File chrome/browser/resources/settings/people_page/lock_screen.js (right): https://codereview.chromium.org/2691943005/diff/120001/chrome/browser/resources/settings/people_page/lock_screen.js#newcode93 chrome/browser/resources/settings/people_page/lock_screen.js:93: this.showLockScreen_(); On 2017/02/28 02:49:16, Dan Beam wrote: > this ...
3 years, 9 months ago (2017-02-28 21:41:16 UTC) #51
Dan Beam
lgtm
3 years, 9 months ago (2017-02-28 21:44:39 UTC) #52
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/2691943005/140001
3 years, 9 months ago (2017-02-28 22:56:15 UTC) #57
commit-bot: I haz the power
Committed patchset #8 (id:140001) as https://chromium.googlesource.com/chromium/src/+/a7b35b6e3091d62218d6093633589997036e3b98
3 years, 9 months ago (2017-02-28 23:17:30 UTC) #60
Yuta Kitamura
A revert of this CL (patchset #8 id:140001) has been created in https://codereview.chromium.org/2728563003/ by yutak@chromium.org. ...
3 years, 9 months ago (2017-03-01 09:11:32 UTC) #61
Yuta Kitamura
3 years, 9 months ago (2017-03-01 09:18:47 UTC) #62
Message was sent while issue was closed.
On 2017/03/01 09:11:32, Yuta Kitamura wrote:
> A revert of this CL (patchset #8 id:140001) has been created in
> https://codereview.chromium.org/2728563003/ by mailto:yutak@chromium.org.
> 
> The reason for reverting is: This caused the following test to fail on
> ChromiumOS
> debug bots. I've confirmed reverting this patch would
> fix the errors on my local environment.
> 
>
PolicyPrefIndicatorTestInstance/PolicyPrefIndicatorTest.CheckPolicyIndicators/26
> 
>
https://build.chromium.org/p/chromium.chromiumos/builders/Linux%20ChromiumOS%....

This change might also be responsible for the redness
in the following bot:
https://build.chromium.org/p/chromium.memory/builders/Linux%20Chromium%20OS%2...

Powered by Google App Engine
This is Rietveld 408576698