| 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 } | 673 } |
| 674 } | 674 } |
| 675 } | 675 } |
| 676 return true; | 676 return true; |
| 677 } | 677 } |
| 678 }; | 678 }; |
| 679 | 679 |
| 680 var stringAttributes = [ | 680 var stringAttributes = [ |
| 681 'accessKey', | 681 'accessKey', |
| 682 'ariaInvalidValue', | 682 'ariaInvalidValue', |
| 683 'checked', |
| 683 'containerLiveRelevant', | 684 'containerLiveRelevant', |
| 684 'containerLiveStatus', | 685 'containerLiveStatus', |
| 685 'description', | 686 'description', |
| 686 'display', | 687 'display', |
| 687 'imageDataUrl', | 688 'imageDataUrl', |
| 688 'language', | 689 'language', |
| 689 'liveRelevant', | 690 'liveRelevant', |
| 690 'liveStatus', | 691 'liveStatus', |
| 691 'name', | 692 'name', |
| 692 'placeholder', | 693 'placeholder', |
| 693 'textInputType', | 694 'textInputType', |
| 694 'url', | 695 'url', |
| 695 'value']; | 696 'value']; |
| 696 | 697 |
| 697 var boolAttributes = [ | 698 var boolAttributes = [ |
| 698 'ariaReadonly', | 699 'ariaReadonly', |
| 699 'buttonMixed', | |
| 700 'containerLiveAtomic', | 700 'containerLiveAtomic', |
| 701 'containerLiveBusy', | 701 'containerLiveBusy', |
| 702 'liveAtomic', | 702 'liveAtomic', |
| 703 'liveBusy']; | 703 'liveBusy']; |
| 704 | 704 |
| 705 var intAttributes = [ | 705 var intAttributes = [ |
| 706 'backgroundColor', | 706 'backgroundColor', |
| 707 'color', | 707 'color', |
| 708 'colorValue', | 708 'colorValue', |
| 709 'hierarchicalLevel', | 709 'hierarchicalLevel', |
| (...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1139 utils.defineProperty(AutomationRootNode, 'getOrCreate', function(treeID) { | 1139 utils.defineProperty(AutomationRootNode, 'getOrCreate', function(treeID) { |
| 1140 return AutomationRootNodeImpl.getOrCreate(treeID); | 1140 return AutomationRootNodeImpl.getOrCreate(treeID); |
| 1141 }); | 1141 }); |
| 1142 | 1142 |
| 1143 utils.defineProperty(AutomationRootNode, 'destroy', function(treeID) { | 1143 utils.defineProperty(AutomationRootNode, 'destroy', function(treeID) { |
| 1144 AutomationRootNodeImpl.destroy(treeID); | 1144 AutomationRootNodeImpl.destroy(treeID); |
| 1145 }); | 1145 }); |
| 1146 | 1146 |
| 1147 exports.$set('AutomationNode', AutomationNode); | 1147 exports.$set('AutomationNode', AutomationNode); |
| 1148 exports.$set('AutomationRootNode', AutomationRootNode); | 1148 exports.$set('AutomationRootNode', AutomationRootNode); |
| OLD | NEW |