| Index: ui/login/account_picker/user_pod_template.js
|
| diff --git a/ui/login/account_picker/user_pod_template.js b/ui/login/account_picker/user_pod_template.js
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..0a5ee8a2ea1b1c059f0a9b3ca38ec92ca0d7efb5
|
| --- /dev/null
|
| +++ b/ui/login/account_picker/user_pod_template.js
|
| @@ -0,0 +1,24 @@
|
| +// Copyright (c) 2016 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +(function() {
|
| + "use strict";
|
| +
|
| + var START_LOADING_DELAY = 1000;
|
| +
|
| + function doLazyLoad() {
|
| + function lazyLoadUrl(url) {
|
| + var link = document.createElement('link');
|
| + link.rel = 'import';
|
| + link.href = url;
|
| + document.body.appendChild(link);
|
| + }
|
| +
|
| + lazyLoadUrl('chrome://resources/polymer/v1_0/iron-icons/iron-icons.html');
|
| + }
|
| +
|
| + window.addEventListener('load', function() {
|
| + setTimeout(doLazyLoad, START_LOADING_DELAY);
|
| + });
|
| +})();
|
|
|