OLD | NEW |
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 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 int32_t delay_in_milliseconds, | 146 int32_t delay_in_milliseconds, |
147 int32_t callback_id, | 147 int32_t callback_id, |
148 int32_t result); | 148 int32_t result); |
149 | 149 |
150 private: | 150 private: |
151 PpbCoreRpcClient(); | 151 PpbCoreRpcClient(); |
152 PpbCoreRpcClient(const PpbCoreRpcClient&); | 152 PpbCoreRpcClient(const PpbCoreRpcClient&); |
153 void operator=(const PpbCoreRpcClient); | 153 void operator=(const PpbCoreRpcClient); |
154 }; // class PpbCoreRpcClient | 154 }; // class PpbCoreRpcClient |
155 | 155 |
156 class PpbCursorControlRpcClient { | |
157 public: | |
158 static NaClSrpcError PPB_CursorControl_SetCursor( | |
159 NaClSrpcChannel* channel, | |
160 PP_Instance instance, | |
161 int32_t type, | |
162 PP_Resource custom_image, | |
163 nacl_abi_size_t hot_spot_bytes, char* hot_spot, | |
164 int32_t* success); | |
165 static NaClSrpcError PPB_CursorControl_LockCursor( | |
166 NaClSrpcChannel* channel, | |
167 PP_Instance instance, | |
168 int32_t* success); | |
169 static NaClSrpcError PPB_CursorControl_UnlockCursor( | |
170 NaClSrpcChannel* channel, | |
171 PP_Instance instance, | |
172 int32_t* success); | |
173 static NaClSrpcError PPB_CursorControl_HasCursorLock( | |
174 NaClSrpcChannel* channel, | |
175 PP_Instance instance, | |
176 int32_t* success); | |
177 static NaClSrpcError PPB_CursorControl_CanLockCursor( | |
178 NaClSrpcChannel* channel, | |
179 PP_Instance instance, | |
180 int32_t* success); | |
181 | |
182 private: | |
183 PpbCursorControlRpcClient(); | |
184 PpbCursorControlRpcClient(const PpbCursorControlRpcClient&); | |
185 void operator=(const PpbCursorControlRpcClient); | |
186 }; // class PpbCursorControlRpcClient | |
187 | |
188 class PpbFileIORpcClient { | 156 class PpbFileIORpcClient { |
189 public: | 157 public: |
190 static NaClSrpcError PPB_FileIO_Create( | 158 static NaClSrpcError PPB_FileIO_Create( |
191 NaClSrpcChannel* channel, | 159 NaClSrpcChannel* channel, |
192 PP_Instance instance, | 160 PP_Instance instance, |
193 PP_Resource* resource); | 161 PP_Resource* resource); |
194 static NaClSrpcError PPB_FileIO_IsFileIO( | 162 static NaClSrpcError PPB_FileIO_IsFileIO( |
195 NaClSrpcChannel* channel, | 163 NaClSrpcChannel* channel, |
196 PP_Resource resource, | 164 PP_Resource resource, |
197 int32_t* success); | 165 int32_t* success); |
(...skipping 536 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
734 NaClSrpcChannel* channel, | 702 NaClSrpcChannel* channel, |
735 PP_Instance instance, | 703 PP_Instance instance, |
736 nacl_abi_size_t message_bytes, char* message); | 704 nacl_abi_size_t message_bytes, char* message); |
737 | 705 |
738 private: | 706 private: |
739 PpbMessagingRpcClient(); | 707 PpbMessagingRpcClient(); |
740 PpbMessagingRpcClient(const PpbMessagingRpcClient&); | 708 PpbMessagingRpcClient(const PpbMessagingRpcClient&); |
741 void operator=(const PpbMessagingRpcClient); | 709 void operator=(const PpbMessagingRpcClient); |
742 }; // class PpbMessagingRpcClient | 710 }; // class PpbMessagingRpcClient |
743 | 711 |
| 712 class PpbMouseCursorRpcClient { |
| 713 public: |
| 714 static NaClSrpcError PPB_MouseCursor_SetCursor( |
| 715 NaClSrpcChannel* channel, |
| 716 PP_Instance instance, |
| 717 int32_t type, |
| 718 PP_Resource custom_image, |
| 719 nacl_abi_size_t hot_spot_bytes, char* hot_spot, |
| 720 int32_t* success); |
| 721 |
| 722 private: |
| 723 PpbMouseCursorRpcClient(); |
| 724 PpbMouseCursorRpcClient(const PpbMouseCursorRpcClient&); |
| 725 void operator=(const PpbMouseCursorRpcClient); |
| 726 }; // class PpbMouseCursorRpcClient |
| 727 |
744 class PpbMouseLockRpcClient { | 728 class PpbMouseLockRpcClient { |
745 public: | 729 public: |
746 static NaClSrpcError PPB_MouseLock_LockMouse( | 730 static NaClSrpcError PPB_MouseLock_LockMouse( |
747 NaClSrpcChannel* channel, | 731 NaClSrpcChannel* channel, |
748 PP_Instance instance, | 732 PP_Instance instance, |
749 int32_t callback_id, | 733 int32_t callback_id, |
750 int32_t* pp_error); | 734 int32_t* pp_error); |
751 static NaClSrpcError PPB_MouseLock_UnlockMouse( | 735 static NaClSrpcError PPB_MouseLock_UnlockMouse( |
752 NaClSrpcChannel* channel, | 736 NaClSrpcChannel* channel, |
753 PP_Instance instance); | 737 PP_Instance instance); |
(...skipping 599 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1353 PpbZoomRpcClient(); | 1337 PpbZoomRpcClient(); |
1354 PpbZoomRpcClient(const PpbZoomRpcClient&); | 1338 PpbZoomRpcClient(const PpbZoomRpcClient&); |
1355 void operator=(const PpbZoomRpcClient); | 1339 void operator=(const PpbZoomRpcClient); |
1356 }; // class PpbZoomRpcClient | 1340 }; // class PpbZoomRpcClient |
1357 | 1341 |
1358 | 1342 |
1359 | 1343 |
1360 | 1344 |
1361 #endif // GEN_PPAPI_PROXY_PPB_RPC_H_ | 1345 #endif // GEN_PPAPI_PROXY_PPB_RPC_H_ |
1362 | 1346 |
OLD | NEW |