| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 /** | 5 /** |
| 6 * @fileoverview | 6 * @fileoverview |
| 7 * 'settings-a11y-page' is the small section of advanced settings with | 7 * 'settings-a11y-page' is the small section of advanced settings with |
| 8 * a link to the web store accessibility page on most platforms, and | 8 * a link to the web store accessibility page on most platforms, and |
| 9 * a subpage with lots of other settings on Chrome OS. | 9 * a subpage with lots of other settings on Chrome OS. |
| 10 */ | 10 */ |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 prefs: { | 26 prefs: { |
| 27 type: Object, | 27 type: Object, |
| 28 notify: true, | 28 notify: true, |
| 29 }, | 29 }, |
| 30 | 30 |
| 31 /** @private {!Map<string, string>} */ | 31 /** @private {!Map<string, string>} */ |
| 32 focusConfig_: { | 32 focusConfig_: { |
| 33 type: Object, | 33 type: Object, |
| 34 value: function() { | 34 value: function() { |
| 35 var map = new Map(); | 35 var map = new Map(); |
| 36 // <if expr="chromeos"> | 36 // <if expr="chromeos"> |
| 37 map.set( | 37 map.set( |
| 38 settings.Route.MANAGE_ACCESSIBILITY.path, | 38 settings.Route.MANAGE_ACCESSIBILITY.path, |
| 39 '#subpage-trigger .subpage-arrow'); | 39 '#subpage-trigger .subpage-arrow'); |
| 40 // </if> | 40 // </if> |
| 41 return map; | 41 return map; |
| 42 }, | 42 }, |
| 43 }, | 43 }, |
| 44 }, | 44 }, |
| 45 | 45 |
| 46 // <if expr="chromeos"> | 46 // <if expr="chromeos"> |
| 47 /** @private */ | 47 /** @private */ |
| 48 onManageAccessibilityFeaturesTap_: function() { | 48 onManageAccessibilityFeaturesTap_: function() { |
| 49 settings.navigateTo(settings.Route.MANAGE_ACCESSIBILITY); | 49 settings.navigateTo(settings.Route.MANAGE_ACCESSIBILITY); |
| 50 }, | 50 }, |
| 51 // </if> | 51 // </if> |
| 52 }); | 52 }); |
| OLD | NEW |