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 418 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
429 speak: '@describe_slider($value, $name) $help' | 429 speak: '@describe_slider($value, $name) $help' |
430 }, | 430 }, |
431 staticText: { | 431 staticText: { |
432 speak: '$value $name' | 432 speak: '$value $name' |
433 }, | 433 }, |
434 tab: { | 434 tab: { |
435 speak: '@describe_tab($name)' | 435 speak: '@describe_tab($name)' |
436 }, | 436 }, |
437 textField: { | 437 textField: { |
438 speak: '$name $value $if(' + | 438 speak: '$name $value $if(' + |
439 '$textInputType, @input_type_+$textInputType, @input_type_text)', | 439 '$type, @input_type_+$type, @input_type_text)', |
440 braille: '' | 440 braille: '' |
441 }, | 441 }, |
442 toolbar: { | 442 toolbar: { |
443 enter: '$name $role' | 443 enter: '$name $role' |
444 }, | 444 }, |
445 tree: { | 445 tree: { |
446 enter: '$name $role @list_with_items($countChildren(treeItem))' | 446 enter: '$name $role @list_with_items($countChildren(treeItem))' |
447 }, | 447 }, |
448 treeItem: { | 448 treeItem: { |
449 enter: '$role $expanded $collapsed ' + | 449 enter: '$role $expanded $collapsed ' + |
(...skipping 713 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1163 } | 1163 } |
1164 | 1164 |
1165 if (currentNode != root) | 1165 if (currentNode != root) |
1166 throw 'Unbalanced parenthesis.'; | 1166 throw 'Unbalanced parenthesis.'; |
1167 | 1167 |
1168 return root; | 1168 return root; |
1169 } | 1169 } |
1170 }; | 1170 }; |
1171 | 1171 |
1172 }); // goog.scope | 1172 }); // goog.scope |
OLD | NEW |