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

Side by Side Diff: sdk/lib/html/src/native_DOMPublic.dart

Issue 11691009: Moved most of html lib generating scripts into tools. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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
OLDNEW
(Empty)
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
3 // BSD-style license that can be found in the LICENSE file.
4
5 part of html;
6
7 // This API is exploratory.
8 spawnDomFunction(Function topLevelFunction) => _Utils.spawnDomFunctionImpl(topLe velFunction);
9
10 // testRunner implementation.
11 // FIXME: provide a separate lib for testRunner.
12
13 var _testRunner;
14
15 TestRunner get testRunner {
16 if (_testRunner == null)
17 _testRunner = new TestRunner._(_NPObject.retrieve("testRunner"));
18 return _testRunner;
19 }
20
21 class TestRunner {
22 final _NPObject _npObject;
23
24 TestRunner._(this._npObject);
25
26 display() => _npObject.invoke('display');
27 dumpAsText() => _npObject.invoke('dumpAsText');
28 notifyDone() => _npObject.invoke('notifyDone');
29 setCanOpenWindows() => _npObject.invoke('setCanOpenWindows');
30 waitUntilDone() => _npObject.invoke('waitUntilDone');
31 }
OLDNEW
« no previous file with comments | « sdk/lib/html/src/native_DOMImplementation.dart ('k') | sdk/lib/html/src/shared_FactoryProviders.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698