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

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

Issue 907973004: Reland #3: Ensure WebView notifies desktop automation on creation, (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixes 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 722 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698