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

Side by Side Diff: ppapi/native_client/src/shared/ppapi_proxy/ppb_rpc_client.cc

Issue 7715021: Add movement information to PPB_MouseInputEvent. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 years, 3 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Native Client Authors. All rights reserved. 1 // Copyright (c) 2011 The Native Client Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING 5 // WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
6 // 6 //
7 // Automatically generated code. See srpcgen.py 7 // Automatically generated code. See srpcgen.py
8 // 8 //
9 // NaCl Simple Remote Procedure Call interface abstractions. 9 // NaCl Simple Remote Procedure Call interface abstractions.
10 10
(...skipping 1652 matching lines...) Expand 10 before | Expand all | Expand 10 after
1663 NaClSrpcError PpbInputEventRpcClient::PPB_InputEvent_CreateMouseInputEvent( 1663 NaClSrpcError PpbInputEventRpcClient::PPB_InputEvent_CreateMouseInputEvent(
1664 NaClSrpcChannel* channel, 1664 NaClSrpcChannel* channel,
1665 PP_Instance instance, 1665 PP_Instance instance,
1666 int32_t type, 1666 int32_t type,
1667 double time_stamp, 1667 double time_stamp,
1668 int32_t modifiers, 1668 int32_t modifiers,
1669 int32_t mouse_button, 1669 int32_t mouse_button,
1670 int32_t mouse_position_x, 1670 int32_t mouse_position_x,
1671 int32_t mouse_position_y, 1671 int32_t mouse_position_y,
1672 int32_t click_count, 1672 int32_t click_count,
1673 int32_t mouse_movement_x,
1674 int32_t mouse_movement_y,
1673 PP_Resource* resource_id) { 1675 PP_Resource* resource_id) {
1674 VCHECK(ppapi_proxy::PPBCoreInterface()->IsMainThread(), 1676 VCHECK(ppapi_proxy::PPBCoreInterface()->IsMainThread(),
1675 ("%s: PPAPI calls are not supported off the main thread\n", 1677 ("%s: PPAPI calls are not supported off the main thread\n",
1676 __FUNCTION__)); 1678 __FUNCTION__));
1677 NaClSrpcError retval; 1679 NaClSrpcError retval;
1678 retval = NaClSrpcInvokeBySignature( 1680 retval = NaClSrpcInvokeBySignature(
1679 channel, 1681 channel,
1680 "PPB_InputEvent_CreateMouseInputEvent:iidiiiii:i", 1682 "PPB_InputEvent_CreateMouseInputEvent:iidiiiiiii:i",
1681 instance, 1683 instance,
1682 type, 1684 type,
1683 time_stamp, 1685 time_stamp,
1684 modifiers, 1686 modifiers,
1685 mouse_button, 1687 mouse_button,
1686 mouse_position_x, 1688 mouse_position_x,
1687 mouse_position_y, 1689 mouse_position_y,
1688 click_count, 1690 click_count,
1691 mouse_movement_x,
1692 mouse_movement_y,
1689 resource_id 1693 resource_id
1690 ); 1694 );
1691 return retval; 1695 return retval;
1692 } 1696 }
1693 1697
1694 NaClSrpcError PpbInputEventRpcClient::PPB_InputEvent_CreateWheelInputEvent( 1698 NaClSrpcError PpbInputEventRpcClient::PPB_InputEvent_CreateWheelInputEvent(
1695 NaClSrpcChannel* channel, 1699 NaClSrpcChannel* channel,
1696 PP_Instance instance, 1700 PP_Instance instance,
1697 double time_stamp, 1701 double time_stamp,
1698 int32_t modifiers, 1702 int32_t modifiers,
(...skipping 1009 matching lines...) Expand 10 before | Expand all | Expand 10 after
2708 channel, 2712 channel,
2709 "PPB_Zoom_ZoomLimitsChanged:idd:", 2713 "PPB_Zoom_ZoomLimitsChanged:idd:",
2710 instance, 2714 instance,
2711 minimum_factor, 2715 minimum_factor,
2712 maximum_factor 2716 maximum_factor
2713 ); 2717 );
2714 return retval; 2718 return retval;
2715 } 2719 }
2716 2720
2717 2721
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698