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

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

Issue 9148044: Add NaCl proxy for pepper gamepad (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add missing build file entry 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 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 915 matching lines...) Expand 10 before | Expand all | Expand 10 after
926 ) { 926 ) {
927 PpbFullscreenRpcServer::PPB_Fullscreen_GetScreenSize( 927 PpbFullscreenRpcServer::PPB_Fullscreen_GetScreenSize(
928 rpc, 928 rpc,
929 done, 929 done,
930 inputs[0]->u.ival, 930 inputs[0]->u.ival,
931 &(outputs[0]->u.count), outputs[0]->arrays.carr, 931 &(outputs[0]->u.count), outputs[0]->arrays.carr,
932 &(outputs[1]->u.ival) 932 &(outputs[1]->u.ival)
933 ); 933 );
934 } 934 }
935 935
936 static void PPB_Gamepad_SampleGamepadsDispatcher(
937 NaClSrpcRpc* rpc,
938 NaClSrpcArg** inputs,
939 NaClSrpcArg** outputs,
940 NaClSrpcClosure* done
941 ) {
942 PpbGamepadRpcServer::PPB_Gamepad_SampleGamepads(
943 rpc,
944 done,
945 inputs[0]->u.ival,
946 &(outputs[0]->u.count), outputs[0]->arrays.carr
947 );
948 }
949
936 static void PPB_Graphics2D_CreateDispatcher( 950 static void PPB_Graphics2D_CreateDispatcher(
937 NaClSrpcRpc* rpc, 951 NaClSrpcRpc* rpc,
938 NaClSrpcArg** inputs, 952 NaClSrpcArg** inputs,
939 NaClSrpcArg** outputs, 953 NaClSrpcArg** outputs,
940 NaClSrpcClosure* done 954 NaClSrpcClosure* done
941 ) { 955 ) {
942 PpbGraphics2DRpcServer::PPB_Graphics2D_Create( 956 PpbGraphics2DRpcServer::PPB_Graphics2D_Create(
943 rpc, 957 rpc,
944 done, 958 done,
945 inputs[0]->u.ival, 959 inputs[0]->u.ival,
(...skipping 1681 matching lines...) Expand 10 before | Expand all | Expand 10 after
2627 { "PPB_Font_GetFontFamilies:i:C", PPB_Font_GetFontFamiliesDispatcher }, 2641 { "PPB_Font_GetFontFamilies:i:C", PPB_Font_GetFontFamiliesDispatcher },
2628 { "PPB_Font_Create:iCC:i", PPB_Font_CreateDispatcher }, 2642 { "PPB_Font_Create:iCC:i", PPB_Font_CreateDispatcher },
2629 { "PPB_Font_IsFont:i:i", PPB_Font_IsFontDispatcher }, 2643 { "PPB_Font_IsFont:i:i", PPB_Font_IsFontDispatcher },
2630 { "PPB_Font_Describe:i:CCCi", PPB_Font_DescribeDispatcher }, 2644 { "PPB_Font_Describe:i:CCCi", PPB_Font_DescribeDispatcher },
2631 { "PPB_Font_DrawTextAt:iiCCCiCi:i", PPB_Font_DrawTextAtDispatcher }, 2645 { "PPB_Font_DrawTextAt:iiCCCiCi:i", PPB_Font_DrawTextAtDispatcher },
2632 { "PPB_Font_MeasureText:iCC:i", PPB_Font_MeasureTextDispatcher }, 2646 { "PPB_Font_MeasureText:iCC:i", PPB_Font_MeasureTextDispatcher },
2633 { "PPB_Font_CharacterOffsetForPixel:iCCi:i", PPB_Font_CharacterOffsetForPixelD ispatcher }, 2647 { "PPB_Font_CharacterOffsetForPixel:iCCi:i", PPB_Font_CharacterOffsetForPixelD ispatcher },
2634 { "PPB_Font_PixelOffsetForCharacter:iCCi:i", PPB_Font_PixelOffsetForCharacterD ispatcher }, 2648 { "PPB_Font_PixelOffsetForCharacter:iCCi:i", PPB_Font_PixelOffsetForCharacterD ispatcher },
2635 { "PPB_Fullscreen_SetFullscreen:ii:i", PPB_Fullscreen_SetFullscreenDispatcher }, 2649 { "PPB_Fullscreen_SetFullscreen:ii:i", PPB_Fullscreen_SetFullscreenDispatcher },
2636 { "PPB_Fullscreen_GetScreenSize:i:Ci", PPB_Fullscreen_GetScreenSizeDispatcher }, 2650 { "PPB_Fullscreen_GetScreenSize:i:Ci", PPB_Fullscreen_GetScreenSizeDispatcher },
2651 { "PPB_Gamepad_SampleGamepads:i:C", PPB_Gamepad_SampleGamepadsDispatcher },
2637 { "PPB_Graphics2D_Create:iCi:i", PPB_Graphics2D_CreateDispatcher }, 2652 { "PPB_Graphics2D_Create:iCi:i", PPB_Graphics2D_CreateDispatcher },
2638 { "PPB_Graphics2D_IsGraphics2D:i:i", PPB_Graphics2D_IsGraphics2DDispatcher }, 2653 { "PPB_Graphics2D_IsGraphics2D:i:i", PPB_Graphics2D_IsGraphics2DDispatcher },
2639 { "PPB_Graphics2D_Describe:i:Cii", PPB_Graphics2D_DescribeDispatcher }, 2654 { "PPB_Graphics2D_Describe:i:Cii", PPB_Graphics2D_DescribeDispatcher },
2640 { "PPB_Graphics2D_PaintImageData:iiCC:", PPB_Graphics2D_PaintImageDataDispatch er }, 2655 { "PPB_Graphics2D_PaintImageData:iiCC:", PPB_Graphics2D_PaintImageDataDispatch er },
2641 { "PPB_Graphics2D_Scroll:iCC:", PPB_Graphics2D_ScrollDispatcher }, 2656 { "PPB_Graphics2D_Scroll:iCC:", PPB_Graphics2D_ScrollDispatcher },
2642 { "PPB_Graphics2D_ReplaceContents:ii:", PPB_Graphics2D_ReplaceContentsDispatch er }, 2657 { "PPB_Graphics2D_ReplaceContents:ii:", PPB_Graphics2D_ReplaceContentsDispatch er },
2643 { "PPB_Graphics2D_Flush:ii:i", PPB_Graphics2D_FlushDispatcher }, 2658 { "PPB_Graphics2D_Flush:ii:i", PPB_Graphics2D_FlushDispatcher },
2644 { "PPB_Graphics3D_GetAttribMaxValue:ii:ii", PPB_Graphics3D_GetAttribMaxValueDi spatcher }, 2659 { "PPB_Graphics3D_GetAttribMaxValue:ii:ii", PPB_Graphics3D_GetAttribMaxValueDi spatcher },
2645 { "PPB_Graphics3D_Create:iiI:i", PPB_Graphics3D_CreateDispatcher }, 2660 { "PPB_Graphics3D_Create:iiI:i", PPB_Graphics3D_CreateDispatcher },
2646 { "PPB_Graphics3D_GetAttribs:iI:Ii", PPB_Graphics3D_GetAttribsDispatcher }, 2661 { "PPB_Graphics3D_GetAttribs:iI:Ii", PPB_Graphics3D_GetAttribsDispatcher },
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
2737 { "PPB_Widget_IsWidget:i:i", PPB_Widget_IsWidgetDispatcher }, 2752 { "PPB_Widget_IsWidget:i:i", PPB_Widget_IsWidgetDispatcher },
2738 { "PPB_Widget_Paint:iCi:i", PPB_Widget_PaintDispatcher }, 2753 { "PPB_Widget_Paint:iCi:i", PPB_Widget_PaintDispatcher },
2739 { "PPB_Widget_HandleEvent:ii:i", PPB_Widget_HandleEventDispatcher }, 2754 { "PPB_Widget_HandleEvent:ii:i", PPB_Widget_HandleEventDispatcher },
2740 { "PPB_Widget_GetLocation:i:Ci", PPB_Widget_GetLocationDispatcher }, 2755 { "PPB_Widget_GetLocation:i:Ci", PPB_Widget_GetLocationDispatcher },
2741 { "PPB_Widget_SetLocation:iC:", PPB_Widget_SetLocationDispatcher }, 2756 { "PPB_Widget_SetLocation:iC:", PPB_Widget_SetLocationDispatcher },
2742 { "PPB_Zoom_ZoomChanged:id:", PPB_Zoom_ZoomChangedDispatcher }, 2757 { "PPB_Zoom_ZoomChanged:id:", PPB_Zoom_ZoomChangedDispatcher },
2743 { "PPB_Zoom_ZoomLimitsChanged:idd:", PPB_Zoom_ZoomLimitsChangedDispatcher }, 2758 { "PPB_Zoom_ZoomLimitsChanged:idd:", PPB_Zoom_ZoomLimitsChangedDispatcher },
2744 { NULL, NULL } 2759 { NULL, NULL }
2745 }; 2760 };
2746 2761
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698