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

Side by Side Diff: tools/dom/templates/html/impl/impl_WheelEvent.darttemplate

Issue 14630016: Getting html_dart2js and html_dartium a bit more in sync. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 part of $LIBRARYNAME; 5 part of $LIBRARYNAME;
6 6
7 $(ANNOTATIONS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC { 7 $(ANNOTATIONS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
8 8
9 factory WheelEvent(String type, 9 factory WheelEvent(String type,
10 {Window view, int deltaX: 0, int deltaY: 0, 10 {Window view, int deltaX: 0, int deltaY: 0,
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 $else 223 $else
224 /** 224 /**
225 * The amount that is expected to scroll horizontally, in units determined by 225 * The amount that is expected to scroll horizontally, in units determined by
226 * [deltaMode]. 226 * [deltaMode].
227 * 227 *
228 * See also: 228 * See also:
229 * 229 *
230 * * [WheelEvent.deltaX](http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html /DOM3-Events.html#events-WheelEvent-deltaX) from the W3C. 230 * * [WheelEvent.deltaX](http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html /DOM3-Events.html#events-WheelEvent-deltaX) from the W3C.
231 */ 231 */
232 @DomName('WheelEvent.deltaX') 232 @DomName('WheelEvent.deltaX')
233 num get deltaX => -$dom_wheelDeltaX; 233 num get deltaX => -_wheelDeltaX;
234 234
235 /** 235 /**
236 * The amount that is expected to scroll vertically, in units determined by 236 * The amount that is expected to scroll vertically, in units determined by
237 * [deltaMode]. 237 * [deltaMode].
238 * 238 *
239 * See also: 239 * See also:
240 * 240 *
241 * * [WheelEvent.deltaY](http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html /DOM3-Events.html#events-WheelEvent-deltaY) from the W3C. 241 * * [WheelEvent.deltaY](http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html /DOM3-Events.html#events-WheelEvent-deltaY) from the W3C.
242 */ 242 */
243 @DomName('WheelEvent.deltaY') 243 @DomName('WheelEvent.deltaY')
244 num get deltaY => -$dom_wheelDeltaY; 244 num get deltaY => -_wheelDeltaY;
245 $endif 245 $endif
246 } 246 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698