OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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-manage-a11y-page' is the subpage with the accessibility | 7 * 'settings-manage-a11y-page' is the subpage with the accessibility |
8 * settings. | 8 * settings. |
9 */ | 9 */ |
10 Polymer({ | 10 Polymer({ |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 }, | 53 }, |
54 }, | 54 }, |
55 | 55 |
56 /** @private */ | 56 /** @private */ |
57 onChromeVoxSettingsTap_: function() { | 57 onChromeVoxSettingsTap_: function() { |
58 chrome.send('showChromeVoxSettings'); | 58 chrome.send('showChromeVoxSettings'); |
59 }, | 59 }, |
60 | 60 |
61 /** @private */ | 61 /** @private */ |
62 onDisplayTap_: function() { | 62 onDisplayTap_: function() { |
63 settings.navigateTo(settings.Route.DISPLAY); | 63 settings.navigateTo( |
| 64 settings.Route.DISPLAY, |
| 65 /* dynamicParams */ null, /* removeSearch */ true); |
64 }, | 66 }, |
65 | 67 |
66 /** @private */ | 68 /** @private */ |
67 onAppearanceTap_: function() { | 69 onAppearanceTap_: function() { |
68 settings.navigateTo(settings.Route.APPEARANCE); | 70 settings.navigateTo( |
| 71 settings.Route.APPEARANCE, |
| 72 /* dynamicParams */ null, /* removeSearch */ true); |
69 }, | 73 }, |
70 | 74 |
71 /** @private */ | 75 /** @private */ |
72 onKeyboardTap_: function() { | 76 onKeyboardTap_: function() { |
73 settings.navigateTo(settings.Route.KEYBOARD); | 77 settings.navigateTo( |
| 78 settings.Route.KEYBOARD, |
| 79 /* dynamicParams */ null, /* removeSearch */ true); |
74 }, | 80 }, |
75 | 81 |
76 /** @private */ | 82 /** @private */ |
77 onMouseTap_: function() { | 83 onMouseTap_: function() { |
78 settings.navigateTo(settings.Route.POINTERS); | 84 settings.navigateTo( |
| 85 settings.Route.POINTERS, |
| 86 /* dynamicParams */ null, /* removeSearch */ true); |
79 }, | 87 }, |
80 | 88 |
81 /** @private */ | 89 /** @private */ |
82 onMoreFeaturesTap_: function() { | 90 onMoreFeaturesTap_: function() { |
83 window.open( | 91 window.open( |
84 'https://chrome.google.com/webstore/category/collection/accessibility'); | 92 'https://chrome.google.com/webstore/category/collection/accessibility'); |
85 }, | 93 }, |
86 }); | 94 }); |
OLD | NEW |