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

Side by Side Diff: chrome/browser/resources/settings/people_page/people_page.js

Issue 2381783002: MD Settings: hide people section when signin is disabled (e.g. by policy) (Closed)
Patch Set: Created 4 years, 2 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 6 * @fileoverview
7 * 'settings-people-page' is the settings page containing sign-in settings. 7 * 'settings-people-page' is the settings page containing sign-in settings.
8 */ 8 */
9 Polymer({ 9 Polymer({
10 is: 'settings-people-page', 10 is: 'settings-people-page',
(...skipping 13 matching lines...) Expand all
24 */ 24 */
25 prefs: { 25 prefs: {
26 type: Object, 26 type: Object,
27 notify: true, 27 notify: true,
28 }, 28 },
29 29
30 /** 30 /**
31 * The current sync status, supplied by SyncBrowserProxy. 31 * The current sync status, supplied by SyncBrowserProxy.
32 * @type {?settings.SyncStatus} 32 * @type {?settings.SyncStatus}
33 */ 33 */
34 syncStatus: Object, 34 syncStatus: {
35 type: Object,
36 notify: true,
37 },
35 38
36 /** 39 /**
37 * The currently selected profile icon URL. May be a data URL. 40 * The currently selected profile icon URL. May be a data URL.
38 */ 41 */
39 profileIconUrl_: String, 42 profileIconUrl_: String,
40 43
41 /** 44 /**
42 * The current profile name. 45 * The current profile name.
43 */ 46 */
44 profileName_: String, 47 profileName_: String,
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after
352 355
353 /** 356 /**
354 * @param {string} iconUrl 357 * @param {string} iconUrl
355 * @return {string} A CSS imageset for multiple scale factors. 358 * @return {string} A CSS imageset for multiple scale factors.
356 * @private 359 * @private
357 */ 360 */
358 getIconImageset_: function(iconUrl) { 361 getIconImageset_: function(iconUrl) {
359 return cr.icon.getImage(iconUrl); 362 return cr.icon.getImage(iconUrl);
360 }, 363 },
361 }); 364 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698