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

Unified Diff: ppapi/proxy/resource_creation_proxy.cc

Issue 7715021: Add movement information to PPB_MouseInputEvent. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed comments for the 1.0 interface. 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
Index: ppapi/proxy/resource_creation_proxy.cc
diff --git a/ppapi/proxy/resource_creation_proxy.cc b/ppapi/proxy/resource_creation_proxy.cc
index bc9d0e872cd1e9590f8666087fe7ed8819d7c60f..a56ad6e4323b4bd05b7936e533927e360c416e83 100644
--- a/ppapi/proxy/resource_creation_proxy.cc
+++ b/ppapi/proxy/resource_creation_proxy.cc
@@ -227,7 +227,8 @@ PP_Resource ResourceCreationProxy::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 &&
@@ -242,6 +243,7 @@ PP_Resource ResourceCreationProxy::CreateMouseInputEvent(
data.mouse_button = mouse_button;
data.mouse_position = *mouse_position;
data.mouse_click_count = click_count;
+ data.mouse_movement = *mouse_movement;
return PPB_InputEvent_Proxy::CreateProxyResource(instance, data);
}

Powered by Google App Engine
This is Rietveld 408576698