Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 |
|
vandebo (ex-Chrome)
2011/09/26 23:41:33
ditto
| |
| 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 |
| 11 #include "untrusted/srpcgen/ppp_rpc.h" | 11 #include "untrusted/srpcgen/ppp_rpc.h" |
| 12 #ifdef __native_client__ | 12 #ifdef __native_client__ |
| 13 #ifndef UNREFERENCED_PARAMETER | 13 #ifndef UNREFERENCED_PARAMETER |
| 14 #define UNREFERENCED_PARAMETER(P) do { (void) P; } while (0) | 14 #define UNREFERENCED_PARAMETER(P) do { (void) P; } while (0) |
| 15 #endif // UNREFERENCED_PARAMETER | 15 #endif // UNREFERENCED_PARAMETER |
| (...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 277 NaClSrpcClosure* done | 277 NaClSrpcClosure* done |
| 278 ) { | 278 ) { |
| 279 PppPrintingRpcServer::PPP_Printing_QuerySupportedFormats( | 279 PppPrintingRpcServer::PPP_Printing_QuerySupportedFormats( |
| 280 rpc, | 280 rpc, |
| 281 done, | 281 done, |
| 282 inputs[0]->u.ival, | 282 inputs[0]->u.ival, |
| 283 &(outputs[0]->u.ival) | 283 &(outputs[0]->u.ival) |
| 284 ); | 284 ); |
| 285 } | 285 } |
| 286 | 286 |
| 287 static void PPP_Printing_IsScalingDisabledDispatcher( | |
| 288 NaClSrpcRpc* rpc, | |
| 289 NaClSrpcArg** inputs, | |
| 290 NaClSrpcArg** outputs, | |
| 291 NaClSrpcClosure* done | |
| 292 ) { | |
| 293 bool out = outputs[0]->u.bval; | |
| 294 PppPrintingRpcServer::PPP_Printing_IsScalingDisabled( | |
| 295 rpc, | |
| 296 done, | |
| 297 inputs[0]->u.ival, | |
| 298 &out | |
| 299 ); | |
| 300 outputs[0]->u.bval = out; | |
| 301 } | |
| 302 | |
| 287 static void PPP_Printing_BeginDispatcher( | 303 static void PPP_Printing_BeginDispatcher( |
| 288 NaClSrpcRpc* rpc, | 304 NaClSrpcRpc* rpc, |
| 289 NaClSrpcArg** inputs, | 305 NaClSrpcArg** inputs, |
| 290 NaClSrpcArg** outputs, | 306 NaClSrpcArg** outputs, |
| 291 NaClSrpcClosure* done | 307 NaClSrpcClosure* done |
| 292 ) { | 308 ) { |
| 293 PppPrintingRpcServer::PPP_Printing_Begin( | 309 PppPrintingRpcServer::PPP_Printing_Begin( |
| 294 rpc, | 310 rpc, |
| 295 done, | 311 done, |
| 296 inputs[0]->u.ival, | 312 inputs[0]->u.ival, |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 421 { "PPP_Find_StopFind:i:", PPP_Find_StopFindDispatcher }, | 437 { "PPP_Find_StopFind:i:", PPP_Find_StopFindDispatcher }, |
| 422 { "PPP_InputEvent_HandleInputEvent:iiCC:i", PPP_InputEvent_HandleInputEventDis patcher }, | 438 { "PPP_InputEvent_HandleInputEvent:iiCC:i", PPP_InputEvent_HandleInputEventDis patcher }, |
| 423 { "PPP_Instance_DidCreate:iiCC:i", PPP_Instance_DidCreateDispatcher }, | 439 { "PPP_Instance_DidCreate:iiCC:i", PPP_Instance_DidCreateDispatcher }, |
| 424 { "PPP_Instance_DidDestroy:i:", PPP_Instance_DidDestroyDispatcher }, | 440 { "PPP_Instance_DidDestroy:i:", PPP_Instance_DidDestroyDispatcher }, |
| 425 { "PPP_Instance_DidChangeView:iII:", PPP_Instance_DidChangeViewDispatcher }, | 441 { "PPP_Instance_DidChangeView:iII:", PPP_Instance_DidChangeViewDispatcher }, |
| 426 { "PPP_Instance_DidChangeFocus:ib:", PPP_Instance_DidChangeFocusDispatcher }, | 442 { "PPP_Instance_DidChangeFocus:ib:", PPP_Instance_DidChangeFocusDispatcher }, |
| 427 { "PPP_Instance_HandleDocumentLoad:ii:i", PPP_Instance_HandleDocumentLoadDispa tcher }, | 443 { "PPP_Instance_HandleDocumentLoad:ii:i", PPP_Instance_HandleDocumentLoadDispa tcher }, |
| 428 { "PPP_Messaging_HandleMessage:iC:", PPP_Messaging_HandleMessageDispatcher }, | 444 { "PPP_Messaging_HandleMessage:iC:", PPP_Messaging_HandleMessageDispatcher }, |
| 429 { "PPP_MouseLock_MouseLockLost:i:", PPP_MouseLock_MouseLockLostDispatcher }, | 445 { "PPP_MouseLock_MouseLockLost:i:", PPP_MouseLock_MouseLockLostDispatcher }, |
| 430 { "PPP_Printing_QuerySupportedFormats:i:i", PPP_Printing_QuerySupportedFormats Dispatcher }, | 446 { "PPP_Printing_QuerySupportedFormats:i:i", PPP_Printing_QuerySupportedFormats Dispatcher }, |
| 447 { "PPP_Printing_IsScalingDisabled:i:b", PPP_Printing_IsScalingDisabledDispatch er }, | |
| 431 { "PPP_Printing_Begin:iC:i", PPP_Printing_BeginDispatcher }, | 448 { "PPP_Printing_Begin:iC:i", PPP_Printing_BeginDispatcher }, |
| 432 { "PPP_Printing_PrintPages:iCi:i", PPP_Printing_PrintPagesDispatcher }, | 449 { "PPP_Printing_PrintPages:iCi:i", PPP_Printing_PrintPagesDispatcher }, |
| 433 { "PPP_Printing_End:i:", PPP_Printing_EndDispatcher }, | 450 { "PPP_Printing_End:i:", PPP_Printing_EndDispatcher }, |
| 434 { "PPP_Scrollbar_ValueChanged:iii:", PPP_Scrollbar_ValueChangedDispatcher }, | 451 { "PPP_Scrollbar_ValueChanged:iii:", PPP_Scrollbar_ValueChangedDispatcher }, |
| 435 { "PPP_Scrollbar_OverlayChanged:iii:", PPP_Scrollbar_OverlayChangedDispatcher }, | 452 { "PPP_Scrollbar_OverlayChanged:iii:", PPP_Scrollbar_OverlayChangedDispatcher }, |
| 436 { "PPP_Selection_GetSelectedText:ii:C", PPP_Selection_GetSelectedTextDispatche r }, | 453 { "PPP_Selection_GetSelectedText:ii:C", PPP_Selection_GetSelectedTextDispatche r }, |
| 437 { "PPP_Widget_Invalidate:iiC:", PPP_Widget_InvalidateDispatcher }, | 454 { "PPP_Widget_Invalidate:iiC:", PPP_Widget_InvalidateDispatcher }, |
| 438 { "PPP_Zoom_Zoom:idi:", PPP_Zoom_ZoomDispatcher }, | 455 { "PPP_Zoom_Zoom:idi:", PPP_Zoom_ZoomDispatcher }, |
| 439 { NULL, NULL } | 456 { NULL, NULL } |
| 440 }; | 457 }; |
| 441 | 458 |
| OLD | NEW |