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

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

Issue 2915053002: Replace profile statistics preference count with AutofillCounter (Closed)
Patch Set: change to SetBooleanWithoutPathExpansion Created 3 years, 6 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** 5 /**
6 * @fileoverview User pod row implementation. 6 * @fileoverview User pod row implementation.
7 */ 7 */
8 8
9 cr.define('login', function() { 9 cr.define('login', function() {
10 /** 10 /**
(...skipping 1120 matching lines...) Expand 10 before | Expand all | Expand 10 after
1131 * @type {Object.<string, !HTMLDivElement>} 1131 * @type {Object.<string, !HTMLDivElement>}
1132 */ 1132 */
1133 get statsMapElements() { 1133 get statsMapElements() {
1134 return { 1134 return {
1135 'BrowsingHistory': 1135 'BrowsingHistory':
1136 this.querySelector('.action-box-remove-user-warning-history'), 1136 this.querySelector('.action-box-remove-user-warning-history'),
1137 'Passwords': 1137 'Passwords':
1138 this.querySelector('.action-box-remove-user-warning-passwords'), 1138 this.querySelector('.action-box-remove-user-warning-passwords'),
1139 'Bookmarks': 1139 'Bookmarks':
1140 this.querySelector('.action-box-remove-user-warning-bookmarks'), 1140 this.querySelector('.action-box-remove-user-warning-bookmarks'),
1141 'Settings': 1141 'Autofill':
1142 this.querySelector('.action-box-remove-user-warning-settings') 1142 this.querySelector('.action-box-remove-user-warning-autofill')
1143 } 1143 }
1144 }, 1144 },
1145 1145
1146 /** 1146 /**
1147 * Gets the fingerprint icon area. 1147 * Gets the fingerprint icon area.
1148 * @type {!HTMLDivElement} 1148 * @type {!HTMLDivElement}
1149 */ 1149 */
1150 get fingerprintIconElement() { 1150 get fingerprintIconElement() {
1151 return this.querySelector('.fingerprint-icon-container'); 1151 return this.querySelector('.fingerprint-icon-container');
1152 }, 1152 },
(...skipping 3347 matching lines...) Expand 10 before | Expand all | Expand 10 after
4500 if (pod && pod.multiProfilesPolicyApplied) { 4500 if (pod && pod.multiProfilesPolicyApplied) {
4501 pod.userTypeBubbleElement.classList.remove('bubble-shown'); 4501 pod.userTypeBubbleElement.classList.remove('bubble-shown');
4502 } 4502 }
4503 } 4503 }
4504 }; 4504 };
4505 4505
4506 return { 4506 return {
4507 PodRow: PodRow 4507 PodRow: PodRow
4508 }; 4508 };
4509 }); 4509 });
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/signin/user_manager_screen_handler.cc ('k') | ui/login/account_picker/md_user_pod_template.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698