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

Side by Side Diff: lib/dom/src/native_DOMPublic.dart

Issue 10256017: Add LayoutTestController.display method. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 7 months 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 | « no previous file | no next file » | 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) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 // This API is exploratory. 5 // This API is exploratory.
6 spawnDomIsolateImpl(Window targetWindow, String entryPoint) { 6 spawnDomIsolateImpl(Window targetWindow, String entryPoint) {
7 if (targetWindow is! DOMWindowImplementation && targetWindow is! DOMWindowCros sFrameImplementation) { 7 if (targetWindow is! DOMWindowImplementation && targetWindow is! DOMWindowCros sFrameImplementation) {
8 throw 'Bad window argument: $targetWindow'; 8 throw 'Bad window argument: $targetWindow';
9 } 9 }
10 final result = new Completer<SendPort>(); 10 final result = new Completer<SendPort>();
(...skipping 11 matching lines...) Expand all
22 if (_layoutTestController === null) 22 if (_layoutTestController === null)
23 _layoutTestController = new LayoutTestController._(NPObject.retrieve("layout TestController")); 23 _layoutTestController = new LayoutTestController._(NPObject.retrieve("layout TestController"));
24 return _layoutTestController; 24 return _layoutTestController;
25 } 25 }
26 26
27 class LayoutTestController { 27 class LayoutTestController {
28 final NPObject _npObject; 28 final NPObject _npObject;
29 29
30 LayoutTestController._(this._npObject); 30 LayoutTestController._(this._npObject);
31 31
32 display() => _npObject.invoke('display');
32 dumpAsText() => _npObject.invoke('dumpAsText'); 33 dumpAsText() => _npObject.invoke('dumpAsText');
33 notifyDone() => _npObject.invoke('notifyDone'); 34 notifyDone() => _npObject.invoke('notifyDone');
34 setCanOpenWindows() => _npObject.invoke('setCanOpenWindows'); 35 setCanOpenWindows() => _npObject.invoke('setCanOpenWindows');
35 waitUntilDone() => _npObject.invoke('waitUntilDone'); 36 waitUntilDone() => _npObject.invoke('waitUntilDone');
36 } 37 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698