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 447 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
458 inlineTextBox: { | 458 inlineTextBox: { |
459 speak: '$name=' | 459 speak: '$name=' |
460 }, | 460 }, |
461 inputTime: { | 461 inputTime: { |
462 enter: '$nameFromNode $role $description' | 462 enter: '$nameFromNode $role $description' |
463 }, | 463 }, |
464 link: { | 464 link: { |
465 enter: '$nameFromNode= $role $state' | 465 enter: '$nameFromNode= $role $state' |
466 }, | 466 }, |
467 list: { | 467 list: { |
468 enter: '$role @@list_with_items($countChildren(listItem))' | 468 enter: '$role @@list_with_items($countChildren(listItem))', |
| 469 speak: '$descendants $role @@list_with_items($countChildren(listItem))' |
469 }, | 470 }, |
470 listBox: { | 471 listBox: { |
471 enter: '$nameFromNode ' + | 472 enter: '$nameFromNode ' + |
472 '$role @@list_with_items($countChildren(listBoxOption)) ' + | 473 '$role @@list_with_items($countChildren(listBoxOption)) ' + |
473 '$description' | 474 '$description' |
474 }, | 475 }, |
475 listBoxOption: { | 476 listBoxOption: { |
476 speak: '$name $role @describe_index($indexInParent, $parentChildCount) ' + | 477 speak: '$name $role @describe_index($indexInParent, $parentChildCount) ' + |
477 '$description $state' | 478 '$description $state' |
478 }, | 479 }, |
(...skipping 1229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1708 /** | 1709 /** |
1709 * Gets the output buffer for braille. | 1710 * Gets the output buffer for braille. |
1710 * @return {!Spannable} | 1711 * @return {!Spannable} |
1711 */ | 1712 */ |
1712 get brailleOutputForTest() { | 1713 get brailleOutputForTest() { |
1713 return this.createBrailleOutput_(); | 1714 return this.createBrailleOutput_(); |
1714 } | 1715 } |
1715 }; | 1716 }; |
1716 | 1717 |
1717 }); // goog.scope | 1718 }); // goog.scope |
OLD | NEW |