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

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

Issue 981203007: Scaffold for MD-Settings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: license Created 5 years, 9 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
« no previous file with comments | « no previous file | chrome/browser/resources/settings/downloads_page/downloads_page.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/settings/a11y_page/a11y_page.js
diff --git a/chrome/browser/resources/settings/a11y_page/a11y_page.js b/chrome/browser/resources/settings/a11y_page/a11y_page.js
index 0af1e678887ab875715b2f240de20f4e02f4fe01..71f2184bc7c46b61a24d599e35dc0ed8ffbf1cbf 100644
--- a/chrome/browser/resources/settings/a11y_page/a11y_page.js
+++ b/chrome/browser/resources/settings/a11y_page/a11y_page.js
@@ -10,7 +10,7 @@
* Example:
*
* <core-animated-pages>
- * <cr-settings-a11y-page></cr-settings-a11y-page>
+ * <cr-settings-a11y-page prefs="{{prefs}}"></cr-settings-a11y-page>
* ... other pages ...
* </core-animated-pages>
*
@@ -27,5 +27,32 @@ Polymer('cr-settings-a11y-page', {
* @default null
*/
prefs: null,
+
+ /**
+ * ID of the page.
+ *
+ * @attribute PAGE_ID
+ * @const string
+ * @default 'a11y'
+ */
+ PAGE_ID: 'a11y',
+
+ /**
+ * Title for the page header and navigation menu.
+ *
+ * @attribute pageTitle
+ * @type string
+ * @default 'Accessibility'
+ */
+ pageTitle: 'Accessibility',
+
+ /**
+ * Name of the 'core-icon' to show.
+ *
+ * @attribute icon
+ * @type string
+ * @default 'accessibility'
+ */
+ icon: 'accessibility',
},
});
« no previous file with comments | « no previous file | chrome/browser/resources/settings/downloads_page/downloads_page.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698