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

Side by Side Diff: ui/login/account_picker/user_pod_template.js

Issue 1808223003: Refactor oobe/login screens so lock screen can be loaded faster. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Rename login_login_oobe_shared to login_non_lock_shared + misc changes Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ui/login/account_picker/user_pod_template.html ('k') | ui/login/display_manager.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 (function() {
6 "use strict";
7
8 var START_LOADING_DELAY = 1000;
9
10 function doLazyLoad() {
11 function lazyLoadUrl(url) {
12 var link = document.createElement('link');
13 link.rel = 'import';
14 link.href = url;
15 document.body.appendChild(link);
16 }
17
18 lazyLoadUrl('chrome://resources/polymer/v1_0/iron-icons/iron-icons.html');
19 }
20
21 window.addEventListener('load', function() {
22 setTimeout(doLazyLoad, START_LOADING_DELAY);
23 });
24 })();
OLDNEW
« no previous file with comments | « ui/login/account_picker/user_pod_template.html ('k') | ui/login/display_manager.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698