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

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

Issue 1173403004: Changed to use JSInterop (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Re-gen'd somehow diffs stopped showing up in CL Created 5 years, 5 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_Touch.darttemplate
diff --git a/tools/dom/templates/html/impl/impl_Touch.darttemplate b/tools/dom/templates/html/impl/impl_Touch.darttemplate
index 095e6a0f04fd2534fc89c0b71d9bbc69467b0854..fbab125c111b8c31c32cbff663bb67bb0720ed13 100644
--- a/tools/dom/templates/html/impl/impl_Touch.darttemplate
+++ b/tools/dom/templates/html/impl/impl_Touch.darttemplate
@@ -20,14 +20,14 @@ $if DART2JS
int get __radiusX => JS('num', '#.radiusX', this).round();
int get __radiusY => JS('num', '#.radiusY', this).round();
$else
- int get __clientX => _blink.BlinkTouch.clientX_Getter(this).round();
- int get __clientY => _blink.BlinkTouch.clientY_Getter(this).round();
- int get __screenX => _blink.BlinkTouch.screenX_Getter(this).round();
- int get __screenY => _blink.BlinkTouch.screenY_Getter(this).round();
- int get __pageX => _blink.BlinkTouch.pageX_Getter(this).round();
- int get __pageY => _blink.BlinkTouch.pageY_Getter(this).round();
- int get __radiusX => _blink.BlinkTouch.radiusX_Getter(this).round();
- int get __radiusY => _blink.BlinkTouch.radiusY_Getter(this).round();
+ int get __clientX => _blink.BlinkTouch.clientX_Getter(unwrap_jso(this)).round();
+ int get __clientY => _blink.BlinkTouch.clientY_Getter(unwrap_jso(this)).round();
+ int get __screenX => _blink.BlinkTouch.screenX_Getter(unwrap_jso(this)).round();
+ int get __screenY => _blink.BlinkTouch.screenY_Getter(unwrap_jso(this)).round();
+ int get __pageX => _blink.BlinkTouch.pageX_Getter(unwrap_jso(this)).round();
+ int get __pageY => _blink.BlinkTouch.pageY_Getter(unwrap_jso(this)).round();
+ int get __radiusX => _blink.BlinkTouch.radiusX_Getter(unwrap_jso(this)).round();
+ int get __radiusY => _blink.BlinkTouch.radiusY_Getter(unwrap_jso(this)).round();
$endif
@DomName('Touch.clientX')
« no previous file with comments | « tools/dom/templates/html/impl/impl_Node.darttemplate ('k') | tools/dom/templates/html/impl/impl_Window.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698