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

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: 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/ppb_input_event_proxy.cc
diff --git a/ppapi/proxy/ppb_input_event_proxy.cc b/ppapi/proxy/ppb_input_event_proxy.cc
index f94cdc213ba5728d49bdaa367ba92a3a6bf1e4d9..9c696025a7d74047729fac7687223219ec50f691 100644
--- a/ppapi/proxy/ppb_input_event_proxy.cc
+++ b/ppapi/proxy/ppb_input_event_proxy.cc
@@ -92,10 +92,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,

Powered by Google App Engine
This is Rietveld 408576698