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

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

Issue 9600035: Enable new dart:html wrapperless frog bindings and wrapper dartium bindings. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Handle all code review comments 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
« no previous file with comments | « client/html/src/shared_FactoryProviders.dart ('k') | client/testing/unittest/dom_for_unittest.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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(); }
« no previous file with comments | « client/html/src/shared_FactoryProviders.dart ('k') | client/testing/unittest/dom_for_unittest.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698