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

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

Issue 2689303002: MD Settings: Content Settings: Support guest mode. (Closed)
Patch Set: Created 3 years, 10 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-privacy-page' is the settings page containing privacy and 7 * 'settings-privacy-page' is the settings page containing privacy and
8 * security settings. 8 * security settings.
9 */ 9 */
10 Polymer({ 10 Polymer({
(...skipping 13 matching lines...) Expand all
24 type: Object, 24 type: Object,
25 notify: true, 25 notify: true,
26 }, 26 },
27 27
28 /** 28 /**
29 * Dictionary defining page visibility. 29 * Dictionary defining page visibility.
30 * @type {!PrivacyPageVisibility} 30 * @type {!PrivacyPageVisibility}
31 */ 31 */
32 pageVisibility: Object, 32 pageVisibility: Object,
33 33
34 /** @private */
35 isGuest_: {
36 type: Boolean,
37 value: function() { return loadTimeData.getBoolean('isGuest'); }
38 },
39
34 // <if expr="_google_chrome and not chromeos"> 40 // <if expr="_google_chrome and not chromeos">
35 /** @type {MetricsReporting} */ 41 /** @type {MetricsReporting} */
36 metricsReporting_: Object, 42 metricsReporting_: Object,
37 43
38 showRestart_: Boolean, 44 showRestart_: Boolean,
39 // </if> 45 // </if>
40 46
41 /** @private */ 47 /** @private */
42 safeBrowsingExtendedReportingEnabled_: Boolean, 48 safeBrowsingExtendedReportingEnabled_: Boolean,
43 49
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 return value ? this.i18n('siteSettingsProtectedContentEnable') 186 return value ? this.i18n('siteSettingsProtectedContentEnable')
181 : this.i18n('siteSettingsBlocked'); 187 : this.i18n('siteSettingsBlocked');
182 }, 188 },
183 189
184 /** @private */ 190 /** @private */
185 getProtectedContentIdentifiersLabel_: function(value) { 191 getProtectedContentIdentifiersLabel_: function(value) {
186 return value ? this.i18n('siteSettingsProtectedContentEnableIdentifiers') 192 return value ? this.i18n('siteSettingsProtectedContentEnableIdentifiers')
187 : this.i18n('siteSettingsBlocked'); 193 : this.i18n('siteSettingsBlocked');
188 }, 194 },
189 }); 195 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698