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

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

Issue 10827456: Remove PPB_Scrollbar_Dev and PPB_Widget_Dev from native client (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Also remove PPB_PDF and associated tests Created 8 years, 4 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 370 matching lines...) Expand 10 before | Expand all | Expand 10 after
381 channel, 381 channel,
382 "PPP_Printing_IsScalingDisabled:i:i", 382 "PPP_Printing_IsScalingDisabled:i:i",
383 instance, 383 instance,
384 result 384 result
385 ); 385 );
386 if (retval == NACL_SRPC_RESULT_INTERNAL) 386 if (retval == NACL_SRPC_RESULT_INTERNAL)
387 ppapi_proxy::CleanUpAfterDeadNexe(instance); 387 ppapi_proxy::CleanUpAfterDeadNexe(instance);
388 return retval; 388 return retval;
389 } 389 }
390 390
391 NaClSrpcError PppScrollbarRpcClient::PPP_Scrollbar_ValueChanged(
392 NaClSrpcChannel* channel,
393 PP_Instance instance,
394 PP_Resource scrollbar,
395 int32_t value) {
396 NaClSrpcError retval;
397 retval = NaClSrpcInvokeBySignature(
398 channel,
399 "PPP_Scrollbar_ValueChanged:iii:",
400 instance,
401 scrollbar,
402 value
403 );
404 if (retval == NACL_SRPC_RESULT_INTERNAL)
405 ppapi_proxy::CleanUpAfterDeadNexe(instance);
406 return retval;
407 }
408
409 NaClSrpcError PppScrollbarRpcClient::PPP_Scrollbar_OverlayChanged(
410 NaClSrpcChannel* channel,
411 PP_Instance instance,
412 PP_Resource scrollbar,
413 int32_t overlay) {
414 NaClSrpcError retval;
415 retval = NaClSrpcInvokeBySignature(
416 channel,
417 "PPP_Scrollbar_OverlayChanged:iii:",
418 instance,
419 scrollbar,
420 overlay
421 );
422 if (retval == NACL_SRPC_RESULT_INTERNAL)
423 ppapi_proxy::CleanUpAfterDeadNexe(instance);
424 return retval;
425 }
426
427 NaClSrpcError PppSelectionRpcClient::PPP_Selection_GetSelectedText( 391 NaClSrpcError PppSelectionRpcClient::PPP_Selection_GetSelectedText(
428 NaClSrpcChannel* channel, 392 NaClSrpcChannel* channel,
429 PP_Instance instance, 393 PP_Instance instance,
430 int32_t html, 394 int32_t html,
431 nacl_abi_size_t* selected_text_bytes, char* selected_text) { 395 nacl_abi_size_t* selected_text_bytes, char* selected_text) {
432 NaClSrpcError retval; 396 NaClSrpcError retval;
433 retval = NaClSrpcInvokeBySignature( 397 retval = NaClSrpcInvokeBySignature(
434 channel, 398 channel,
435 "PPP_Selection_GetSelectedText:ii:C", 399 "PPP_Selection_GetSelectedText:ii:C",
436 instance, 400 instance,
437 html, 401 html,
438 selected_text_bytes, selected_text 402 selected_text_bytes, selected_text
439 ); 403 );
440 if (retval == NACL_SRPC_RESULT_INTERNAL) 404 if (retval == NACL_SRPC_RESULT_INTERNAL)
441 ppapi_proxy::CleanUpAfterDeadNexe(instance); 405 ppapi_proxy::CleanUpAfterDeadNexe(instance);
442 return retval; 406 return retval;
443 } 407 }
444 408
445 NaClSrpcError PppWidgetRpcClient::PPP_Widget_Invalidate(
446 NaClSrpcChannel* channel,
447 PP_Instance instance,
448 PP_Resource widget,
449 nacl_abi_size_t dirty_rect_bytes, char* dirty_rect) {
450 NaClSrpcError retval;
451 retval = NaClSrpcInvokeBySignature(
452 channel,
453 "PPP_Widget_Invalidate:iiC:",
454 instance,
455 widget,
456 dirty_rect_bytes, dirty_rect
457 );
458 if (retval == NACL_SRPC_RESULT_INTERNAL)
459 ppapi_proxy::CleanUpAfterDeadNexe(instance);
460 return retval;
461 }
462
463 NaClSrpcError PppZoomRpcClient::PPP_Zoom_Zoom( 409 NaClSrpcError PppZoomRpcClient::PPP_Zoom_Zoom(
464 NaClSrpcChannel* channel, 410 NaClSrpcChannel* channel,
465 PP_Instance instance, 411 PP_Instance instance,
466 double factor, 412 double factor,
467 int32_t text_only) { 413 int32_t text_only) {
468 NaClSrpcError retval; 414 NaClSrpcError retval;
469 retval = NaClSrpcInvokeBySignature( 415 retval = NaClSrpcInvokeBySignature(
470 channel, 416 channel,
471 "PPP_Zoom_Zoom:idi:", 417 "PPP_Zoom_Zoom:idi:",
472 instance, 418 instance,
473 factor, 419 factor,
474 text_only 420 text_only
475 ); 421 );
476 if (retval == NACL_SRPC_RESULT_INTERNAL) 422 if (retval == NACL_SRPC_RESULT_INTERNAL)
477 ppapi_proxy::CleanUpAfterDeadNexe(instance); 423 ppapi_proxy::CleanUpAfterDeadNexe(instance);
478 return retval; 424 return retval;
479 } 425 }
480 426
481 427
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698