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

Unified Diff: lib/html/templates/html/interface/interface_EventTarget.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_EventTarget.darttemplate
diff --git a/lib/html/templates/html/interface/interface_EventTarget.darttemplate b/lib/html/templates/html/interface/interface_EventTarget.darttemplate
index cdbbe5cbc89c0751c97b360d35fa23514e7afcf4..6e15d339f897ea77c5fbe1494030e3a110ee6f45 100644
--- a/lib/html/templates/html/interface/interface_EventTarget.darttemplate
+++ b/lib/html/templates/html/interface/interface_EventTarget.darttemplate
@@ -4,7 +4,7 @@
// WARNING: Do not edit - generated code.
-interface EventListenerList {
+abstract class EventListenerList {
EventListenerList add(EventListener handler, [bool useCapture]);
EventListenerList remove(EventListener handler, [bool useCapture]);
@@ -12,14 +12,14 @@ interface EventListenerList {
bool dispatch(Event evt);
}
-interface Events {
+abstract class Events {
EventListenerList operator [](String type);
}
$!COMMENT
-interface $ID$EXTENDS {
+abstract class $ID$EXTENDS {
/** @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent */
- final Events on;
+ abstract Events get on;
$!MEMBERS
}

Powered by Google App Engine
This is Rietveld 408576698