| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 }); |
| OLD | NEW |