[Mac] PepperFlash default on canary, opt-in on dev.
[chromium-blink-merge.git] / content / shell / layout_test_controller.js
blob1ace50cadc0d9c4931b5438dea394dd73e2c9577
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
3 // found in the LICENSE file.
5 var layoutTestController = layoutTestController || {};
6 var testRunner = testRunner || {};
8 (function() {
9   native function NotifyDone();
10   native function SetDumpAsText();
11   native function SetDumpChildFramesAsText();
12   native function SetPrinting();
13   native function SetShouldStayOnPageAfterHandlingBeforeUnload();
14   native function SetWaitUntilDone();
16   layoutTestController = new function() {
17     this.notifyDone = NotifyDone;
18     this.dumpAsText = SetDumpAsText;
19     this.dumpChildFramesAsText = SetDumpChildFramesAsText;
20     this.setPrinting = SetPrinting;
21     this.setShouldStayOnPageAfterHandlingBeforeUnload =
22         SetShouldStayOnPageAfterHandlingBeforeUnload;
23     this.waitUntilDone = SetWaitUntilDone;
24   }();
26   testRunner = layoutTestController;
28 })();