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

Side by Side Diff: chrome/browser/resources/settings/basic_page/basic_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-basic-page' is the settings page containing the basic settings. 7 * 'settings-basic-page' is the settings page containing the basic settings.
8 */ 8 */
9 Polymer({ 9 Polymer({
10 is: 'settings-basic-page', 10 is: 'settings-basic-page',
(...skipping 10 matching lines...) Expand all
21 /** 21 /**
22 * True if the basic page should currently display the reset profile banner. 22 * True if the basic page should currently display the reset profile banner.
23 * @private {boolean} 23 * @private {boolean}
24 */ 24 */
25 showResetProfileBanner_: { 25 showResetProfileBanner_: {
26 type: Boolean, 26 type: Boolean,
27 value: function() { 27 value: function() {
28 return loadTimeData.getBoolean('showResetProfileBanner'); 28 return loadTimeData.getBoolean('showResetProfileBanner');
29 }, 29 },
30 }, 30 },
31
32 /** @private {Object} */
tommycli 2016/09/29 19:27:29 nit: Add comment that this is populated by the chi
33 syncStatus_: Object,
31 }, 34 },
32 35
33 onResetDone_: function() { 36 onResetDone_: function() {
34 this.showResetProfileBanner_ = false; 37 this.showResetProfileBanner_ = false;
35 }, 38 },
36 }); 39 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698