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'); |
11 | 11 |
12 goog.require('AutomationUtil.Dir'); | 12 goog.require('AutomationUtil.Dir'); |
13 goog.require('cursors.Cursor'); | 13 goog.require('cursors.Cursor'); |
14 goog.require('cursors.Range'); | 14 goog.require('cursors.Range'); |
15 goog.require('cursors.Unit'); | 15 goog.require('cursors.Unit'); |
16 goog.require('cvox.AbstractEarcons'); | |
17 goog.require('cvox.NavBraille'); | |
18 goog.require('cvox.Spannable'); | 16 goog.require('cvox.Spannable'); |
19 goog.require('cvox.ValueSelectionSpan'); | 17 goog.require('cvox.ValueSelectionSpan'); |
20 goog.require('cvox.ValueSpan'); | 18 goog.require('cvox.ValueSpan'); |
21 | 19 |
22 goog.scope(function() { | 20 goog.scope(function() { |
23 var Dir = AutomationUtil.Dir; | 21 var Dir = AutomationUtil.Dir; |
24 | 22 |
25 /** | 23 /** |
26 * An Output object formats a cursors.Range into speech, braille, or both | 24 * An Output object formats a cursors.Range into speech, braille, or both |
27 * representations. This is typically a cvox.Spannable. | 25 * representations. This is typically a cvox.Spannable. |
(...skipping 680 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
708 } | 706 } |
709 | 707 |
710 if (currentNode != root) | 708 if (currentNode != root) |
711 throw 'Unbalanced parenthesis.'; | 709 throw 'Unbalanced parenthesis.'; |
712 | 710 |
713 return root; | 711 return root; |
714 } | 712 } |
715 }; | 713 }; |
716 | 714 |
717 }); // goog.scope | 715 }); // goog.scope |
OLD | NEW |