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

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

Issue 1503333003: Settings People Rewrite: Make Sync/Sign-in naming consistent to People. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge upstream changes Created 5 years 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-signin-page' is the settings page containing sign-in settings. 7 * 'settings-people-page' is the settings page containing sign-in settings.
8 * 8 *
9 * Example: 9 * Example:
10 * 10 *
11 * <iron-animated-pages> 11 * <iron-animated-pages>
12 * <settings-signin-page prefs="{{prefs}}"></settings-signin-page> 12 * <settings-people-page prefs="{{prefs}}"></settings-people-page>
13 * ... other pages ... 13 * ... other pages ...
14 * </iron-animated-pages> 14 * </iron-animated-pages>
15 * 15 *
16 * @group Chrome Settings Elements 16 * @group Chrome Settings Elements
17 * @element settings-signin-page 17 * @element settings-people-page
18 */ 18 */
19 Polymer({ 19 Polymer({
20 is: 'settings-signin-page', 20 is: 'settings-people-page',
21 21
22 behaviors: [ 22 behaviors: [
23 I18nBehavior, 23 I18nBehavior,
24 ], 24 ],
25 25
26 properties: { 26 properties: {
27 /** 27 /**
28 * The current active route. 28 * The current active route.
29 */ 29 */
30 currentRoute: { 30 currentRoute: {
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 99
100 /** 100 /**
101 * @private 101 * @private
102 * @return {boolean} 102 * @return {boolean}
103 */ 103 */
104 isAdvancedSyncSettingsVisible_: function(syncStatus) { 104 isAdvancedSyncSettingsVisible_: function(syncStatus) {
105 return syncStatus && syncStatus.signedIn && !syncStatus.managed && 105 return syncStatus && syncStatus.signedIn && !syncStatus.managed &&
106 syncStatus.syncSystemEnabled; 106 syncStatus.syncSystemEnabled;
107 }, 107 },
108 }); 108 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698