| 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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 // <if expr="not chromeos"> | 100 // <if expr="not chromeos"> |
| 101 map.set( | 101 map.set( |
| 102 settings.Route.MANAGE_PROFILE.path, | 102 settings.Route.MANAGE_PROFILE.path, |
| 103 '#picture-subpage-trigger .subpage-arrow'); | 103 '#picture-subpage-trigger .subpage-arrow'); |
| 104 // </if> | 104 // </if> |
| 105 // <if expr="chromeos"> | 105 // <if expr="chromeos"> |
| 106 map.set( | 106 map.set( |
| 107 settings.Route.CHANGE_PICTURE.path, | 107 settings.Route.CHANGE_PICTURE.path, |
| 108 '#picture-subpage-trigger .subpage-arrow'); | 108 '#picture-subpage-trigger .subpage-arrow'); |
| 109 map.set( | 109 map.set( |
| 110 settings.Route.LOCK_SCREEN.path, '#lockScreenSubpageTrigger'); | 110 settings.Route.LOCK_SCREEN.path, |
| 111 '#lock-screen-subpage-trigger .subpage-arrow'); |
| 111 map.set( | 112 map.set( |
| 112 settings.Route.ACCOUNTS.path, | 113 settings.Route.ACCOUNTS.path, |
| 113 '#manage-other-people-subpage-trigger .subpage-arrow'); | 114 '#manage-other-people-subpage-trigger .subpage-arrow'); |
| 114 // </if> | 115 // </if> |
| 115 return map; | 116 return map; |
| 116 }, | 117 }, |
| 117 }, | 118 }, |
| 118 }, | 119 }, |
| 119 | 120 |
| 120 /** @private {?settings.SyncBrowserProxy} */ | 121 /** @private {?settings.SyncBrowserProxy} */ |
| (...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 452 | 453 |
| 453 /** | 454 /** |
| 454 * @param {!settings.SyncStatus} syncStatus | 455 * @param {!settings.SyncStatus} syncStatus |
| 455 * @return {boolean} Whether to show the "Sign in to Chrome" button. | 456 * @return {boolean} Whether to show the "Sign in to Chrome" button. |
| 456 * @private | 457 * @private |
| 457 */ | 458 */ |
| 458 showSignin_: function(syncStatus) { | 459 showSignin_: function(syncStatus) { |
| 459 return !!syncStatus.signinAllowed && !syncStatus.signedIn; | 460 return !!syncStatus.signinAllowed && !syncStatus.signedIn; |
| 460 }, | 461 }, |
| 461 }); | 462 }); |
| OLD | NEW |