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

Side by Side Diff: ppapi/native_client/src/shared/ppapi_proxy/ppp_rpc_client.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 344 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 retval = NaClSrpcInvokeBySignature( 355 retval = NaClSrpcInvokeBySignature(
356 channel, 356 channel,
357 "PPP_Printing_End:i:", 357 "PPP_Printing_End:i:",
358 instance 358 instance
359 ); 359 );
360 if (retval == NACL_SRPC_RESULT_INTERNAL) 360 if (retval == NACL_SRPC_RESULT_INTERNAL)
361 ppapi_proxy::CleanUpAfterDeadNexe(instance); 361 ppapi_proxy::CleanUpAfterDeadNexe(instance);
362 return retval; 362 return retval;
363 } 363 }
364 364
365 NaClSrpcError PppPrintingRpcClient::PPP_Printing_IsScalingDisabled(
366 NaClSrpcChannel* channel,
367 PP_Instance instance,
368 int32_t* result) {
369 NaClSrpcError retval;
370 retval = NaClSrpcInvokeBySignature(
371 channel,
372 "PPP_Printing_IsScalingDisabled:i:i",
373 instance,
374 result
375 );
376 if (retval == NACL_SRPC_RESULT_INTERNAL)
377 ppapi_proxy::CleanUpAfterDeadNexe(instance);
378 return retval;
379 }
380
365 NaClSrpcError PppScrollbarRpcClient::PPP_Scrollbar_ValueChanged( 381 NaClSrpcError PppScrollbarRpcClient::PPP_Scrollbar_ValueChanged(
366 NaClSrpcChannel* channel, 382 NaClSrpcChannel* channel,
367 PP_Instance instance, 383 PP_Instance instance,
368 PP_Resource scrollbar, 384 PP_Resource scrollbar,
369 int32_t value) { 385 int32_t value) {
370 NaClSrpcError retval; 386 NaClSrpcError retval;
371 retval = NaClSrpcInvokeBySignature( 387 retval = NaClSrpcInvokeBySignature(
372 channel, 388 channel,
373 "PPP_Scrollbar_ValueChanged:iii:", 389 "PPP_Scrollbar_ValueChanged:iii:",
374 instance, 390 instance,
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
446 instance, 462 instance,
447 factor, 463 factor,
448 text_only 464 text_only
449 ); 465 );
450 if (retval == NACL_SRPC_RESULT_INTERNAL) 466 if (retval == NACL_SRPC_RESULT_INTERNAL)
451 ppapi_proxy::CleanUpAfterDeadNexe(instance); 467 ppapi_proxy::CleanUpAfterDeadNexe(instance);
452 return retval; 468 return retval;
453 } 469 }
454 470
455 471
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698