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

Unified Diff: tools/dom/templates/html/impl/impl_TouchEvent.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_TouchEvent.darttemplate
diff --git a/tools/dom/templates/html/impl/impl_TouchEvent.darttemplate b/tools/dom/templates/html/impl/impl_TouchEvent.darttemplate
index 0a6816b7102eacc36e958ef9cc4c627bcf3b36c4..af426b530e356607a58cbd32742a0871d055aa7f 100644
--- a/tools/dom/templates/html/impl/impl_TouchEvent.darttemplate
+++ b/tools/dom/templates/html/impl/impl_TouchEvent.darttemplate
@@ -15,8 +15,8 @@ $(ANNOTATIONS)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
if (view == null) {
view = window;
}
- var e = document.$dom_createEvent("TouchEvent");
- e.$dom_initTouchEvent(touches, targetTouches, changedTouches, type, view,
+ var e = document._createEvent("TouchEvent");
+ e._initTouchEvent(touches, targetTouches, changedTouches, type, view,
screenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey, metaKey);
return e;
}
« no previous file with comments | « tools/dom/templates/html/impl/impl_Touch.darttemplate ('k') | tools/dom/templates/html/impl/impl_TouchList.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698