OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 Provides output services for ChromeVox. | 6 * @fileoverview Provides output services for ChromeVox. |
7 */ | 7 */ |
8 | 8 |
9 goog.provide('Output'); | 9 goog.provide('Output'); |
10 goog.provide('Output.EventType'); | 10 goog.provide('Output.EventType'); |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
188 speak: '$if($checked, @describe_radio_selected($name), ' + | 188 speak: '$if($checked, @describe_radio_selected($name), ' + |
189 '@describe_radio_unselected($name)) ' + | 189 '@describe_radio_unselected($name)) ' + |
190 '$if($checked, ' + | 190 '$if($checked, ' + |
191 '$earcon(CHECK_ON, @input_type_radio), ' + | 191 '$earcon(CHECK_ON, @input_type_radio), ' + |
192 '$earcon(CHECK_OFF, @input_type_radio))' | 192 '$earcon(CHECK_OFF, @input_type_radio))' |
193 }, | 193 }, |
194 slider: { | 194 slider: { |
195 speak: '@describe_slider($value, $name)' | 195 speak: '@describe_slider($value, $name)' |
196 }, | 196 }, |
197 staticText: { | 197 staticText: { |
198 speak: '$value' | 198 speak: '$value $name' |
199 }, | 199 }, |
200 tab: { | 200 tab: { |
201 speak: '@describe_tab($name)' | 201 speak: '@describe_tab($name)' |
202 }, | 202 }, |
203 toolbar: { | 203 toolbar: { |
204 enter: '$name $role' | 204 enter: '$name $role' |
205 }, | 205 }, |
206 window: { | 206 window: { |
207 enter: '$name', | 207 enter: '$name', |
208 speak: '@describe_window($name) $earcon(OBJECT_OPEN)' | 208 speak: '@describe_window($name) $earcon(OBJECT_OPEN)' |
(...skipping 578 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
787 } | 787 } |
788 | 788 |
789 if (currentNode != root) | 789 if (currentNode != root) |
790 throw 'Unbalanced parenthesis.'; | 790 throw 'Unbalanced parenthesis.'; |
791 | 791 |
792 return root; | 792 return root; |
793 } | 793 } |
794 }; | 794 }; |
795 | 795 |
796 }); // goog.scope | 796 }); // goog.scope |
OLD | NEW |