Title: [97563] trunk/Source/WebKit/chromium
- Revision
- 97563
- Author
- [email protected]
- Date
- 2011-10-15 12:35:33 -0700 (Sat, 15 Oct 2011)
Log Message
[Chromium] Populate WebMouseEvent movementX/Y on Mac
https://bugs.webkit.org/show_bug.cgi?id=70167
Reviewed by Adam Barth.
* src/mac/WebInputEventFactory.mm:
(WebKit::setWebEventLocationFromEventInView):
Modified Paths
Diff
Modified: trunk/Source/WebKit/chromium/ChangeLog (97562 => 97563)
--- trunk/Source/WebKit/chromium/ChangeLog 2011-10-15 19:34:27 UTC (rev 97562)
+++ trunk/Source/WebKit/chromium/ChangeLog 2011-10-15 19:35:33 UTC (rev 97563)
@@ -1,3 +1,13 @@
+2011-10-15 Vincent Scheib <[email protected]>
+
+ [Chromium] Populate WebMouseEvent movementX/Y on Mac
+ https://bugs.webkit.org/show_bug.cgi?id=70167
+
+ Reviewed by Adam Barth.
+
+ * src/mac/WebInputEventFactory.mm:
+ (WebKit::setWebEventLocationFromEventInView):
+
2011-10-15 Antoine Labour <[email protected]>
Add WebAcceleratedContentLayer backed by a texture to support accelerated content hosting
Modified: trunk/Source/WebKit/chromium/src/mac/WebInputEventFactory.mm (97562 => 97563)
--- trunk/Source/WebKit/chromium/src/mac/WebInputEventFactory.mm 2011-10-15 19:34:27 UTC (rev 97562)
+++ trunk/Source/WebKit/chromium/src/mac/WebInputEventFactory.mm 2011-10-15 19:35:33 UTC (rev 97563)
@@ -575,6 +575,9 @@
result->windowX = result->x;
result->windowY = result->y;
+
+ result->movementX = [event deltaX];
+ result->movementY = [event deltaY];
}
WebKeyboardEvent WebInputEventFactory::keyboardEvent(NSEvent* event)
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes