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

Unified Diff: client/html/src/_Testing.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/html/src/_Testing.dart
diff --git a/client/html/src/_Testing.dart b/client/html/src/_Testing.dart
new file mode 100644
index 0000000000000000000000000000000000000000..0252adaa9e5e9677ebf9b3db139f489d027b69b7
--- /dev/null
+++ b/client/html/src/_Testing.dart
@@ -0,0 +1,17 @@
+// 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.
+
+// TODO(rnystrom): add a way to supress public classes from DartDoc output.
+/**
+ * This class is intended for testing purposes only.
+ */
+class Testing {
+ static void addEventListener(EventTarget target, String type, EventListener listener, bool useCapture) {
+ target._addEventListener(type, listener, useCapture);
+ }
+ static void removeEventListener(EventTarget target, String type, EventListener listener, bool useCapture) {
+ target._removeEventListener(type, listener, useCapture);
+ }
+
+}

Powered by Google App Engine
This is Rietveld 408576698