OLD | NEW |
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 719 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
730 'tableCellRowSpan', | 730 'tableCellRowSpan', |
731 'tableColumnCount', | 731 'tableColumnCount', |
732 'tableColumnIndex', | 732 'tableColumnIndex', |
733 'tableRowCount', | 733 'tableRowCount', |
734 'tableRowIndex', | 734 'tableRowIndex', |
735 'textSelEnd', | 735 'textSelEnd', |
736 'textSelStart']; | 736 'textSelStart']; |
737 | 737 |
738 var nodeRefAttributes = [ | 738 var nodeRefAttributes = [ |
739 ['activedescendantId', 'activeDescendant'], | 739 ['activedescendantId', 'activeDescendant'], |
| 740 ['inPageLinkTargetId', 'inPageLinkTarget'], |
740 ['nextOnLineId', 'nextOnLine'], | 741 ['nextOnLineId', 'nextOnLine'], |
741 ['previousOnLineId', 'previousOnLine'], | 742 ['previousOnLineId', 'previousOnLine'], |
742 ['tableColumnHeaderId', 'tableColumnHeader'], | 743 ['tableColumnHeaderId', 'tableColumnHeader'], |
743 ['tableHeaderId', 'tableHeader'], | 744 ['tableHeaderId', 'tableHeader'], |
744 ['tableRowHeaderId', 'tableRowHeader']]; | 745 ['tableRowHeaderId', 'tableRowHeader']]; |
745 | 746 |
746 var intListAttributes = [ | 747 var intListAttributes = [ |
747 'lineBreaks', | 748 'lineBreaks', |
748 'markerEnds', | 749 'markerEnds', |
749 'markerStarts', | 750 'markerStarts', |
(...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1149 utils.defineProperty(AutomationRootNode, 'getOrCreate', function(treeID) { | 1150 utils.defineProperty(AutomationRootNode, 'getOrCreate', function(treeID) { |
1150 return AutomationRootNodeImpl.getOrCreate(treeID); | 1151 return AutomationRootNodeImpl.getOrCreate(treeID); |
1151 }); | 1152 }); |
1152 | 1153 |
1153 utils.defineProperty(AutomationRootNode, 'destroy', function(treeID) { | 1154 utils.defineProperty(AutomationRootNode, 'destroy', function(treeID) { |
1154 AutomationRootNodeImpl.destroy(treeID); | 1155 AutomationRootNodeImpl.destroy(treeID); |
1155 }); | 1156 }); |
1156 | 1157 |
1157 exports.$set('AutomationNode', AutomationNode); | 1158 exports.$set('AutomationNode', AutomationNode); |
1158 exports.$set('AutomationRootNode', AutomationRootNode); | 1159 exports.$set('AutomationRootNode', AutomationRootNode); |
OLD | NEW |