Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(196)

Side by Side Diff: chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js

Issue 880063002: Ensure WebView notifies desktop automation on creation, destruction, and change (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix leaks? Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 680 matching lines...) Expand 10 before | Expand all | Expand 10 after
706 } 708 }
707 709
708 if (currentNode != root) 710 if (currentNode != root)
709 throw 'Unbalanced parenthesis.'; 711 throw 'Unbalanced parenthesis.';
710 712
711 return root; 713 return root;
712 } 714 }
713 }; 715 };
714 716
715 }); // goog.scope 717 }); // goog.scope
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698