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 972 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
983 } | 983 } |
984 | 984 |
985 AutomationRootNode.getOrCreate = function(treeID) { | 985 AutomationRootNode.getOrCreate = function(treeID) { |
986 return AutomationRootNodeImpl.getOrCreate(treeID); | 986 return AutomationRootNodeImpl.getOrCreate(treeID); |
987 } | 987 } |
988 | 988 |
989 AutomationRootNode.destroy = function(treeID) { | 989 AutomationRootNode.destroy = function(treeID) { |
990 AutomationRootNodeImpl.destroy(treeID); | 990 AutomationRootNodeImpl.destroy(treeID); |
991 } | 991 } |
992 | 992 |
993 exports.AutomationNode = AutomationNode; | 993 exports.$set('AutomationNode', AutomationNode); |
994 exports.AutomationRootNode = AutomationRootNode; | 994 exports.$set('AutomationRootNode', AutomationRootNode); |
OLD | NEW |