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

Unified Diff: ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_input_event.h

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
Index: ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_input_event.h
diff --git a/ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_input_event.h b/ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_input_event.h
index b22346da000ce4a7af43766b337f3583e719d974..14c94bbbb427c5232a806c56338eeee6bdd43f76 100644
--- a/ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_input_event.h
+++ b/ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_input_event.h
@@ -27,7 +27,8 @@ class PluginInputEvent : public PluginResource {
}
static const PPB_InputEvent* GetInterface();
- static const PPB_MouseInputEvent* GetMouseInterface();
+ static const PPB_MouseInputEvent_1_0* GetMouseInterface1_0();
+ static const PPB_MouseInputEvent* GetMouseInterface1_1();
static const PPB_WheelInputEvent* GetWheelInterface();
static const PPB_KeyboardInputEvent* GetKeyboardInterface();
@@ -38,6 +39,7 @@ class PluginInputEvent : public PluginResource {
PP_InputEvent_MouseButton GetMouseButton() const;
PP_Point GetMousePosition() const;
int32_t GetMouseClickCount() const;
+ PP_Point GetMouseMovement() const;
PP_FloatPoint GetWheelDelta() const;
PP_FloatPoint GetWheelTicks() const;

Powered by Google App Engine
This is Rietveld 408576698