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

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: some fixes 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
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..6765472c2dba5588828599ec954b786c4825d837 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>
Oren Blasberg 2015/03/12 18:58:17 Can you make the same changes to downloads_page as
michaelpg 2015/03/13 00:47:01 Done.
- * <cr-settings-a11y-page></cr-settings-a11y-page>
+ * <cr-settings-a11y-page prefs="{{prefs}}"></cr-settings-a11y-page>
Oren Blasberg 2015/03/12 18:58:17 This was probably answered in the 60+ earlier comm
michaelpg 2015/03/13 00:47:01 It wasn't done declaratively in a11y_page/demo.htm
* ... 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'
Oren Blasberg 2015/03/12 18:58:17 nit: @default
michaelpg 2015/03/13 00:47:01 Done.
+ */
+ 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',
},
});

Powered by Google App Engine
This is Rietveld 408576698