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

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

Issue 2422233004: [MD settings] name Content settings separately from site settings (Closed)
Patch Set: comment changes 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-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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 this.$.spellingServiceToggleButton.checked = 118 this.$.spellingServiceToggleButton.checked =
119 this.get('prefs.spellcheck.use_spelling_service.value'); 119 this.get('prefs.spellcheck.use_spelling_service.value');
120 }, 120 },
121 121
122 /** @private */ 122 /** @private */
123 onUseSpellingServiceTap_: function() { 123 onUseSpellingServiceTap_: function() {
124 this.set('prefs.spellcheck.use_spelling_service.value', 124 this.set('prefs.spellcheck.use_spelling_service.value',
125 this.$.spellingServiceToggleButton.checked); 125 this.$.spellingServiceToggleButton.checked);
126 }, 126 },
127 </if> 127 </if>
128
129 /**
130 * The sub-page title for the site or content settings.
131 * @return {string}
132 * @private
133 */
134 siteSettingsPageTitle_: function() {
135 return loadTimeData.getBoolean('enableSiteSettings') ?
136 loadTimeData.getString('siteSettings') :
137 loadTimeData.getString('contentSettings');
138 },
128 }); 139 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698