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

Unified Diff: ppapi/proxy/ppb_input_event_proxy.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 | « ppapi/proxy/ppb_input_event_proxy.h ('k') | ppapi/proxy/resource_creation_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/ppb_input_event_proxy.cc
diff --git a/ppapi/proxy/ppb_input_event_proxy.cc b/ppapi/proxy/ppb_input_event_proxy.cc
index 29513bc359b4c6c49b51199c5d53088c12048423..655b10dae419fa240350b621ae3ba0ab1a98d5f6 100644
--- a/ppapi/proxy/ppb_input_event_proxy.cc
+++ b/ppapi/proxy/ppb_input_event_proxy.cc
@@ -60,10 +60,22 @@ const InterfaceProxy::Info* PPB_InputEvent_Proxy::GetKeyboardInputEventInfo() {
}
// static
-const InterfaceProxy::Info* PPB_InputEvent_Proxy::GetMouseInputEventInfo() {
+const InterfaceProxy::Info* PPB_InputEvent_Proxy::GetMouseInputEventInfo1_0() {
static const Info info = {
- thunk::GetPPB_MouseInputEvent_Thunk(),
- PPB_MOUSE_INPUT_EVENT_INTERFACE,
+ thunk::GetPPB_MouseInputEvent_1_0_Thunk(),
+ PPB_MOUSE_INPUT_EVENT_INTERFACE_1_0,
+ INTERFACE_ID_NONE,
+ false,
+ &CreateInputEventProxy,
+ };
+ return &info;
+}
+
+// static
+const InterfaceProxy::Info* PPB_InputEvent_Proxy::GetMouseInputEventInfo1_1() {
+ static const Info info = {
+ thunk::GetPPB_MouseInputEvent_1_1_Thunk(),
+ PPB_MOUSE_INPUT_EVENT_INTERFACE_1_1,
INTERFACE_ID_NONE,
false,
&CreateInputEventProxy,
« no previous file with comments | « ppapi/proxy/ppb_input_event_proxy.h ('k') | ppapi/proxy/resource_creation_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698