| 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 405 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 416 }, | 416 }, |
| 417 menuItem: { | 417 menuItem: { |
| 418 speak: '$name $role $if($haspopup, @has_submenu) ' + | 418 speak: '$name $role $if($haspopup, @has_submenu) ' + |
| 419 '@describe_index($indexInParent, $parentChildCount)' | 419 '@describe_index($indexInParent, $parentChildCount)' |
| 420 }, | 420 }, |
| 421 menuListOption: { | 421 menuListOption: { |
| 422 speak: '$name $value @aria_role_menuitem ' + | 422 speak: '$name $value @aria_role_menuitem ' + |
| 423 '@describe_index($indexInParent, $parentChildCount)' | 423 '@describe_index($indexInParent, $parentChildCount)' |
| 424 }, | 424 }, |
| 425 paragraph: { | 425 paragraph: { |
| 426 speak: '$value' | 426 speak: '$descendants' |
| 427 }, | 427 }, |
| 428 popUpButton: { | 428 popUpButton: { |
| 429 speak: '$value $name $role @aria_has_popup ' + | 429 speak: '$value $name $role @aria_has_popup ' + |
| 430 '$if($collapsed, @aria_expanded_false, @aria_expanded_true)' | 430 '$if($collapsed, @aria_expanded_false, @aria_expanded_true)' |
| 431 }, | 431 }, |
| 432 radioButton: { | 432 radioButton: { |
| 433 speak: '$if($checked, @describe_radio_selected($name), ' + | 433 speak: '$if($checked, @describe_radio_selected($name), ' + |
| 434 '@describe_radio_unselected($name))' | 434 '@describe_radio_unselected($name))' |
| 435 }, | 435 }, |
| 436 radioGroup: { | 436 radioGroup: { |
| (...skipping 847 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1284 elem.end); | 1284 elem.end); |
| 1285 }); | 1285 }); |
| 1286 spansToRemove.forEach(result.removeSpan.bind(result)); | 1286 spansToRemove.forEach(result.removeSpan.bind(result)); |
| 1287 separator = Output.SPACE; | 1287 separator = Output.SPACE; |
| 1288 }); | 1288 }); |
| 1289 return result; | 1289 return result; |
| 1290 } | 1290 } |
| 1291 }; | 1291 }; |
| 1292 | 1292 |
| 1293 }); // goog.scope | 1293 }); // goog.scope |
| OLD | NEW |