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

Unified Diff: lib/dom/templates/html/dartium/impl_EventTarget.darttemplate

Issue 10448009: Apply html renames to native wrappers. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 7 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/dom/templates/html/dartium/impl_EventTarget.darttemplate
diff --git a/lib/dom/templates/html/dartium/impl_EventTarget.darttemplate b/lib/dom/templates/html/dartium/impl_EventTarget.darttemplate
index e64d26da8bec5aebc1392cb3eb5a2783cbe60a0b..7040ac95a9a10d185818dbc8656ffc13e10950aa 100644
--- a/lib/dom/templates/html/dartium/impl_EventTarget.darttemplate
+++ b/lib/dom/templates/html/dartium/impl_EventTarget.darttemplate
@@ -51,11 +51,11 @@ class _EventListenerListImpl implements EventListenerList {
// TODO(jacobr): what is the correct behavior here. We could alternately
// force the event to have the expected type.
assert(evt.type == _type);
- return _ptr.dispatchEvent(_unwrap(evt));
+ return _ptr.$dom_dispatchEvent(_unwrap(evt));
}
void _add(EventListener listener, bool useCapture) {
- _ptr.addEventListener(_type,
+ _ptr.$dom_addEventListener(_type,
_findOrAddWrapper(listener, useCapture),
useCapture);
}
@@ -63,7 +63,7 @@ class _EventListenerListImpl implements EventListenerList {
void _remove(EventListener listener, bool useCapture) {
Function wrapper = _removeWrapper(listener, useCapture);
if (wrapper !== null) {
- _ptr.removeEventListener(_type, wrapper, useCapture);
+ _ptr.$dom_removeEventListener(_type, wrapper, useCapture);
}
}

Powered by Google App Engine
This is Rietveld 408576698