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

Unified Diff: tools/dom/templates/html/impl/impl_Event.darttemplate

Issue 23055008: Making almost all dom_ methods private. Exceptions will be addressed in a later CL. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 4 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: tools/dom/templates/html/impl/impl_Event.darttemplate
diff --git a/tools/dom/templates/html/impl/impl_Event.darttemplate b/tools/dom/templates/html/impl/impl_Event.darttemplate
index cc0a3a61d76db7a088faa6a0f472682add395107..00ced302103ecbe92771b607f10c014d2f152b56 100644
--- a/tools/dom/templates/html/impl/impl_Event.darttemplate
+++ b/tools/dom/templates/html/impl/impl_Event.darttemplate
@@ -29,8 +29,8 @@ $(ANNOTATIONS)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
*/
factory Event.eventType(String type, String name, {bool canBubble: true,
bool cancelable: true}) {
- final Event e = document.$dom_createEvent(type);
- e.$dom_initEvent(name, canBubble, cancelable);
+ final Event e = document._createEvent(type);
+ e._initEvent(name, canBubble, cancelable);
return e;
}
$!MEMBERS
« no previous file with comments | « tools/dom/templates/html/impl/impl_Element.darttemplate ('k') | tools/dom/templates/html/impl/impl_Geolocation.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698