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

Side by Side Diff: ui/login/account_picker/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 1119 matching lines...) Expand 10 before | Expand all | Expand 10 after
1130 * @type {Object.<string, !HTMLDivElement>} 1130 * @type {Object.<string, !HTMLDivElement>}
1131 */ 1131 */
1132 get statsMapElements() { 1132 get statsMapElements() {
1133 return { 1133 return {
1134 'BrowsingHistory': 1134 'BrowsingHistory':
1135 this.querySelector('.action-box-remove-user-warning-history'), 1135 this.querySelector('.action-box-remove-user-warning-history'),
1136 'Passwords': 1136 'Passwords':
1137 this.querySelector('.action-box-remove-user-warning-passwords'), 1137 this.querySelector('.action-box-remove-user-warning-passwords'),
1138 'Bookmarks': 1138 'Bookmarks':
1139 this.querySelector('.action-box-remove-user-warning-bookmarks'), 1139 this.querySelector('.action-box-remove-user-warning-bookmarks'),
1140 'Settings': 1140 'Autofill':
1141 this.querySelector('.action-box-remove-user-warning-settings') 1141 this.querySelector('.action-box-remove-user-warning-autofill')
1142 } 1142 }
1143 }, 1143 },
1144 1144
1145 /** 1145 /**
1146 * Gets the fingerprint icon area. 1146 * Gets the fingerprint icon area.
1147 * @type {!HTMLDivElement} 1147 * @type {!HTMLDivElement}
1148 */ 1148 */
1149 get fingerprintIconElement() { 1149 get fingerprintIconElement() {
1150 return this.querySelector('.fingerprint-icon-container'); 1150 return this.querySelector('.fingerprint-icon-container');
1151 }, 1151 },
(...skipping 2823 matching lines...) Expand 10 before | Expand all | Expand 10 after
3975 if (pod && pod.multiProfilesPolicyApplied) { 3975 if (pod && pod.multiProfilesPolicyApplied) {
3976 pod.userTypeBubbleElement.classList.remove('bubble-shown'); 3976 pod.userTypeBubbleElement.classList.remove('bubble-shown');
3977 } 3977 }
3978 } 3978 }
3979 }; 3979 };
3980 3980
3981 return { 3981 return {
3982 PodRow: PodRow 3982 PodRow: PodRow
3983 }; 3983 };
3984 }); 3984 });
OLDNEW
« no previous file with comments | « ui/login/account_picker/md_user_pod_template.html ('k') | ui/login/account_picker/user_pod_template.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698