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

Unified Diff: client/testing/unittest/dom_for_unittest.dart

Issue 9537001: Generate dart:html bindings for Dartium as well as Frog. All unittests now pass (or are disabled fo… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 10 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: client/testing/unittest/dom_for_unittest.dart
diff --git a/client/testing/unittest/dom_for_unittest.dart b/client/testing/unittest/dom_for_unittest.dart
deleted file mode 100644
index 688c1f072decb9235b53e820261784127cedb942..0000000000000000000000000000000000000000
--- a/client/testing/unittest/dom_for_unittest.dart
+++ /dev/null
@@ -1,35 +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.
-
-#library("dom_for_unittest");
-#native("dom_for_unittest.js");
-
-class Window {
- Window();
-
- void postMessage(String message, String origin) {
- _postMessage(message, origin);
- }
-
- static void _postMessage(String message, String origin) native;
-}
-
-class HTMLDocument {
- HTMLDocument();
-
- HTMLBodyElement get body() { return new HTMLBodyElement(); }
-}
-
-class HTMLBodyElement {
- HTMLBodyElement();
-
- void set innerHTML(String html) {
- _innerHTML(html);
- }
-
- static void _innerHTML(String html) native;
-}
-
-Window get window() { return new Window(); }
-HTMLDocument get document() { return new HTMLDocument(); }

Powered by Google App Engine
This is Rietveld 408576698