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

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

Issue 1973973004: [MD settings] remove unneeded use of I18nBehavior (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update Created 4 years, 7 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 *
9 * Example:
10 *
11 * <iron-animated-pages>
12 * <settings-people-page prefs="{{prefs}}"></settings-people-page>
13 * ... other pages ...
14 * </iron-animated-pages>
15 */ 8 */
16 Polymer({ 9 Polymer({
17 is: 'settings-people-page', 10 is: 'settings-people-page',
18 11
19 behaviors: [ 12 behaviors: [
20 I18nBehavior,
21 WebUIListenerBehavior, 13 WebUIListenerBehavior,
22 ], 14 ],
23 15
24 properties: { 16 properties: {
25 /** 17 /**
26 * The current active route. 18 * The current active route.
27 */ 19 */
28 currentRoute: { 20 currentRoute: {
29 type: Object, 21 type: Object,
30 notify: true, 22 notify: true,
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 247
256 /** 248 /**
257 * @private 249 * @private
258 * @return {boolean} 250 * @return {boolean}
259 */ 251 */
260 isAdvancedSyncSettingsVisible_: function(syncStatus) { 252 isAdvancedSyncSettingsVisible_: function(syncStatus) {
261 return syncStatus && syncStatus.signedIn && !syncStatus.managed && 253 return syncStatus && syncStatus.signedIn && !syncStatus.managed &&
262 syncStatus.syncSystemEnabled; 254 syncStatus.syncSystemEnabled;
263 }, 255 },
264 }); 256 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698