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 611 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
622 'tableColumnCount', | 622 'tableColumnCount', |
623 'tableColumnIndex', | 623 'tableColumnIndex', |
624 'tableRowCount', | 624 'tableRowCount', |
625 'tableRowIndex', | 625 'tableRowIndex', |
626 'textDirection', | 626 'textDirection', |
627 'textSelEnd', | 627 'textSelEnd', |
628 'textSelStart', | 628 'textSelStart', |
629 'textStyle']; | 629 'textStyle']; |
630 | 630 |
631 var nodeRefAttributes = [ | 631 var nodeRefAttributes = [ |
632 ['activedescendantId', 'activedescendant'], | 632 ['activedescendantId', 'activeDescendant'], |
633 ['tableColumnHeaderId', 'tableColumnHeader'], | 633 ['tableColumnHeaderId', 'tableColumnHeader'], |
634 ['tableHeaderId', 'tableHeader'], | 634 ['tableHeaderId', 'tableHeader'], |
635 ['tableRowHeaderId', 'tableRowHeader'], | 635 ['tableRowHeaderId', 'tableRowHeader'], |
636 ['titleUiElement', 'titleUIElement']]; | 636 ['titleUiElement', 'titleUIElement']]; |
637 | 637 |
638 var intListAttributes = [ | 638 var intListAttributes = [ |
639 'characterOffsets', | 639 'characterOffsets', |
640 'lineBreaks', | 640 'lineBreaks', |
641 'wordEnds', | 641 'wordEnds', |
642 'wordStarts']; | 642 'wordStarts']; |
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
987 AutomationRootNode.getOrCreate = function(treeID) { | 987 AutomationRootNode.getOrCreate = function(treeID) { |
988 return AutomationRootNodeImpl.getOrCreate(treeID); | 988 return AutomationRootNodeImpl.getOrCreate(treeID); |
989 } | 989 } |
990 | 990 |
991 AutomationRootNode.destroy = function(treeID) { | 991 AutomationRootNode.destroy = function(treeID) { |
992 AutomationRootNodeImpl.destroy(treeID); | 992 AutomationRootNodeImpl.destroy(treeID); |
993 } | 993 } |
994 | 994 |
995 exports.$set('AutomationNode', AutomationNode); | 995 exports.$set('AutomationNode', AutomationNode); |
996 exports.$set('AutomationRootNode', AutomationRootNode); | 996 exports.$set('AutomationRootNode', AutomationRootNode); |
OLD | NEW |