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

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

Issue 8351023: PPAPI NaCl Proxy: optimize PPB_Fullscreen::IsFullscreen. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' 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 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 nacl_abi_size_t position_bytes, int32_t* position,
219 nacl_abi_size_t clip_bytes, int32_t* clip) { 219 nacl_abi_size_t clip_bytes, int32_t* clip,
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:iII:", 224 "PPP_Instance_DidChangeView:iIIi:",
224 instance, 225 instance,
225 position_bytes, position, 226 position_bytes, position,
226 clip_bytes, clip 227 clip_bytes, clip,
228 is_fullscreen
227 ); 229 );
228 if (retval == NACL_SRPC_RESULT_INTERNAL) 230 if (retval == NACL_SRPC_RESULT_INTERNAL)
229 ppapi_proxy::CleanUpAfterDeadNexe(instance); 231 ppapi_proxy::CleanUpAfterDeadNexe(instance);
230 return retval; 232 return retval;
231 } 233 }
232 234
233 NaClSrpcError PppInstanceRpcClient::PPP_Instance_DidChangeFocus( 235 NaClSrpcError PppInstanceRpcClient::PPP_Instance_DidChangeFocus(
234 NaClSrpcChannel* channel, 236 NaClSrpcChannel* channel,
235 PP_Instance instance, 237 PP_Instance instance,
236 bool has_focus) { 238 bool has_focus) {
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
462 instance, 464 instance,
463 factor, 465 factor,
464 text_only 466 text_only
465 ); 467 );
466 if (retval == NACL_SRPC_RESULT_INTERNAL) 468 if (retval == NACL_SRPC_RESULT_INTERNAL)
467 ppapi_proxy::CleanUpAfterDeadNexe(instance); 469 ppapi_proxy::CleanUpAfterDeadNexe(instance);
468 return retval; 470 return retval;
469 } 471 }
470 472
471 473
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698