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

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

Issue 8041052: Add IsScalingDisabled and PP_PRINTOUTPUTFORMAT_EMF to pepper printing interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments Created 9 years, 2 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 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
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 311 matching lines...) Expand 10 before | Expand all | Expand 10 after
322 NaClSrpcClosure* done 322 NaClSrpcClosure* done
323 ) { 323 ) {
324 UNREFERENCED_PARAMETER(outputs); 324 UNREFERENCED_PARAMETER(outputs);
325 PppPrintingRpcServer::PPP_Printing_End( 325 PppPrintingRpcServer::PPP_Printing_End(
326 rpc, 326 rpc,
327 done, 327 done,
328 inputs[0]->u.ival 328 inputs[0]->u.ival
329 ); 329 );
330 } 330 }
331 331
332 static void PPP_Printing_IsScalingDisabledDispatcher(
333 NaClSrpcRpc* rpc,
334 NaClSrpcArg** inputs,
335 NaClSrpcArg** outputs,
336 NaClSrpcClosure* done
337 ) {
338 PppPrintingRpcServer::PPP_Printing_IsScalingDisabled(
339 rpc,
340 done,
341 inputs[0]->u.ival,
342 &(outputs[0]->u.ival)
343 );
344 }
345
332 static void PPP_Scrollbar_ValueChangedDispatcher( 346 static void PPP_Scrollbar_ValueChangedDispatcher(
333 NaClSrpcRpc* rpc, 347 NaClSrpcRpc* rpc,
334 NaClSrpcArg** inputs, 348 NaClSrpcArg** inputs,
335 NaClSrpcArg** outputs, 349 NaClSrpcArg** outputs,
336 NaClSrpcClosure* done 350 NaClSrpcClosure* done
337 ) { 351 ) {
338 UNREFERENCED_PARAMETER(outputs); 352 UNREFERENCED_PARAMETER(outputs);
339 PppScrollbarRpcServer::PPP_Scrollbar_ValueChanged( 353 PppScrollbarRpcServer::PPP_Scrollbar_ValueChanged(
340 rpc, 354 rpc,
341 done, 355 done,
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
424 { "PPP_Instance_DidDestroy:i:", PPP_Instance_DidDestroyDispatcher }, 438 { "PPP_Instance_DidDestroy:i:", PPP_Instance_DidDestroyDispatcher },
425 { "PPP_Instance_DidChangeView:iII:", PPP_Instance_DidChangeViewDispatcher }, 439 { "PPP_Instance_DidChangeView:iII:", PPP_Instance_DidChangeViewDispatcher },
426 { "PPP_Instance_DidChangeFocus:ib:", PPP_Instance_DidChangeFocusDispatcher }, 440 { "PPP_Instance_DidChangeFocus:ib:", PPP_Instance_DidChangeFocusDispatcher },
427 { "PPP_Instance_HandleDocumentLoad:ii:i", PPP_Instance_HandleDocumentLoadDispa tcher }, 441 { "PPP_Instance_HandleDocumentLoad:ii:i", PPP_Instance_HandleDocumentLoadDispa tcher },
428 { "PPP_Messaging_HandleMessage:iC:", PPP_Messaging_HandleMessageDispatcher }, 442 { "PPP_Messaging_HandleMessage:iC:", PPP_Messaging_HandleMessageDispatcher },
429 { "PPP_MouseLock_MouseLockLost:i:", PPP_MouseLock_MouseLockLostDispatcher }, 443 { "PPP_MouseLock_MouseLockLost:i:", PPP_MouseLock_MouseLockLostDispatcher },
430 { "PPP_Printing_QuerySupportedFormats:i:i", PPP_Printing_QuerySupportedFormats Dispatcher }, 444 { "PPP_Printing_QuerySupportedFormats:i:i", PPP_Printing_QuerySupportedFormats Dispatcher },
431 { "PPP_Printing_Begin:iC:i", PPP_Printing_BeginDispatcher }, 445 { "PPP_Printing_Begin:iC:i", PPP_Printing_BeginDispatcher },
432 { "PPP_Printing_PrintPages:iCi:i", PPP_Printing_PrintPagesDispatcher }, 446 { "PPP_Printing_PrintPages:iCi:i", PPP_Printing_PrintPagesDispatcher },
433 { "PPP_Printing_End:i:", PPP_Printing_EndDispatcher }, 447 { "PPP_Printing_End:i:", PPP_Printing_EndDispatcher },
448 { "PPP_Printing_IsScalingDisabled:i:i", PPP_Printing_IsScalingDisabledDispatch er },
434 { "PPP_Scrollbar_ValueChanged:iii:", PPP_Scrollbar_ValueChangedDispatcher }, 449 { "PPP_Scrollbar_ValueChanged:iii:", PPP_Scrollbar_ValueChangedDispatcher },
435 { "PPP_Scrollbar_OverlayChanged:iii:", PPP_Scrollbar_OverlayChangedDispatcher }, 450 { "PPP_Scrollbar_OverlayChanged:iii:", PPP_Scrollbar_OverlayChangedDispatcher },
436 { "PPP_Selection_GetSelectedText:ii:C", PPP_Selection_GetSelectedTextDispatche r }, 451 { "PPP_Selection_GetSelectedText:ii:C", PPP_Selection_GetSelectedTextDispatche r },
437 { "PPP_Widget_Invalidate:iiC:", PPP_Widget_InvalidateDispatcher }, 452 { "PPP_Widget_Invalidate:iiC:", PPP_Widget_InvalidateDispatcher },
438 { "PPP_Zoom_Zoom:idi:", PPP_Zoom_ZoomDispatcher }, 453 { "PPP_Zoom_Zoom:idi:", PPP_Zoom_ZoomDispatcher },
439 { NULL, NULL } 454 { NULL, NULL }
440 }; 455 };
441 456
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698