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

Unified Diff: tools/dom/templates/html/impl/impl_WheelEvent.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_WheelEvent.darttemplate
diff --git a/tools/dom/templates/html/impl/impl_WheelEvent.darttemplate b/tools/dom/templates/html/impl/impl_WheelEvent.darttemplate
index f141680533d05a788e25ec90dd0848b8171d88f9..188c9a2cbfae4323a12caa57304a056890afa89e 100644
--- a/tools/dom/templates/html/impl/impl_WheelEvent.darttemplate
+++ b/tools/dom/templates/html/impl/impl_WheelEvent.darttemplate
@@ -35,7 +35,6 @@ $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS
'relatedTarget': relatedTarget,
};
-$if DART2JS
if (view == null) {
view = window;
}
@@ -43,14 +42,10 @@ $if DART2JS
return JS('WheelEvent', 'new WheelEvent(#, #)',
type, convertDartToNative_Dictionary(options));
-$else
- return _blink.BlinkWheelEvent.instance.constructorCallback_2_(type, convertDartToNative_Dictionary(options));
-$endif
}
$!MEMBERS
-$if DART2JS
/**
* The amount that is expected to scroll vertically, in units determined by
* [deltaMode].
@@ -143,27 +138,4 @@ $if DART2JS
int deltaZ,
int deltaMode) native;
-$else
- /**
- * The amount that is expected to scroll horizontally, in units determined by
- * [deltaMode].
- *
- * See also:
- *
- * * [WheelEvent.deltaX](http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html/DOM3-Events.html#events-WheelEvent-deltaX) from the W3C.
- */
- @DomName('WheelEvent.deltaX')
- num get deltaX => _deltaX;
-
- /**
- * The amount that is expected to scroll vertically, in units determined by
- * [deltaMode].
- *
- * See also:
- *
- * * [WheelEvent.deltaY](http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html/DOM3-Events.html#events-WheelEvent-deltaY) from the W3C.
- */
- @DomName('WheelEvent.deltaY')
- num get deltaY => _deltaY;
-$endif
}

Powered by Google App Engine
This is Rietveld 408576698