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

Unified Diff: tools/dom/templates/html/impl/impl_UIEvent.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_UIEvent.darttemplate
diff --git a/tools/dom/templates/html/impl/impl_UIEvent.darttemplate b/tools/dom/templates/html/impl/impl_UIEvent.darttemplate
index 97147164f998fbcae198d17efa02f92ae3e0859c..034a510a06d994f8ed0f08cc25e151e58a03e63c 100644
--- a/tools/dom/templates/html/impl/impl_UIEvent.darttemplate
+++ b/tools/dom/templates/html/impl/impl_UIEvent.darttemplate
@@ -19,8 +19,8 @@ $(ANNOTATIONS)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
if (view == null) {
view = window;
}
- final e = document.$dom_createEvent("UIEvent");
- e.$dom_initUIEvent(type, canBubble, cancelable, view, detail);
+ final e = document._createEvent("UIEvent");
+ e._initUIEvent(type, canBubble, cancelable, view, detail);
return e;
}
$!MEMBERS
@@ -37,9 +37,9 @@ $!MEMBERS
@DomName('UIEvent.layerX')
@DomName('UIEvent.layerY')
- Point get layer => new Point($dom_layerX, $dom_layerY);
+ Point get layer => new Point(_layerX, _layerY);
@DomName('UIEvent.pageX')
@DomName('UIEvent.pageY')
- Point get page => new Point($dom_pageX, $dom_pageY);
+ Point get page => new Point(_pageX, _pageY);
}
« no previous file with comments | « tools/dom/templates/html/impl/impl_TreeWalker.darttemplate ('k') | tools/dom/templates/html/impl/impl_WheelEvent.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698