| OLD | NEW | 
|   1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |   1 // Copyright (c) 2012 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 testRunner = testRunner || {}; |   5 var testRunner = testRunner || {}; | 
|   6 var accessibilityController = accessibilityController || {}; |  | 
|   7 var gamepadController = gamepadController || {}; |  | 
|   8 var eventSender = eventSender || {}; |  | 
|   9 var textInputController = textInputController || {}; |  | 
|  10  |   6  | 
|  11 (function() { |   7 (function() { | 
|  12   native function GetWorkerThreadCount(); |   8   native function GetWorkerThreadCount(); | 
|  13   native function NotifyDone(); |   9   native function NotifyDone(); | 
|  14   native function OverridePreference(); |  10   native function OverridePreference(); | 
|  15   native function SetDumpAsText(); |  11   native function SetDumpAsText(); | 
|  16   native function SetDumpChildFramesAsText(); |  12   native function SetDumpChildFramesAsText(); | 
|  17   native function SetPrinting(); |  13   native function SetPrinting(); | 
|  18   native function SetShouldStayOnPageAfterHandlingBeforeUnload(); |  14   native function SetShouldStayOnPageAfterHandlingBeforeUnload(); | 
|  19   native function SetWaitUntilDone(); |  15   native function SetWaitUntilDone(); | 
| (...skipping 28 matching lines...) Expand all  Loading... | 
|  48                           {value: SetDumpChildFramesAsText}); |  44                           {value: SetDumpChildFramesAsText}); | 
|  49     Object.defineProperty(this, "setPrinting", {value: SetPrinting}); |  45     Object.defineProperty(this, "setPrinting", {value: SetPrinting}); | 
|  50     Object.defineProperty( |  46     Object.defineProperty( | 
|  51         this, |  47         this, | 
|  52         "setShouldStayOnPageAfterHandlingBeforeUnload", |  48         "setShouldStayOnPageAfterHandlingBeforeUnload", | 
|  53         {value: SetShouldStayOnPageAfterHandlingBeforeUnload}); |  49         {value: SetShouldStayOnPageAfterHandlingBeforeUnload}); | 
|  54     Object.defineProperty(this, "waitUntilDone", {value: SetWaitUntilDone}); |  50     Object.defineProperty(this, "waitUntilDone", {value: SetWaitUntilDone}); | 
|  55   } |  51   } | 
|  56   TestRunner.prototype = DefaultHandler("testRunner"); |  52   TestRunner.prototype = DefaultHandler("testRunner"); | 
|  57   testRunner = new TestRunner(); |  53   testRunner = new TestRunner(); | 
|  58  |  | 
|  59   var AccessibilityController = function() {} |  | 
|  60   AccessibilityController.prototype = DefaultHandler("accessibilityController"); |  | 
|  61   accessibilityController = new AccessibilityController(); |  | 
|  62  |  | 
|  63   var GamepadController = function() {} |  | 
|  64   GamepadController.prototype = DefaultHandler("gamepadController"); |  | 
|  65   gamepadController = new GamepadController(); |  | 
|  66  |  | 
|  67   var EventSender = function() {} |  | 
|  68   EventSender.prototype = DefaultHandler("eventSender"); |  | 
|  69   eventSender = new EventSender(); |  | 
|  70  |  | 
|  71   var TextInputController = function() {} |  | 
|  72   TextInputController.prototype = DefaultHandler("textInputController"); |  | 
|  73   textInputController = new TextInputController(); |  | 
|  74 })(); |  54 })(); | 
| OLD | NEW |