| 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 2ee16f1d392c79385a03fd02d6ea2abf7aabdf36..365655e977c8387ac4ffe3251c6e71985bdcd4c7 100644
|
| --- a/chrome/browser/resources/settings/a11y_page/a11y_page.js
|
| +++ b/chrome/browser/resources/settings/a11y_page/a11y_page.js
|
| @@ -4,60 +4,37 @@
|
|
|
| /**
|
| * @fileoverview
|
| - * 'settings-a11y-page' is the settings page containing accessibility
|
| - * settings.
|
| - *
|
| - * Example:
|
| - *
|
| - * <iron-animated-pages>
|
| - * <settings-a11y-page prefs="{{prefs}}"></settings-a11y-page>
|
| - * ... other pages ...
|
| - * </iron-animated-pages>
|
| + * 'settings-a11y-page' is the small section of advanced settings with
|
| + * a link to the web store accessibility page on most platforms, and
|
| + * a subpage with lots of other settings on Chrome OS.
|
| */
|
| Polymer({
|
| is: 'settings-a11y-page',
|
|
|
| properties: {
|
| /**
|
| + * The current active route.
|
| + */
|
| + currentRoute: {
|
| + type: Object,
|
| + notify: true,
|
| + },
|
| +
|
| + /**
|
| * Preferences state.
|
| */
|
| prefs: {
|
| type: Object,
|
| notify: true,
|
| },
|
| + },
|
|
|
| <if expr="chromeos">
|
| - autoClickDelayOptions_: {
|
| - readOnly: true,
|
| - type: Array,
|
| - value: function() {
|
| - return [
|
| - {value: 600,
|
| - name: loadTimeData.getString('delayBeforeClickExtremelyShort')},
|
| - {value: 800,
|
| - name: loadTimeData.getString('delayBeforeClickVeryShort')},
|
| - {value: 1000,
|
| - name: loadTimeData.getString('delayBeforeClickShort')},
|
| - {value: 2000,
|
| - name: loadTimeData.getString('delayBeforeClickLong')},
|
| - {value: 4000,
|
| - name: loadTimeData.getString('delayBeforeClickVeryLong')},
|
| - ];
|
| - },
|
| - },
|
| -
|
| - /**
|
| - * Whether to show experimental accessibility features.
|
| - * @private {boolean}
|
| - */
|
| - showExperimentalFeatures_: {
|
| - type: Boolean,
|
| - value: function() {
|
| - return loadTimeData.getBoolean('showExperimentalA11yFeatures');
|
| - },
|
| - }
|
| -</if>
|
| + /** @private */
|
| + onManageAccessibilityFeaturesTap_: function() {
|
| + settings.navigateTo(settings.Route.MANAGE_ACCESSIBILITY);
|
| },
|
| +</if>
|
|
|
| /** @private */
|
| onMoreFeaturesTap_: function() {
|
|
|