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

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

Issue 9253011: Pepper SRPC proxy style and type nits (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix bad license to pass presubmit check Created 8 years, 11 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.cc
diff --git a/ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_input_event.cc b/ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_input_event.cc
index 774f4d679ac99b4cf391ec4415c1080269c017bf..31d595cd8d3706b06b29e371fe5d032c1cf3518f 100644
--- a/ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_input_event.cc
+++ b/ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_input_event.cc
@@ -30,7 +30,7 @@ using ppapi_proxy::Serialize;
// InputEvent ------------------------------------------------------------------
int32_t RequestInputEvents(PP_Instance instance, uint32_t event_classes) {
- DebugPrintf("PPB_InputEvent::RequestInputEvents: instance=%"NACL_PRIu32", "
+ DebugPrintf("PPB_InputEvent::RequestInputEvents: instance=%"NACL_PRId32", "
"event_classes=%"NACL_PRIu32"\n",
instance, event_classes);
uint32_t success = 0;
@@ -50,7 +50,7 @@ int32_t RequestInputEvents(PP_Instance instance, uint32_t event_classes) {
int32_t RequestFilteringInputEvents(PP_Instance instance,
uint32_t event_classes) {
DebugPrintf("PPB_InputEvent::RequestFilteringInputEvents: instance="
- "%"NACL_PRIu32", event_classes=%"NACL_PRIu32"\n",
+ "%"NACL_PRId32", event_classes=%"NACL_PRIu32"\n",
instance, event_classes);
uint32_t success = 0;
NaClSrpcError srpc_result =
@@ -68,7 +68,7 @@ int32_t RequestFilteringInputEvents(PP_Instance instance,
void ClearInputEventRequest(PP_Instance instance,
uint32_t event_classes) {
- DebugPrintf("PPB_InputEvent::ClearInputEventRequest: instance=%"NACL_PRIu32
+ DebugPrintf("PPB_InputEvent::ClearInputEventRequest: instance=%"NACL_PRId32
", event_classes=%"NACL_PRIu32"\n",
instance, event_classes);
PpbInputEventRpcClient::PPB_InputEvent_ClearInputEventRequest(
@@ -82,7 +82,7 @@ void ClearInputEventRequest(PP_Instance instance,
class InputEventGetter {
public:
InputEventGetter(PP_Resource resource, const char* function_name) {
- DebugPrintf("PPB_InputEvent::%s: resource=%"NACL_PRIu32"\n",
+ DebugPrintf("PPB_InputEvent::%s: resource=%"NACL_PRId32"\n",
function_name,
resource);
input_event_ =
@@ -138,7 +138,7 @@ PP_Resource CreateMouseInputEvent1_1(PP_Instance instance,
int32_t click_count,
const PP_Point* mouse_movement) {
DebugPrintf("PPB_InputEvent::CreateMouseInputEvent: instance="
- "%"NACL_PRIu32", type=%d, time_stamp=%lf, modifiers="
+ "%"NACL_PRId32", type=%d, time_stamp=%lf, modifiers="
"%"NACL_PRIu32", mouse_button=%d, x=%"NACL_PRId32", y="
"%"NACL_PRId32", click_count=%d, movement_x="
"%"NACL_PRId32", movement_y=%"NACL_PRId32"\n",
@@ -217,7 +217,7 @@ PP_Resource CreateWheelInputEvent(PP_Instance instance,
const PP_FloatPoint* wheel_ticks,
PP_Bool scroll_by_page) {
DebugPrintf("PPB_InputEvent::CreateWheelInputEvent: instance="
- "%"NACL_PRIu32", time_stamp=%lf, modifiers="
+ "%"NACL_PRId32", time_stamp=%lf, modifiers="
"%"NACL_PRIu32", delta.x=%d, delta.y=%d, ticks.x=%d, ticks.y=%d, "
"scroll_by_page=%s\n",
instance, time_stamp, modifiers, wheel_delta->x, wheel_delta->y,
@@ -267,7 +267,7 @@ PP_Resource CreateKeyboardInputEvent(PP_Instance instance,
uint32_t key_code,
struct PP_Var character_text) {
DebugPrintf("PPB_InputEvent::CreateKeyboardInputEvent: instance="
- "%"NACL_PRIu32", type=%d, time_stamp=%lf, modifiers="
+ "%"NACL_PRId32", type=%d, time_stamp=%lf, modifiers="
"%"NACL_PRIu32", key_code=%"NACL_PRIu32"\n",
instance, type, time_stamp, modifiers, key_code);
// Serialize the character_text Var.

Powered by Google App Engine
This is Rietveld 408576698