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

Unified Diff: tools/dom/src/native_DOMPublic.dart

Issue 25405002: Remove NPObject from generated dart:html for Dartium. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: tools/dom/src/native_DOMPublic.dart
diff --git a/tools/dom/src/native_DOMPublic.dart b/tools/dom/src/native_DOMPublic.dart
deleted file mode 100644
index f38c63ddc0074e1e2ce676fec352522d99741dd4..0000000000000000000000000000000000000000
--- a/tools/dom/src/native_DOMPublic.dart
+++ /dev/null
@@ -1,28 +0,0 @@
-// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-part of html;
-
-// testRunner implementation.
-// FIXME: provide a separate lib for testRunner.
-
-var _testRunner;
-
-TestRunner get testRunner {
- if (_testRunner == null)
- _testRunner = new TestRunner._(_NPObject.retrieve("testRunner"));
- return _testRunner;
-}
-
-class TestRunner {
- final _NPObject _npObject;
-
- TestRunner._(this._npObject);
-
- display() => _npObject.invoke('display');
- dumpAsText() => _npObject.invoke('dumpAsText');
- notifyDone() => _npObject.invoke('notifyDone');
- setCanOpenWindows() => _npObject.invoke('setCanOpenWindows');
- waitUntilDone() => _npObject.invoke('waitUntilDone');
-}
« no previous file with comments | « tools/dom/src/native_DOMImplementation.dart ('k') | tools/dom/templates/html/dartium/html_dartium.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698