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

Unified Diff: client/html/src/frog_FactoryProviders.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/frog_FactoryProviders.dart
diff --git a/client/html/src/frog_FactoryProviders.dart b/client/html/src/frog_FactoryProviders.dart
index 3a701890d1b378df31b8238f0e3a58a5b0360651..d2d6d2e8cc7b09c5a2e7ade9aa340bc678aa068d 100644
--- a/client/html/src/frog_FactoryProviders.dart
+++ b/client/html/src/frog_FactoryProviders.dart
@@ -77,17 +77,6 @@ class _CSSMatrixFactoryProvider {
'return new WebKitCSSMatrix(spec);';
}
-// TODO(jacobr): this factory does not require any native code so move to a
-// separate file so it can be shared between wrapper and wrapperless versions.
-class _EventFactoryProvider {
- factory Event(String type, [bool canBubble = true,
- bool cancelable = true]) {
- _EventJs e = _document._createEvent("Event");
- e._initEvent(type, canBubble, cancelable);
- return e;
- }
-}
-
class _PointFactoryProvider {
factory Point(num x, num y) native 'return new WebKitPoint(x, y);';

Powered by Google App Engine
This is Rietveld 408576698