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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 }, | 76 }, |
77 | 77 |
78 /** @private */ | 78 /** @private */ |
79 onSwitchAccessSettingsTap_: function() { | 79 onSwitchAccessSettingsTap_: function() { |
80 chrome.send('showSwitchAccessSettings'); | 80 chrome.send('showSwitchAccessSettings'); |
81 }, | 81 }, |
82 | 82 |
83 /** @private */ | 83 /** @private */ |
84 onDisplayTap_: function() { | 84 onDisplayTap_: function() { |
85 settings.navigateTo( | 85 settings.navigateTo( |
86 settings.Route.DISPLAY, | 86 settings.routes.DISPLAY, |
87 /* dynamicParams */ null, /* removeSearch */ true); | 87 /* dynamicParams */ null, /* removeSearch */ true); |
88 }, | 88 }, |
89 | 89 |
90 /** @private */ | 90 /** @private */ |
91 onAppearanceTap_: function() { | 91 onAppearanceTap_: function() { |
92 settings.navigateTo( | 92 settings.navigateTo( |
93 settings.Route.APPEARANCE, | 93 settings.routes.APPEARANCE, |
94 /* dynamicParams */ null, /* removeSearch */ true); | 94 /* dynamicParams */ null, /* removeSearch */ true); |
95 }, | 95 }, |
96 | 96 |
97 /** @private */ | 97 /** @private */ |
98 onKeyboardTap_: function() { | 98 onKeyboardTap_: function() { |
99 settings.navigateTo( | 99 settings.navigateTo( |
100 settings.Route.KEYBOARD, | 100 settings.routes.KEYBOARD, |
101 /* dynamicParams */ null, /* removeSearch */ true); | 101 /* dynamicParams */ null, /* removeSearch */ true); |
102 }, | 102 }, |
103 | 103 |
104 /** @private */ | 104 /** @private */ |
105 onMouseTap_: function() { | 105 onMouseTap_: function() { |
106 settings.navigateTo( | 106 settings.navigateTo( |
107 settings.Route.POINTERS, | 107 settings.routes.POINTERS, |
108 /* dynamicParams */ null, /* removeSearch */ true); | 108 /* dynamicParams */ null, /* removeSearch */ true); |
109 }, | 109 }, |
110 }); | 110 }); |
OLD | NEW |