Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(121)

Side by Side Diff: content/shell/webkit_test_runner.js

Issue 11245004: [content shell] link against the TestRunner library (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: patch for landing Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/shell/webkit_test_runner.cc ('k') | content/shell/webkit_test_runner_host.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 })();
OLDNEW
« no previous file with comments | « content/shell/webkit_test_runner.cc ('k') | content/shell/webkit_test_runner_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698