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 422 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
433 speak: '@describe_slider($value, $name) $help' | 433 speak: '@describe_slider($value, $name) $help' |
434 }, | 434 }, |
435 staticText: { | 435 staticText: { |
436 speak: '$value $name' | 436 speak: '$value $name' |
437 }, | 437 }, |
438 tab: { | 438 tab: { |
439 speak: '@describe_tab($name)' | 439 speak: '@describe_tab($name)' |
440 }, | 440 }, |
441 textField: { | 441 textField: { |
442 speak: '$name $value $if(' + | 442 speak: '$name $value $if(' + |
443 '$type, @input_type_+$type, @input_type_text)', | 443 '$inputType, @input_type_+$inputType, @input_type_text)', |
444 braille: '' | 444 braille: '' |
445 }, | 445 }, |
446 toolbar: { | 446 toolbar: { |
447 enter: '$name $role' | 447 enter: '$name $role' |
448 }, | 448 }, |
449 tree: { | 449 tree: { |
450 enter: '$name $role @list_with_items($countChildren(treeItem))' | 450 enter: '$name $role @list_with_items($countChildren(treeItem))' |
451 }, | 451 }, |
452 treeItem: { | 452 treeItem: { |
453 enter: '$role $expanded $collapsed ' + | 453 enter: '$role $expanded $collapsed ' + |
(...skipping 722 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1176 } | 1176 } |
1177 | 1177 |
1178 if (currentNode != root) | 1178 if (currentNode != root) |
1179 throw 'Unbalanced parenthesis.'; | 1179 throw 'Unbalanced parenthesis.'; |
1180 | 1180 |
1181 return root; | 1181 return root; |
1182 } | 1182 } |
1183 }; | 1183 }; |
1184 | 1184 |
1185 }); // goog.scope | 1185 }); // goog.scope |
OLD | NEW |