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

Unified Diff: lib/html/templates/html/interface/interface_MouseEvent.darttemplate

Issue 10915245: Removing interfaces from dart:html (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Incorporating review feedback. Created 8 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:
View side-by-side diff with in-line comments
Download patch
Index: lib/html/templates/html/interface/interface_MouseEvent.darttemplate
diff --git a/lib/html/templates/html/interface/interface_MouseEvent.darttemplate b/lib/html/templates/html/interface/interface_MouseEvent.darttemplate
index 640e396c751b9f88ac2c9ec68526e5619088aa00..e5629e3f14c618320a7ab1c96d5b4cb67f1e343b 100644
--- a/lib/html/templates/html/interface/interface_MouseEvent.darttemplate
+++ b/lib/html/templates/html/interface/interface_MouseEvent.darttemplate
@@ -5,11 +5,16 @@
// WARNING: Do not edit - generated code.
$!COMMENT
-interface $ID$EXTENDS default _$(ID)FactoryProvider {
+abstract class $ID$EXTENDS {
- $ID(String type, Window view, int detail, int screenX, int screenY,
+ factory $ID(String type, Window view, int detail, int screenX, int screenY,
int clientX, int clientY, int button, [bool canBubble, bool cancelable,
bool ctrlKey, bool altKey, bool shiftKey, bool metaKey,
- EventTarget relatedTarget]);
+ EventTarget relatedTarget]) =>
+ _$(ID)FactoryProvider.create$ID(
+ type, view, detail, screenX, screenY,
+ clientX, clientY, button, canBubble, cancelable,
+ ctrlKey, altKey, shiftKey, metaKey,
+ relatedTarget);
$!MEMBERS}

Powered by Google App Engine
This is Rietveld 408576698