| 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 662 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 673 var nodeRefAttributes = [ | 673 var nodeRefAttributes = [ |
| 674 ['activedescendantId', 'activeDescendant'], | 674 ['activedescendantId', 'activeDescendant'], |
| 675 ['tableColumnHeaderId', 'tableColumnHeader'], | 675 ['tableColumnHeaderId', 'tableColumnHeader'], |
| 676 ['tableHeaderId', 'tableHeader'], | 676 ['tableHeaderId', 'tableHeader'], |
| 677 ['tableRowHeaderId', 'tableRowHeader'], | 677 ['tableRowHeaderId', 'tableRowHeader'], |
| 678 ['titleUiElement', 'titleUIElement']]; | 678 ['titleUiElement', 'titleUIElement']]; |
| 679 | 679 |
| 680 var intListAttributes = [ | 680 var intListAttributes = [ |
| 681 'characterOffsets', | 681 'characterOffsets', |
| 682 'lineBreaks', | 682 'lineBreaks', |
| 683 'markerEnds', |
| 684 'markerStarts', |
| 685 'markerTypes', |
| 683 'wordEnds', | 686 'wordEnds', |
| 684 'wordStarts']; | 687 'wordStarts']; |
| 685 | 688 |
| 686 var nodeRefListAttributes = [ | 689 var nodeRefListAttributes = [ |
| 687 ['cellIds', 'cells'], | 690 ['cellIds', 'cells'], |
| 688 ['controlsIds', 'controls'], | 691 ['controlsIds', 'controls'], |
| 689 ['describedbyIds', 'describedBy'], | 692 ['describedbyIds', 'describedBy'], |
| 690 ['flowtoIds', 'flowTo'], | 693 ['flowtoIds', 'flowTo'], |
| 691 ['labelledbyIds', 'labelledBy'], | 694 ['labelledbyIds', 'labelledBy'], |
| 692 ['uniqueCellIds', 'uniqueCells']]; | 695 ['uniqueCellIds', 'uniqueCells']]; |
| (...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1054 utils.defineProperty(AutomationRootNode, 'getOrCreate', function(treeID) { | 1057 utils.defineProperty(AutomationRootNode, 'getOrCreate', function(treeID) { |
| 1055 return AutomationRootNodeImpl.getOrCreate(treeID); | 1058 return AutomationRootNodeImpl.getOrCreate(treeID); |
| 1056 }); | 1059 }); |
| 1057 | 1060 |
| 1058 utils.defineProperty(AutomationRootNode, 'destroy', function(treeID) { | 1061 utils.defineProperty(AutomationRootNode, 'destroy', function(treeID) { |
| 1059 AutomationRootNodeImpl.destroy(treeID); | 1062 AutomationRootNodeImpl.destroy(treeID); |
| 1060 }); | 1063 }); |
| 1061 | 1064 |
| 1062 exports.$set('AutomationNode', AutomationNode); | 1065 exports.$set('AutomationNode', AutomationNode); |
| 1063 exports.$set('AutomationRootNode', AutomationRootNode); | 1066 exports.$set('AutomationRootNode', AutomationRootNode); |
| OLD | NEW |