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

Unified Diff: chrome/browser/resources/settings/privacy_page/privacy_page.js

Issue 1168793002: Add an initial implementation of the Privacy Page. No subpages yet. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: jhawkins's comments Created 5 years, 6 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/a11y_page/a11y_page.js b/chrome/browser/resources/settings/privacy_page/privacy_page.js
similarity index 71%
copy from chrome/browser/resources/settings/a11y_page/a11y_page.js
copy to chrome/browser/resources/settings/privacy_page/privacy_page.js
index 119f1c75a8eaff70e9f07325c2e7467d53b4823a..1dce8a821a63bf8939fb5d2357f48e04a052955a 100644
--- a/chrome/browser/resources/settings/a11y_page/a11y_page.js
+++ b/chrome/browser/resources/settings/privacy_page/privacy_page.js
@@ -4,21 +4,22 @@
/**
* @fileoverview
- * 'cr-settings-a11y-page' is the settings page containing accessibility
- * settings.
+ * 'cr-settings-privacy-page' is the settings page containing privacy and
+ * security settings.
*
* Example:
*
* <iron-animated-pages>
- * <cr-settings-a11y-page prefs="{{prefs}}"></cr-settings-a11y-page>
+ * <cr-settings-privacy-page prefs="{{prefs}}">
+ * </cr-settings-privacy-page>
* ... other pages ...
* </iron-animated-pages>
*
* @group Chrome Settings Elements
- * @element cr-settings-a11y-page
+ * @element cr-settings-privacy-page
*/
Polymer({
- is: 'cr-settings-a11y-page',
+ is: 'cr-settings-privacy-page',
properties: {
/**
@@ -48,7 +49,7 @@ Polymer({
*/
PAGE_ID: {
type: String,
- value: 'a11y',
+ value: 'privacy',
readOnly: true,
},
@@ -57,7 +58,9 @@ Polymer({
*/
pageTitle: {
type: String,
- value: function() { return loadTimeData.getString('a11yPageTitle'); },
+ value: function() {
+ return loadTimeData.getString('privacyPageTitle');
+ },
},
/**
@@ -65,7 +68,7 @@ Polymer({
*/
icon: {
type: String,
- value: 'accessibility',
+ value: 'lock',
readOnly: true,
},
},

Powered by Google App Engine
This is Rietveld 408576698