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

Unified Diff: webkit/plugins/ppapi/resource_creation_impl.cc

Issue 7715021: Add movement information to PPB_MouseInputEvent. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 years, 4 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
« no previous file with comments | « webkit/plugins/ppapi/resource_creation_impl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/ppapi/resource_creation_impl.cc
diff --git a/webkit/plugins/ppapi/resource_creation_impl.cc b/webkit/plugins/ppapi/resource_creation_impl.cc
index 05f09cc067965a37516e27ece30481dc9eaa2a52..23b725b0642ad6e1cdc457f96d140d572c3cd04c 100644
--- a/webkit/plugins/ppapi/resource_creation_impl.cc
+++ b/webkit/plugins/ppapi/resource_creation_impl.cc
@@ -215,7 +215,8 @@ PP_Resource ResourceCreationImpl::CreateMouseInputEvent(
uint32_t modifiers,
PP_InputEvent_MouseButton mouse_button,
const PP_Point* mouse_position,
- int32_t click_count) {
+ int32_t click_count,
+ const PP_Point* mouse_movement) {
if (type != PP_INPUTEVENT_TYPE_MOUSEDOWN &&
type != PP_INPUTEVENT_TYPE_MOUSEUP &&
type != PP_INPUTEVENT_TYPE_MOUSEMOVE &&
@@ -230,6 +231,7 @@ PP_Resource ResourceCreationImpl::CreateMouseInputEvent(
data.mouse_button = mouse_button;
data.mouse_position = *mouse_position;
data.mouse_click_count = click_count;
+ data.mouse_movement = *mouse_movement;
return (new InputEventImpl(InputEventImpl::InitAsImpl(),
instance, data))->GetReference();
« no previous file with comments | « webkit/plugins/ppapi/resource_creation_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698