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

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

Issue 1231603009: Re-land: Reimplement automation API on top of C++-backed AXTree. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix nested event sending in AutomationManagerAura Created 5 years, 5 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');
(...skipping 422 matching lines...) Expand 10 before | Expand all | Expand 10 after
433 speak: '@describe_slider($value, $name) $help' 433 speak: '@describe_slider($value, $name) $help'
434 }, 434 },
435 staticText: { 435 staticText: {
436 speak: '$value $name' 436 speak: '$value $name'
437 }, 437 },
438 tab: { 438 tab: {
439 speak: '@describe_tab($name)' 439 speak: '@describe_tab($name)'
440 }, 440 },
441 textField: { 441 textField: {
442 speak: '$name $value $if(' + 442 speak: '$name $value $if(' +
443 '$type, @input_type_+$type, @input_type_text)', 443 '$inputType, @input_type_+$inputType, @input_type_text)',
444 braille: '' 444 braille: ''
445 }, 445 },
446 toolbar: { 446 toolbar: {
447 enter: '$name $role' 447 enter: '$name $role'
448 }, 448 },
449 tree: { 449 tree: {
450 enter: '$name $role @list_with_items($countChildren(treeItem))' 450 enter: '$name $role @list_with_items($countChildren(treeItem))'
451 }, 451 },
452 treeItem: { 452 treeItem: {
453 enter: '$role $expanded $collapsed ' + 453 enter: '$role $expanded $collapsed ' +
(...skipping 722 matching lines...) Expand 10 before | Expand all | Expand 10 after
1176 } 1176 }
1177 1177
1178 if (currentNode != root) 1178 if (currentNode != root)
1179 throw 'Unbalanced parenthesis.'; 1179 throw 'Unbalanced parenthesis.';
1180 1180
1181 return root; 1181 return root;
1182 } 1182 }
1183 }; 1183 };
1184 1184
1185 }); // goog.scope 1185 }); // goog.scope
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698