| 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 833 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 844 NaClSrpcChannel* channel, | 844 NaClSrpcChannel* channel, |
| 845 PP_Resource resource, | 845 PP_Resource resource, |
| 846 int32_t* out_bool); | 846 int32_t* out_bool); |
| 847 | 847 |
| 848 private: | 848 private: |
| 849 PpbNetworkMonitorPrivateClient(); | 849 PpbNetworkMonitorPrivateClient(); |
| 850 PpbNetworkMonitorPrivateClient(const PpbNetworkMonitorPrivateClient&); | 850 PpbNetworkMonitorPrivateClient(const PpbNetworkMonitorPrivateClient&); |
| 851 void operator=(const PpbNetworkMonitorPrivateClient); | 851 void operator=(const PpbNetworkMonitorPrivateClient); |
| 852 }; // class PpbNetworkMonitorPrivateClient | 852 }; // class PpbNetworkMonitorPrivateClient |
| 853 | 853 |
| 854 class PpbPdfRpcClient { | |
| 855 public: | |
| 856 static NaClSrpcError PPB_PDF_GetLocalizedString( | |
| 857 NaClSrpcChannel* channel, | |
| 858 PP_Instance instance, | |
| 859 int32_t string_id, | |
| 860 nacl_abi_size_t* string_bytes, char* string); | |
| 861 static NaClSrpcError PPB_PDF_GetResourceImage( | |
| 862 NaClSrpcChannel* channel, | |
| 863 PP_Instance instance, | |
| 864 int32_t image_id, | |
| 865 PP_Resource* image); | |
| 866 static NaClSrpcError PPB_PDF_GetFontFileWithFallback( | |
| 867 NaClSrpcChannel* channel, | |
| 868 PP_Instance instance, | |
| 869 nacl_abi_size_t description_bytes, char* description, | |
| 870 nacl_abi_size_t face_bytes, char* face, | |
| 871 int32_t charset, | |
| 872 PP_Resource* font); | |
| 873 static NaClSrpcError PPB_PDF_GetFontTableForPrivateFontFile( | |
| 874 NaClSrpcChannel* channel, | |
| 875 PP_Resource font_file, | |
| 876 int32_t table, | |
| 877 nacl_abi_size_t* output_bytes, char* output, | |
| 878 int32_t* success); | |
| 879 static NaClSrpcError PPB_PDF_SearchString( | |
| 880 NaClSrpcChannel* channel, | |
| 881 PP_Instance instance, | |
| 882 nacl_abi_size_t string_bytes, char* string, | |
| 883 nacl_abi_size_t term_bytes, char* term, | |
| 884 int32_t case_sensitive, | |
| 885 nacl_abi_size_t* results_bytes, char* results, | |
| 886 int32_t* count); | |
| 887 static NaClSrpcError PPB_PDF_DidStartLoading( | |
| 888 NaClSrpcChannel* channel, | |
| 889 PP_Instance instance); | |
| 890 static NaClSrpcError PPB_PDF_DidStopLoading( | |
| 891 NaClSrpcChannel* channel, | |
| 892 PP_Instance instance); | |
| 893 static NaClSrpcError PPB_PDF_SetContentRestriction( | |
| 894 NaClSrpcChannel* channel, | |
| 895 PP_Instance instance, | |
| 896 int32_t restrictions); | |
| 897 static NaClSrpcError PPB_PDF_HistogramPDFPageCount( | |
| 898 NaClSrpcChannel* channel, | |
| 899 int32_t count); | |
| 900 static NaClSrpcError PPB_PDF_UserMetricsRecordAction( | |
| 901 NaClSrpcChannel* channel, | |
| 902 nacl_abi_size_t action_bytes, char* action); | |
| 903 static NaClSrpcError PPB_PDF_HasUnsupportedFeature( | |
| 904 NaClSrpcChannel* channel, | |
| 905 PP_Instance instance); | |
| 906 static NaClSrpcError PPB_PDF_SaveAs( | |
| 907 NaClSrpcChannel* channel, | |
| 908 PP_Instance instance); | |
| 909 | |
| 910 private: | |
| 911 PpbPdfRpcClient(); | |
| 912 PpbPdfRpcClient(const PpbPdfRpcClient&); | |
| 913 void operator=(const PpbPdfRpcClient); | |
| 914 }; // class PpbPdfRpcClient | |
| 915 | |
| 916 class PpbScrollbarRpcClient { | |
| 917 public: | |
| 918 static NaClSrpcError PPB_Scrollbar_Create( | |
| 919 NaClSrpcChannel* channel, | |
| 920 PP_Instance instance, | |
| 921 int32_t vertical, | |
| 922 PP_Resource* scrollbar); | |
| 923 static NaClSrpcError PPB_Scrollbar_IsScrollbar( | |
| 924 NaClSrpcChannel* channel, | |
| 925 PP_Resource resource, | |
| 926 int32_t* is_scrollbar); | |
| 927 static NaClSrpcError PPB_Scrollbar_IsOverlay( | |
| 928 NaClSrpcChannel* channel, | |
| 929 PP_Resource resource, | |
| 930 int32_t* is_overlay); | |
| 931 static NaClSrpcError PPB_Scrollbar_GetThickness( | |
| 932 NaClSrpcChannel* channel, | |
| 933 PP_Resource resource, | |
| 934 int32_t* thickness); | |
| 935 static NaClSrpcError PPB_Scrollbar_GetValue( | |
| 936 NaClSrpcChannel* channel, | |
| 937 PP_Resource scrollbar, | |
| 938 int32_t* value); | |
| 939 static NaClSrpcError PPB_Scrollbar_SetValue( | |
| 940 NaClSrpcChannel* channel, | |
| 941 PP_Resource scrollbar, | |
| 942 int32_t value); | |
| 943 static NaClSrpcError PPB_Scrollbar_SetDocumentSize( | |
| 944 NaClSrpcChannel* channel, | |
| 945 PP_Resource scrollbar, | |
| 946 int32_t size); | |
| 947 static NaClSrpcError PPB_Scrollbar_SetTickMarks( | |
| 948 NaClSrpcChannel* channel, | |
| 949 PP_Resource scrollbar, | |
| 950 nacl_abi_size_t tick_marks_bytes, char* tick_marks, | |
| 951 int32_t count); | |
| 952 static NaClSrpcError PPB_Scrollbar_ScrollBy( | |
| 953 NaClSrpcChannel* channel, | |
| 954 PP_Resource scrollbar, | |
| 955 int32_t unit, | |
| 956 int32_t multiplier); | |
| 957 | |
| 958 private: | |
| 959 PpbScrollbarRpcClient(); | |
| 960 PpbScrollbarRpcClient(const PpbScrollbarRpcClient&); | |
| 961 void operator=(const PpbScrollbarRpcClient); | |
| 962 }; // class PpbScrollbarRpcClient | |
| 963 | |
| 964 class PpbTCPServerSocketPrivateRpcClient { | 854 class PpbTCPServerSocketPrivateRpcClient { |
| 965 public: | 855 public: |
| 966 static NaClSrpcError PPB_TCPServerSocket_Private_Create( | 856 static NaClSrpcError PPB_TCPServerSocket_Private_Create( |
| 967 NaClSrpcChannel* channel, | 857 NaClSrpcChannel* channel, |
| 968 PP_Instance instance, | 858 PP_Instance instance, |
| 969 PP_Resource* resource); | 859 PP_Resource* resource); |
| 970 static NaClSrpcError PPB_TCPServerSocket_Private_IsTCPServerSocket( | 860 static NaClSrpcError PPB_TCPServerSocket_Private_IsTCPServerSocket( |
| 971 NaClSrpcChannel* channel, | 861 NaClSrpcChannel* channel, |
| 972 PP_Resource resource, | 862 PP_Resource resource, |
| 973 int32_t* is_tcp_server_socket); | 863 int32_t* is_tcp_server_socket); |
| (...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1328 NaClSrpcChannel* channel, | 1218 NaClSrpcChannel* channel, |
| 1329 PP_Resource ws, | 1219 PP_Resource ws, |
| 1330 nacl_abi_size_t* url_bytes, char* url); | 1220 nacl_abi_size_t* url_bytes, char* url); |
| 1331 | 1221 |
| 1332 private: | 1222 private: |
| 1333 PpbWebSocketRpcClient(); | 1223 PpbWebSocketRpcClient(); |
| 1334 PpbWebSocketRpcClient(const PpbWebSocketRpcClient&); | 1224 PpbWebSocketRpcClient(const PpbWebSocketRpcClient&); |
| 1335 void operator=(const PpbWebSocketRpcClient); | 1225 void operator=(const PpbWebSocketRpcClient); |
| 1336 }; // class PpbWebSocketRpcClient | 1226 }; // class PpbWebSocketRpcClient |
| 1337 | 1227 |
| 1338 class PpbWidgetRpcClient { | |
| 1339 public: | |
| 1340 static NaClSrpcError PPB_Widget_IsWidget( | |
| 1341 NaClSrpcChannel* channel, | |
| 1342 PP_Resource resource, | |
| 1343 int32_t* is_widget); | |
| 1344 static NaClSrpcError PPB_Widget_Paint( | |
| 1345 NaClSrpcChannel* channel, | |
| 1346 PP_Resource widget, | |
| 1347 nacl_abi_size_t rect_bytes, char* rect, | |
| 1348 PP_Resource image, | |
| 1349 int32_t* success); | |
| 1350 static NaClSrpcError PPB_Widget_HandleEvent( | |
| 1351 NaClSrpcChannel* channel, | |
| 1352 PP_Resource widget, | |
| 1353 PP_Resource event, | |
| 1354 int32_t* handled); | |
| 1355 static NaClSrpcError PPB_Widget_GetLocation( | |
| 1356 NaClSrpcChannel* channel, | |
| 1357 PP_Resource widget, | |
| 1358 nacl_abi_size_t* location_bytes, char* location, | |
| 1359 int32_t* visible); | |
| 1360 static NaClSrpcError PPB_Widget_SetLocation( | |
| 1361 NaClSrpcChannel* channel, | |
| 1362 PP_Resource widget, | |
| 1363 nacl_abi_size_t location_bytes, char* location); | |
| 1364 | |
| 1365 private: | |
| 1366 PpbWidgetRpcClient(); | |
| 1367 PpbWidgetRpcClient(const PpbWidgetRpcClient&); | |
| 1368 void operator=(const PpbWidgetRpcClient); | |
| 1369 }; // class PpbWidgetRpcClient | |
| 1370 | |
| 1371 class PpbZoomRpcClient { | 1228 class PpbZoomRpcClient { |
| 1372 public: | 1229 public: |
| 1373 static NaClSrpcError PPB_Zoom_ZoomChanged( | 1230 static NaClSrpcError PPB_Zoom_ZoomChanged( |
| 1374 NaClSrpcChannel* channel, | 1231 NaClSrpcChannel* channel, |
| 1375 PP_Instance instance, | 1232 PP_Instance instance, |
| 1376 double factor); | 1233 double factor); |
| 1377 static NaClSrpcError PPB_Zoom_ZoomLimitsChanged( | 1234 static NaClSrpcError PPB_Zoom_ZoomLimitsChanged( |
| 1378 NaClSrpcChannel* channel, | 1235 NaClSrpcChannel* channel, |
| 1379 PP_Instance instance, | 1236 PP_Instance instance, |
| 1380 double minimum_factor, | 1237 double minimum_factor, |
| 1381 double maximum_factor); | 1238 double maximum_factor); |
| 1382 | 1239 |
| 1383 private: | 1240 private: |
| 1384 PpbZoomRpcClient(); | 1241 PpbZoomRpcClient(); |
| 1385 PpbZoomRpcClient(const PpbZoomRpcClient&); | 1242 PpbZoomRpcClient(const PpbZoomRpcClient&); |
| 1386 void operator=(const PpbZoomRpcClient); | 1243 void operator=(const PpbZoomRpcClient); |
| 1387 }; // class PpbZoomRpcClient | 1244 }; // class PpbZoomRpcClient |
| 1388 | 1245 |
| 1389 | 1246 |
| 1390 | 1247 |
| 1391 | 1248 |
| 1392 #endif // GEN_PPAPI_PROXY_PPB_RPC_H_ | 1249 #endif // GEN_PPAPI_PROXY_PPB_RPC_H_ |
| 1393 | 1250 |
| OLD | NEW |