| 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 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 338 '$description' | 338 '$description' |
| 339 }, | 339 }, |
| 340 listBoxOption: { | 340 listBoxOption: { |
| 341 speak: '$name $role @describe_index($indexInParent, $parentChildCount) ' + | 341 speak: '$name $role @describe_index($indexInParent, $parentChildCount) ' + |
| 342 '$description $state' | 342 '$description $state' |
| 343 }, | 343 }, |
| 344 listItem: { | 344 listItem: { |
| 345 enter: '$name= $role $state $description', | 345 enter: '$name= $role $state $description', |
| 346 speak: '$nameOrDescendants $earcon(LIST_ITEM) $role $state $description' | 346 speak: '$nameOrDescendants $earcon(LIST_ITEM) $role $state $description' |
| 347 }, | 347 }, |
| 348 listMarker: {speak: '$name'}, | |
| 349 menu: { | 348 menu: { |
| 350 enter: '$name $role', | 349 enter: '$name $role', |
| 351 speak: '$name $role @@list_with_items($countChildren(menuItem)) $state' | 350 speak: '$name $role @@list_with_items($countChildren(menuItem)) $state' |
| 352 }, | 351 }, |
| 353 menuItem: { | 352 menuItem: { |
| 354 speak: '$name $role $if($haspopup, @has_submenu) ' + | 353 speak: '$name $role $if($haspopup, @has_submenu) ' + |
| 355 '@describe_index($indexInParent, $parentChildCount) ' + | 354 '@describe_index($indexInParent, $parentChildCount) ' + |
| 356 '$description $state' | 355 '$description $state' |
| 357 }, | 356 }, |
| 358 menuItemCheckBox: { | 357 menuItemCheckBox: { |
| (...skipping 1336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1695 /** | 1694 /** |
| 1696 * Gets the output buffer for braille. | 1695 * Gets the output buffer for braille. |
| 1697 * @return {!Spannable} | 1696 * @return {!Spannable} |
| 1698 */ | 1697 */ |
| 1699 get brailleOutputForTest() { | 1698 get brailleOutputForTest() { |
| 1700 return this.mergeBraille_(this.brailleBuffer_); | 1699 return this.mergeBraille_(this.brailleBuffer_); |
| 1701 } | 1700 } |
| 1702 }; | 1701 }; |
| 1703 | 1702 |
| 1704 }); // goog.scope | 1703 }); // goog.scope |
| OLD | NEW |