| 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'); |
| 16 goog.require('cvox.Spannable'); | 18 goog.require('cvox.Spannable'); |
| 17 goog.require('cvox.ValueSelectionSpan'); | 19 goog.require('cvox.ValueSelectionSpan'); |
| 18 goog.require('cvox.ValueSpan'); | 20 goog.require('cvox.ValueSpan'); |
| 19 | 21 |
| 20 goog.scope(function() { | 22 goog.scope(function() { |
| 21 var Dir = AutomationUtil.Dir; | 23 var Dir = AutomationUtil.Dir; |
| 22 | 24 |
| 23 /** | 25 /** |
| 24 * An Output object formats a cursors.Range into speech, braille, or both | 26 * An Output object formats a cursors.Range into speech, braille, or both |
| 25 * representations. This is typically a cvox.Spannable. | 27 * representations. This is typically a cvox.Spannable. |
| (...skipping 722 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 748 } | 750 } |
| 749 | 751 |
| 750 if (currentNode != root) | 752 if (currentNode != root) |
| 751 throw 'Unbalanced parenthesis.'; | 753 throw 'Unbalanced parenthesis.'; |
| 752 | 754 |
| 753 return root; | 755 return root; |
| 754 } | 756 } |
| 755 }; | 757 }; |
| 756 | 758 |
| 757 }); // goog.scope | 759 }); // goog.scope |
| OLD | NEW |