| 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 535 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 546 }, | 546 }, |
| 547 menuListValueChanged: { | 547 menuListValueChanged: { |
| 548 'default': { | 548 'default': { |
| 549 speak: '$value $name ' + | 549 speak: '$value $name ' + |
| 550 '$find({"state": {"selected": true, "invisible": false}}, ' + | 550 '$find({"state": {"selected": true, "invisible": false}}, ' + |
| 551 '@describe_index($indexInParent, $parentChildCount)) ' | 551 '@describe_index($indexInParent, $parentChildCount)) ' |
| 552 } | 552 } |
| 553 }, | 553 }, |
| 554 alert: { | 554 alert: { |
| 555 default: { | 555 default: { |
| 556 speak: '!doNotInterrupt ' + | 556 speak: '!doNotInterrupt @role_alert ' + |
| 557 '@role_alert $name $earcon(ALERT_NONMODAL) $description $descendants' | 557 '$if($name, $name, $descendants) $earcon(ALERT_NONMODAL) $description' |
| 558 } | 558 } |
| 559 } | 559 } |
| 560 }; | 560 }; |
| 561 | 561 |
| 562 /** | 562 /** |
| 563 * Used to annotate utterances with speech properties. | 563 * Used to annotate utterances with speech properties. |
| 564 * @constructor | 564 * @constructor |
| 565 */ | 565 */ |
| 566 Output.SpeechProperties = function() {}; | 566 Output.SpeechProperties = function() {}; |
| 567 | 567 |
| (...skipping 1029 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1597 break; | 1597 break; |
| 1598 } | 1598 } |
| 1599 earconFinder = earconFinder.parent; | 1599 earconFinder = earconFinder.parent; |
| 1600 } | 1600 } |
| 1601 } | 1601 } |
| 1602 return null; | 1602 return null; |
| 1603 } | 1603 } |
| 1604 }; | 1604 }; |
| 1605 | 1605 |
| 1606 }); // goog.scope | 1606 }); // goog.scope |
| OLD | NEW |