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

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 Blink test.# with '#' will be ignored, and an empty message aborts the commit. 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 717 matching lines...) Expand 10 before | Expand all | Expand 10 after
728 'hierarchicalLevel', 728 'hierarchicalLevel',
729 'posInSet', 729 'posInSet',
730 'scrollX', 730 'scrollX',
731 'scrollXMax', 731 'scrollXMax',
732 'scrollXMin', 732 'scrollXMin',
733 'scrollY', 733 'scrollY',
734 'scrollYMax', 734 'scrollYMax',
735 'scrollYMin', 735 'scrollYMin',
736 'setSize', 736 'setSize',
737 'tableCellColumnIndex', 737 'tableCellColumnIndex',
738 'ariaCellColumnIndex',
738 'tableCellColumnSpan', 739 'tableCellColumnSpan',
739 'tableCellRowIndex', 740 'tableCellRowIndex',
741 'ariaCellRowIndex',
740 'tableCellRowSpan', 742 'tableCellRowSpan',
741 'tableColumnCount', 743 'tableColumnCount',
744 'ariaColumnCount',
742 'tableColumnIndex', 745 'tableColumnIndex',
743 'tableRowCount', 746 'tableRowCount',
747 'ariaRowCount',
744 'tableRowIndex', 748 'tableRowIndex',
745 'textSelEnd', 749 'textSelEnd',
746 'textSelStart']; 750 'textSelStart'];
747 751
748 var nodeRefAttributes = [ 752 var nodeRefAttributes = [
749 ['activedescendantId', 'activeDescendant'], 753 ['activedescendantId', 'activeDescendant'],
750 ['inPageLinkTargetId', 'inPageLinkTarget'], 754 ['inPageLinkTargetId', 'inPageLinkTarget'],
751 ['nextOnLineId', 'nextOnLine'], 755 ['nextOnLineId', 'nextOnLine'],
752 ['previousOnLineId', 'previousOnLine'], 756 ['previousOnLineId', 'previousOnLine'],
753 ['tableColumnHeaderId', 'tableColumnHeader'], 757 ['tableColumnHeaderId', 'tableColumnHeader'],
(...skipping 407 matching lines...) Expand 10 before | Expand all | Expand 10 after
1161 utils.defineProperty(AutomationRootNode, 'getOrCreate', function(treeID) { 1165 utils.defineProperty(AutomationRootNode, 'getOrCreate', function(treeID) {
1162 return AutomationRootNodeImpl.getOrCreate(treeID); 1166 return AutomationRootNodeImpl.getOrCreate(treeID);
1163 }); 1167 });
1164 1168
1165 utils.defineProperty(AutomationRootNode, 'destroy', function(treeID) { 1169 utils.defineProperty(AutomationRootNode, 'destroy', function(treeID) {
1166 AutomationRootNodeImpl.destroy(treeID); 1170 AutomationRootNodeImpl.destroy(treeID);
1167 }); 1171 });
1168 1172
1169 exports.$set('AutomationNode', AutomationNode); 1173 exports.$set('AutomationNode', AutomationNode);
1170 exports.$set('AutomationRootNode', AutomationRootNode); 1174 exports.$set('AutomationRootNode', AutomationRootNode);
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/automation.idl ('k') | chrome/test/data/extensions/api_test/automation/sites/attributes.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698