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

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

Issue 2978213002: Removed DARTIUM codegen for IDLS (sdk/lib/dartium) (Closed)
Patch Set: Update generated darttemplate Created 3 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 4a726722a387b4ca087079829918a57db24e3bb9..091d28248c81e3c746576fec3d60e50ff65d88cc 100644
--- a/tools/dom/templates/html/impl/impl_Touch.darttemplate
+++ b/tools/dom/templates/html/impl/impl_Touch.darttemplate
@@ -10,7 +10,6 @@ $!MEMBERS
// As of Chrome 37, these all changed from long to double. This code
// preserves backwards compatibility for the time being.
-$if DART2JS
int get __clientX => JS('num', '#.clientX', this).round();
int get __clientY => JS('num', '#.clientY', this).round();
int get __screenX => JS('num', '#.screenX', this).round();
@@ -19,16 +18,6 @@ $if DART2JS
int get __pageY => JS('num', '#.pageY', this).round();
int get __radiusX => JS('num', '#.radiusX', this).round();
int get __radiusY => JS('num', '#.radiusY', this).round();
-$else
- int get __clientX => _blink.BlinkTouch.instance.clientX_Getter_(this).round();
- int get __clientY => _blink.BlinkTouch.instance.clientY_Getter_(this).round();
- int get __screenX => _blink.BlinkTouch.instance.screenX_Getter_(this).round();
- int get __screenY => _blink.BlinkTouch.instance.screenY_Getter_(this).round();
- int get __pageX => _blink.BlinkTouch.instance.pageX_Getter_(this).round();
- int get __pageY => _blink.BlinkTouch.instance.pageY_Getter_(this).round();
- int get __radiusX => _blink.BlinkTouch.instance.radiusX_Getter_(this).round();
- int get __radiusY => _blink.BlinkTouch.instance.radiusY_Getter_(this).round();
-$endif
@DomName('Touch.clientX')
@DomName('Touch.clientY')
« no previous file with comments | « tools/dom/templates/html/impl/impl_Text.darttemplate ('k') | tools/dom/templates/html/impl/impl_TouchEvent.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698