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 461 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
472 speak: '$if($name, $name, $urlFilename) ' + | 472 speak: '$if($name, $name, $urlFilename) ' + |
473 '$value $state $role $description', | 473 '$value $state $role $description', |
474 }, | 474 }, |
475 inlineTextBox: { | 475 inlineTextBox: { |
476 speak: '$name=' | 476 speak: '$name=' |
477 }, | 477 }, |
478 inputTime: { | 478 inputTime: { |
479 enter: '$nameFromNode $role $description' | 479 enter: '$nameFromNode $role $description' |
480 }, | 480 }, |
481 link: { | 481 link: { |
482 enter: '$nameFromNode= $role $state' | 482 enter: '$nameFromNode= $role $state', |
| 483 speak: '$name $value $state ' + |
| 484 '$if($inPageLinkTarget, @internal_link, $role) $description', |
483 }, | 485 }, |
484 list: { | 486 list: { |
485 enter: '$role @@list_with_items($countChildren(listItem))', | 487 enter: '$role @@list_with_items($countChildren(listItem))', |
486 speak: '$descendants $role @@list_with_items($countChildren(listItem))' | 488 speak: '$descendants $role @@list_with_items($countChildren(listItem))' |
487 }, | 489 }, |
488 listBox: { | 490 listBox: { |
489 enter: '$nameFromNode ' + | 491 enter: '$nameFromNode ' + |
490 '$role @@list_with_items($countChildren(listBoxOption)) ' + | 492 '$role @@list_with_items($countChildren(listBoxOption)) ' + |
491 '$description' | 493 '$description' |
492 }, | 494 }, |
(...skipping 1382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1875 /** | 1877 /** |
1876 * Gets the output buffer for braille. | 1878 * Gets the output buffer for braille. |
1877 * @return {!Spannable} | 1879 * @return {!Spannable} |
1878 */ | 1880 */ |
1879 get brailleOutputForTest() { | 1881 get brailleOutputForTest() { |
1880 return this.mergeBraille_(this.brailleBuffer_); | 1882 return this.mergeBraille_(this.brailleBuffer_); |
1881 } | 1883 } |
1882 }; | 1884 }; |
1883 | 1885 |
1884 }); // goog.scope | 1886 }); // goog.scope |
OLD | NEW |