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

Unified Diff: client/html/src/WheelEventWrappingImplementation.dart

Issue 8581002: Mirgate dart:html to initWebKitWheelEvent. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 9 years, 1 month 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
« no previous file with comments | « client/html/release/html.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/html/src/WheelEventWrappingImplementation.dart
===================================================================
--- client/html/src/WheelEventWrappingImplementation.dart (revision 1564)
+++ client/html/src/WheelEventWrappingImplementation.dart (working copy)
@@ -9,7 +9,7 @@
int screenX, int screenY, int clientX, int clientY, [bool ctrlKey = false,
bool altKey = false, bool shiftKey = false, bool metaKey = false]) {
final e = dom.document.createEvent("WheelEvent");
- e.initWheelEvent(deltaX, deltaY, LevelDom.unwrap(view), screenX, screenY,
+ e.initWebKitWheelEvent(deltaX, deltaY, LevelDom.unwrap(view), screenX, screenY,
clientX, clientY, ctrlKey, altKey, shiftKey, metaKey);
return LevelDom.wrapWheelEvent(e);
}
« no previous file with comments | « client/html/release/html.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698