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

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

Issue 9353013: Add GetUsbKeyCode dev interface for Pepper key events (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add GetUsbScanCode_Dev to Pepper/NaCl interface Created 8 years, 10 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium 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 1804 matching lines...) Expand 10 before | Expand all | Expand 10 after
1815 return retval; 1815 return retval;
1816 } 1816 }
1817 1817
1818 NaClSrpcError PpbInputEventRpcClient::PPB_InputEvent_CreateKeyboardInputEvent( 1818 NaClSrpcError PpbInputEventRpcClient::PPB_InputEvent_CreateKeyboardInputEvent(
1819 NaClSrpcChannel* channel, 1819 NaClSrpcChannel* channel,
1820 PP_Instance instance, 1820 PP_Instance instance,
1821 int32_t type, 1821 int32_t type,
1822 double time_stamp, 1822 double time_stamp,
1823 int32_t modifiers, 1823 int32_t modifiers,
1824 int32_t key_code, 1824 int32_t key_code,
1825 int32_t usb_scan_code,
1825 nacl_abi_size_t character_text_bytes, char* character_text, 1826 nacl_abi_size_t character_text_bytes, char* character_text,
1826 PP_Resource* resource_id) { 1827 PP_Resource* resource_id) {
1827 VCHECK(ppapi_proxy::PPBCoreInterface()->IsMainThread(), 1828 VCHECK(ppapi_proxy::PPBCoreInterface()->IsMainThread(),
1828 ("%s: PPAPI calls are not supported off the main thread\n", 1829 ("%s: PPAPI calls are not supported off the main thread\n",
1829 __FUNCTION__)); 1830 __FUNCTION__));
1830 NaClSrpcError retval; 1831 NaClSrpcError retval;
1831 retval = NaClSrpcInvokeBySignature( 1832 retval = NaClSrpcInvokeBySignature(
1832 channel, 1833 channel,
1833 "PPB_InputEvent_CreateKeyboardInputEvent:iidiiC:i", 1834 "PPB_InputEvent_CreateKeyboardInputEvent:iidiiiC:i",
1834 instance, 1835 instance,
1835 type, 1836 type,
1836 time_stamp, 1837 time_stamp,
1837 modifiers, 1838 modifiers,
1838 key_code, 1839 key_code,
1840 usb_scan_code,
1839 character_text_bytes, character_text, 1841 character_text_bytes, character_text,
1840 resource_id 1842 resource_id
1841 ); 1843 );
1842 return retval; 1844 return retval;
1843 } 1845 }
1844 1846
1845 NaClSrpcError PpbInstanceRpcClient::PPB_Instance_BindGraphics( 1847 NaClSrpcError PpbInstanceRpcClient::PPB_Instance_BindGraphics(
1846 NaClSrpcChannel* channel, 1848 NaClSrpcChannel* channel,
1847 PP_Instance instance, 1849 PP_Instance instance,
1848 PP_Resource graphics_device, 1850 PP_Resource graphics_device,
(...skipping 1712 matching lines...) Expand 10 before | Expand all | Expand 10 after
3561 channel, 3563 channel,
3562 "PPB_Zoom_ZoomLimitsChanged:idd:", 3564 "PPB_Zoom_ZoomLimitsChanged:idd:",
3563 instance, 3565 instance,
3564 minimum_factor, 3566 minimum_factor,
3565 maximum_factor 3567 maximum_factor
3566 ); 3568 );
3567 return retval; 3569 return retval;
3568 } 3570 }
3569 3571
3570 3572
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698