| 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 728 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 756 } | 754 } |
| 757 | 755 |
| 758 if (currentNode != root) | 756 if (currentNode != root) |
| 759 throw 'Unbalanced parenthesis.'; | 757 throw 'Unbalanced parenthesis.'; |
| 760 | 758 |
| 761 return root; | 759 return root; |
| 762 } | 760 } |
| 763 }; | 761 }; |
| 764 | 762 |
| 765 }); // goog.scope | 763 }); // goog.scope |
| OLD | NEW |