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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/settings/privacy_page/privacy_page.js
diff --git a/chrome/browser/resources/settings/privacy_page/privacy_page.js b/chrome/browser/resources/settings/privacy_page/privacy_page.js
index f02f8e1cdfd382491540cab09aaf5f4e1774dd64..50b48d9cb3acff5597599186705ef679df241900 100644
--- a/chrome/browser/resources/settings/privacy_page/privacy_page.js
+++ b/chrome/browser/resources/settings/privacy_page/privacy_page.js
@@ -125,4 +125,15 @@ Polymer({
this.$.spellingServiceToggleButton.checked);
},
</if>
+
+ /**
+ * The sub-page title for the site or content settings.
+ * @return {string}
+ * @private
+ */
+ siteSettingsPageTitle_: function() {
+ return loadTimeData.getBoolean('enableSiteSettings') ?
+ loadTimeData.getString('siteSettings') :
+ loadTimeData.getString('contentSettings');
+ },
});

Powered by Google App Engine
This is Rietveld 408576698