| 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 400 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 411 }, | 411 }, |
| 412 checkBox: { | 412 checkBox: { |
| 413 speak: '$if($checked, $earcon(CHECK_ON), $earcon(CHECK_OFF)) ' + | 413 speak: '$if($checked, $earcon(CHECK_ON), $earcon(CHECK_OFF)) ' + |
| 414 '$name $role $checked $description' | 414 '$name $role $checked $description' |
| 415 }, | 415 }, |
| 416 dialog: { | 416 dialog: { |
| 417 enter: '$nameFromNode $role $description' | 417 enter: '$nameFromNode $role $description' |
| 418 }, | 418 }, |
| 419 div: { | 419 div: { |
| 420 enter: '$nameFromNode', | 420 enter: '$nameFromNode', |
| 421 speak: '$name $description' | 421 speak: '$name $description $descendants' |
| 422 }, | 422 }, |
| 423 grid: { | 423 grid: { |
| 424 enter: '$nameFromNode $role $description' | 424 enter: '$nameFromNode $role $description' |
| 425 }, | 425 }, |
| 426 heading: { | 426 heading: { |
| 427 enter: '@tag_h+$hierarchicalLevel', | 427 enter: '@tag_h+$hierarchicalLevel', |
| 428 speak: '!relativePitch(hierarchicalLevel)' + | 428 speak: '!relativePitch(hierarchicalLevel)' + |
| 429 ' $nameOrDescendants= @tag_h+$hierarchicalLevel' | 429 ' $nameOrDescendants= @tag_h+$hierarchicalLevel' |
| 430 }, | 430 }, |
| 431 inlineTextBox: { | 431 inlineTextBox: { |
| (...skipping 1140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1572 break; | 1572 break; |
| 1573 } | 1573 } |
| 1574 earconFinder = earconFinder.parent; | 1574 earconFinder = earconFinder.parent; |
| 1575 } | 1575 } |
| 1576 } | 1576 } |
| 1577 return null; | 1577 return null; |
| 1578 } | 1578 } |
| 1579 }; | 1579 }; |
| 1580 | 1580 |
| 1581 }); // goog.scope | 1581 }); // goog.scope |
| OLD | NEW |