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

Unified Diff: ppapi/native_client/src/shared/ppapi_proxy/browser_ppp_input_event.cc

Issue 7834007: Add comment to PPB_MouseInputEvent version 1.1 that GetMovement hasn't been supported. (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/browser_ppp_input_event.cc
diff --git a/ppapi/native_client/src/shared/ppapi_proxy/browser_ppp_input_event.cc b/ppapi/native_client/src/shared/ppapi_proxy/browser_ppp_input_event.cc
index 917f40c48567533516195e7e025c670f448f648e..d3748627a7ca9707591fc7cdf02ac5762a48d03d 100644
--- a/ppapi/native_client/src/shared/ppapi_proxy/browser_ppp_input_event.cc
+++ b/ppapi/native_client/src/shared/ppapi_proxy/browser_ppp_input_event.cc
@@ -39,13 +39,13 @@ PP_Bool HandleInputEvent(PP_Instance instance, PP_Resource input_event) {
case PP_INPUTEVENT_TYPE_MOUSEMOVE:
case PP_INPUTEVENT_TYPE_CONTEXTMENU:
data.mouse_button =
- PPBMouseInputEventInterface()->GetButton(input_event);
+ PPBMouseInputEventDevInterface()->GetButton(input_event);
data.mouse_position =
- PPBMouseInputEventInterface()->GetPosition(input_event);
+ PPBMouseInputEventDevInterface()->GetPosition(input_event);
data.mouse_click_count =
- PPBMouseInputEventInterface()->GetClickCount(input_event);
+ PPBMouseInputEventDevInterface()->GetClickCount(input_event);
data.mouse_movement =
- PPBMouseInputEventInterface()->GetMovement(input_event);
+ PPBMouseInputEventDevInterface()->GetMovement(input_event);
break;
// This event uses the PPB_WheelInputEvent interface.
case PP_INPUTEVENT_TYPE_WHEEL:

Powered by Google App Engine
This is Rietveld 408576698