Chromium Code Reviews| 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', |
| }, |
| }); |