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 613 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
624 'tableColumnCount', | 624 'tableColumnCount', |
625 'tableColumnIndex', | 625 'tableColumnIndex', |
626 'tableRowCount', | 626 'tableRowCount', |
627 'tableRowIndex', | 627 'tableRowIndex', |
628 'textDirection', | 628 'textDirection', |
629 'textSelEnd', | 629 'textSelEnd', |
630 'textSelStart', | 630 'textSelStart', |
631 'textStyle']; | 631 'textStyle']; |
632 | 632 |
633 var nodeRefAttributes = [ | 633 var nodeRefAttributes = [ |
634 ['activedescendantId', 'activedescendant'], | 634 ['activedescendantId', 'activeDescendant'], |
635 ['tableColumnHeaderId', 'tableColumnHeader'], | 635 ['tableColumnHeaderId', 'tableColumnHeader'], |
636 ['tableHeaderId', 'tableHeader'], | 636 ['tableHeaderId', 'tableHeader'], |
637 ['tableRowHeaderId', 'tableRowHeader'], | 637 ['tableRowHeaderId', 'tableRowHeader'], |
638 ['titleUiElement', 'titleUIElement']]; | 638 ['titleUiElement', 'titleUIElement']]; |
639 | 639 |
640 var intListAttributes = [ | 640 var intListAttributes = [ |
641 'characterOffsets', | 641 'characterOffsets', |
642 'lineBreaks', | 642 'lineBreaks', |
643 'wordEnds', | 643 'wordEnds', |
644 'wordStarts']; | 644 'wordStarts']; |
(...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1008 utils.defineProperty(AutomationRootNode, 'getOrCreate', function(treeID) { | 1008 utils.defineProperty(AutomationRootNode, 'getOrCreate', function(treeID) { |
1009 return AutomationRootNodeImpl.getOrCreate(treeID); | 1009 return AutomationRootNodeImpl.getOrCreate(treeID); |
1010 }); | 1010 }); |
1011 | 1011 |
1012 utils.defineProperty(AutomationRootNode, 'destroy', function(treeID) { | 1012 utils.defineProperty(AutomationRootNode, 'destroy', function(treeID) { |
1013 AutomationRootNodeImpl.destroy(treeID); | 1013 AutomationRootNodeImpl.destroy(treeID); |
1014 }); | 1014 }); |
1015 | 1015 |
1016 exports.$set('AutomationNode', AutomationNode); | 1016 exports.$set('AutomationNode', AutomationNode); |
1017 exports.$set('AutomationRootNode', AutomationRootNode); | 1017 exports.$set('AutomationRootNode', AutomationRootNode); |
OLD | NEW |