| 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 335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 346 '$description' | 346 '$description' |
| 347 }, | 347 }, |
| 348 listBoxOption: { | 348 listBoxOption: { |
| 349 speak: '$name $role @describe_index($indexInParent, $parentChildCount) ' + | 349 speak: '$name $role @describe_index($indexInParent, $parentChildCount) ' + |
| 350 '$description $state' | 350 '$description $state' |
| 351 }, | 351 }, |
| 352 listItem: { | 352 listItem: { |
| 353 enter: '$name= $role $state $description', | 353 enter: '$name= $role $state $description', |
| 354 speak: '$nameOrDescendants $earcon(LIST_ITEM) $role $state $description' | 354 speak: '$nameOrDescendants $earcon(LIST_ITEM) $role $state $description' |
| 355 }, | 355 }, |
| 356 listMarker: {speak: '$name'}, |
| 356 menu: { | 357 menu: { |
| 357 enter: '$name $role', | 358 enter: '$name $role', |
| 358 speak: '$name $role @@list_with_items($countChildren(menuItem)) ' + | 359 speak: '$name $role @@list_with_items($countChildren(menuItem)) ' + |
| 359 '$description $state' | 360 '$description $state' |
| 360 }, | 361 }, |
| 361 menuItem: { | 362 menuItem: { |
| 362 speak: '$name $role $if($haspopup, @has_submenu) ' + | 363 speak: '$name $role $if($haspopup, @has_submenu) ' + |
| 363 '@describe_index($indexInParent, $parentChildCount) ' + | 364 '@describe_index($indexInParent, $parentChildCount) ' + |
| 364 '$description $state' | 365 '$description $state' |
| 365 }, | 366 }, |
| (...skipping 1338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1704 /** | 1705 /** |
| 1705 * Gets the output buffer for braille. | 1706 * Gets the output buffer for braille. |
| 1706 * @return {!Spannable} | 1707 * @return {!Spannable} |
| 1707 */ | 1708 */ |
| 1708 get brailleOutputForTest() { | 1709 get brailleOutputForTest() { |
| 1709 return this.mergeBraille_(this.brailleBuffer_); | 1710 return this.mergeBraille_(this.brailleBuffer_); |
| 1710 } | 1711 } |
| 1711 }; | 1712 }; |
| 1712 | 1713 |
| 1713 }); // goog.scope | 1714 }); // goog.scope |
| OLD | NEW |