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

Unified Diff: sdk/lib/html/dartium/html_dartium.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:
Download patch
« no previous file with comments | « no previous file | tools/dom/src/native_DOMImplementation.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/html/dartium/html_dartium.dart
diff --git a/sdk/lib/html/dartium/html_dartium.dart b/sdk/lib/html/dartium/html_dartium.dart
index 4038d9d5389838c76784c3f46ca208aac63c417d..8eecca91b5f2398530a3f1b85b409a3aaabc8134 100644
--- a/sdk/lib/html/dartium/html_dartium.dart
+++ b/sdk/lib/html/dartium/html_dartium.dart
@@ -34446,33 +34446,6 @@ class Platform {
}
}
}
-// 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.
-
-
-// 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');
-}
// Copyright (c) 2012, 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.
@@ -34772,13 +34745,6 @@ class _Utils {
static Element createElement(Document document, String tagName) native "Utils_createElement";
}
-class _NPObject extends NativeFieldWrapperClass1 {
- _NPObject.internal();
- static _NPObject retrieve(String key) native "NPObject_retrieve";
- property(String propertyName) native "NPObject_property";
- invoke(String methodName, [List args = null]) native "NPObject_invoke";
-}
-
class _DOMWindowCrossFrame extends NativeFieldWrapperClass1 implements
WindowBase {
_DOMWindowCrossFrame.internal();
« no previous file with comments | « no previous file | tools/dom/src/native_DOMImplementation.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698