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

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

Issue 8951014: Change the DidChangeView update to take a new ViewChanged resource. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: New patch Created 9 years 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 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 instance 208 instance
209 ); 209 );
210 if (retval == NACL_SRPC_RESULT_INTERNAL) 210 if (retval == NACL_SRPC_RESULT_INTERNAL)
211 ppapi_proxy::CleanUpAfterDeadNexe(instance); 211 ppapi_proxy::CleanUpAfterDeadNexe(instance);
212 return retval; 212 return retval;
213 } 213 }
214 214
215 NaClSrpcError PppInstanceRpcClient::PPP_Instance_DidChangeView( 215 NaClSrpcError PppInstanceRpcClient::PPP_Instance_DidChangeView(
216 NaClSrpcChannel* channel, 216 NaClSrpcChannel* channel,
217 PP_Instance instance, 217 PP_Instance instance,
218 nacl_abi_size_t position_bytes, int32_t* position, 218 PP_Resource resource,
219 nacl_abi_size_t clip_bytes, int32_t* clip, 219 nacl_abi_size_t view_data_bytes, char* view_data) {
220 int32_t is_fullscreen) { 220 NaClSrpcError retval;
221 NaClSrpcError retval; 221 retval = NaClSrpcInvokeBySignature(
222 retval = NaClSrpcInvokeBySignature( 222 channel,
223 channel, 223 "PPP_Instance_DidChangeView:iiC:",
224 "PPP_Instance_DidChangeView:iIIi:", 224 instance,
225 instance, 225 resource,
226 position_bytes, position, 226 view_data_bytes, view_data
227 clip_bytes, clip,
228 is_fullscreen
229 ); 227 );
230 if (retval == NACL_SRPC_RESULT_INTERNAL) 228 if (retval == NACL_SRPC_RESULT_INTERNAL)
231 ppapi_proxy::CleanUpAfterDeadNexe(instance); 229 ppapi_proxy::CleanUpAfterDeadNexe(instance);
232 return retval; 230 return retval;
233 } 231 }
234 232
235 NaClSrpcError PppInstanceRpcClient::PPP_Instance_DidChangeFocus( 233 NaClSrpcError PppInstanceRpcClient::PPP_Instance_DidChangeFocus(
236 NaClSrpcChannel* channel, 234 NaClSrpcChannel* channel,
237 PP_Instance instance, 235 PP_Instance instance,
238 bool has_focus) { 236 bool has_focus) {
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
464 instance, 462 instance,
465 factor, 463 factor,
466 text_only 464 text_only
467 ); 465 );
468 if (retval == NACL_SRPC_RESULT_INTERNAL) 466 if (retval == NACL_SRPC_RESULT_INTERNAL)
469 ppapi_proxy::CleanUpAfterDeadNexe(instance); 467 ppapi_proxy::CleanUpAfterDeadNexe(instance);
470 return retval; 468 return retval;
471 } 469 }
472 470
473 471
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698