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

Side by Side Diff: chrome/renderer/resources/extensions/automation/automation_node.js

Issue 2799443002: Implemented ARIA colindex, rowindex, colcount and rowcount for Chromevox. (Closed)
Patch Set: Fixed automation test. Created 3 years, 8 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 var AutomationEvent = require('automationEvent').AutomationEvent; 5 var AutomationEvent = require('automationEvent').AutomationEvent;
6 var automationInternal = 6 var automationInternal =
7 require('binding').Binding.create('automationInternal').generate(); 7 require('binding').Binding.create('automationInternal').generate();
8 var exceptionHandler = require('uncaught_exception_handler'); 8 var exceptionHandler = require('uncaught_exception_handler');
9 var IsInteractPermitted = 9 var IsInteractPermitted =
10 requireNative('automationInternal').IsInteractPermitted; 10 requireNative('automationInternal').IsInteractPermitted;
(...skipping 707 matching lines...) Expand 10 before | Expand all | Expand 10 after
718 'hierarchicalLevel', 718 'hierarchicalLevel',
719 'posInSet', 719 'posInSet',
720 'scrollX', 720 'scrollX',
721 'scrollXMax', 721 'scrollXMax',
722 'scrollXMin', 722 'scrollXMin',
723 'scrollY', 723 'scrollY',
724 'scrollYMax', 724 'scrollYMax',
725 'scrollYMin', 725 'scrollYMin',
726 'setSize', 726 'setSize',
727 'tableCellColumnIndex', 727 'tableCellColumnIndex',
728 'ariaCellColumnIndex',
728 'tableCellColumnSpan', 729 'tableCellColumnSpan',
729 'tableCellRowIndex', 730 'tableCellRowIndex',
731 'ariaCellRowIndex',
730 'tableCellRowSpan', 732 'tableCellRowSpan',
731 'tableColumnCount', 733 'tableColumnCount',
734 'ariaColumnCount',
732 'tableColumnIndex', 735 'tableColumnIndex',
733 'tableRowCount', 736 'tableRowCount',
737 'ariaRowCount',
734 'tableRowIndex', 738 'tableRowIndex',
735 'textSelEnd', 739 'textSelEnd',
736 'textSelStart']; 740 'textSelStart'];
737 741
738 var nodeRefAttributes = [ 742 var nodeRefAttributes = [
739 ['activedescendantId', 'activeDescendant'], 743 ['activedescendantId', 'activeDescendant'],
740 ['inPageLinkTargetId', 'inPageLinkTarget'], 744 ['inPageLinkTargetId', 'inPageLinkTarget'],
741 ['nextOnLineId', 'nextOnLine'], 745 ['nextOnLineId', 'nextOnLine'],
742 ['previousOnLineId', 'previousOnLine'], 746 ['previousOnLineId', 'previousOnLine'],
743 ['tableColumnHeaderId', 'tableColumnHeader'], 747 ['tableColumnHeaderId', 'tableColumnHeader'],
(...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after
1150 utils.defineProperty(AutomationRootNode, 'getOrCreate', function(treeID) { 1154 utils.defineProperty(AutomationRootNode, 'getOrCreate', function(treeID) {
1151 return AutomationRootNodeImpl.getOrCreate(treeID); 1155 return AutomationRootNodeImpl.getOrCreate(treeID);
1152 }); 1156 });
1153 1157
1154 utils.defineProperty(AutomationRootNode, 'destroy', function(treeID) { 1158 utils.defineProperty(AutomationRootNode, 'destroy', function(treeID) {
1155 AutomationRootNodeImpl.destroy(treeID); 1159 AutomationRootNodeImpl.destroy(treeID);
1156 }); 1160 });
1157 1161
1158 exports.$set('AutomationNode', AutomationNode); 1162 exports.$set('AutomationNode', AutomationNode);
1159 exports.$set('AutomationRootNode', AutomationRootNode); 1163 exports.$set('AutomationRootNode', AutomationRootNode);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698