| OLD | NEW |
| 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 1434 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1445 "PPB_Graphics3DTrusted_InitCommandBuffer:i:i", | 1445 "PPB_Graphics3DTrusted_InitCommandBuffer:i:i", |
| 1446 resource_id, | 1446 resource_id, |
| 1447 success | 1447 success |
| 1448 ); | 1448 ); |
| 1449 return retval; | 1449 return retval; |
| 1450 } | 1450 } |
| 1451 | 1451 |
| 1452 NaClSrpcError PpbGraphics3DRpcClient::PPB_Graphics3DTrusted_SetGetBuffer( | 1452 NaClSrpcError PpbGraphics3DRpcClient::PPB_Graphics3DTrusted_SetGetBuffer( |
| 1453 NaClSrpcChannel* channel, | 1453 NaClSrpcChannel* channel, |
| 1454 PP_Resource resource_id, | 1454 PP_Resource resource_id, |
| 1455 int32_t transfer_buffer_id) { | 1455 int32_t shm_id) { |
| 1456 VCHECK(ppapi_proxy::PPBCoreInterface()->IsMainThread(), | 1456 VCHECK(ppapi_proxy::PPBCoreInterface()->IsMainThread(), |
| 1457 ("%s: PPAPI calls are not supported off the main thread\n", | 1457 ("%s: PPAPI calls are not supported off the main thread\n", |
| 1458 __FUNCTION__)); | 1458 __FUNCTION__)); |
| 1459 NaClSrpcError retval; | 1459 NaClSrpcError retval; |
| 1460 retval = NaClSrpcInvokeBySignature( | 1460 retval = NaClSrpcInvokeBySignature( |
| 1461 channel, | 1461 channel, |
| 1462 "PPB_Graphics3DTrusted_SetGetBuffer:ii:", | 1462 "PPB_Graphics3DTrusted_SetGetBuffer:ii:", |
| 1463 resource_id, | 1463 resource_id, |
| 1464 transfer_buffer_id | 1464 shm_id |
| 1465 ); | 1465 ); |
| 1466 return retval; | 1466 return retval; |
| 1467 } | 1467 } |
| 1468 | 1468 |
| 1469 NaClSrpcError PpbGraphics3DRpcClient::PPB_Graphics3DTrusted_GetState( | 1469 NaClSrpcError PpbGraphics3DRpcClient::PPB_Graphics3DTrusted_GetState( |
| 1470 NaClSrpcChannel* channel, | 1470 NaClSrpcChannel* channel, |
| 1471 PP_Resource resource_id, | 1471 PP_Resource resource_id, |
| 1472 nacl_abi_size_t* state_bytes, char* state) { | 1472 nacl_abi_size_t* state_bytes, char* state) { |
| 1473 VCHECK(ppapi_proxy::PPBCoreInterface()->IsMainThread(), | 1473 VCHECK(ppapi_proxy::PPBCoreInterface()->IsMainThread(), |
| 1474 ("%s: PPAPI calls are not supported off the main thread\n", | 1474 ("%s: PPAPI calls are not supported off the main thread\n", |
| (...skipping 1699 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3174 channel, | 3174 channel, |
| 3175 "PPB_Zoom_ZoomLimitsChanged:idd:", | 3175 "PPB_Zoom_ZoomLimitsChanged:idd:", |
| 3176 instance, | 3176 instance, |
| 3177 minimum_factor, | 3177 minimum_factor, |
| 3178 maximum_factor | 3178 maximum_factor |
| 3179 ); | 3179 ); |
| 3180 return retval; | 3180 return retval; |
| 3181 } | 3181 } |
| 3182 | 3182 |
| 3183 | 3183 |
| OLD | NEW |