Pepper_56_C_interfaces
Pepper_56_C_interfaces
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
ppb_testing_dev.h
Go to the documentation of this file.
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
3  * found in the LICENSE file.
4  */
5 
6 /* From dev/ppb_testing_dev.idl modified Mon Jan 5 16:44:32 2015. */
7 
8 #ifndef PPAPI_C_DEV_PPB_TESTING_DEV_H_
9 #define PPAPI_C_DEV_PPB_TESTING_DEV_H_
10 
12 #include "ppapi/c/pp_bool.h"
13 #include "ppapi/c/pp_instance.h"
14 #include "ppapi/c/pp_macros.h"
15 #include "ppapi/c/pp_point.h"
16 #include "ppapi/c/pp_resource.h"
17 #include "ppapi/c/pp_stdint.h"
18 #include "ppapi/c/pp_var.h"
19 
20 #define PPB_TESTING_DEV_INTERFACE_0_7 "PPB_Testing(Dev);0.7"
21 #define PPB_TESTING_DEV_INTERFACE_0_8 "PPB_Testing(Dev);0.8"
22 #define PPB_TESTING_DEV_INTERFACE_0_9 "PPB_Testing(Dev);0.9"
23 #define PPB_TESTING_DEV_INTERFACE_0_91 "PPB_Testing(Dev);0.91"
24 #define PPB_TESTING_DEV_INTERFACE_0_92 "PPB_Testing(Dev);0.92"
25 #define PPB_TESTING_DEV_INTERFACE_0_93 "PPB_Testing(Dev);0.93"
26 #define PPB_TESTING_DEV_INTERFACE_0_94 "PPB_Testing(Dev);0.94"
27 #define PPB_TESTING_DEV_INTERFACE_0_95 "PPB_Testing(Dev);0.95"
28 #define PPB_TESTING_DEV_INTERFACE PPB_TESTING_DEV_INTERFACE_0_95
29 
72  PP_Bool (*ReadImageData)(PP_Resource device_context_2d,
73  PP_Resource image,
74  const struct PP_Point* top_left);
85  void (*RunMessageLoop)(PP_Instance instance);
90  void (*QuitMessageLoop)(PP_Instance instance);
96  uint32_t (*GetLiveObjectsForInstance)(PP_Instance instance);
122  void (*SimulateInputEvent)(PP_Instance instance, PP_Resource input_event);
130  struct PP_Var (*GetDocumentURL)(PP_Instance instance,
131  struct PP_URLComponents_Dev* components);
140  uint32_t (*GetLiveVars)(struct PP_Var live_vars[], uint32_t array_size);
149  uint32_t threshold);
150  struct PP_Var (*ListDirectory)(PP_Instance instance, struct PP_Var path);
151  struct PP_Var (*ReadFile)(PP_Instance instance, struct PP_Var path);
152  struct PP_Var (*ReadSymbolicLink)(PP_Instance instance, struct PP_Var path);
153  void (*LoseContext)(PP_Instance instance);
154  void (*EnableTestingServices)(PP_Resource service_list);
155 };
156 
158 
160  PP_Bool (*ReadImageData)(PP_Resource device_context_2d,
161  PP_Resource image,
162  const struct PP_Point* top_left);
163  void (*RunMessageLoop)(PP_Instance instance);
164  void (*QuitMessageLoop)(PP_Instance instance);
165  uint32_t (*GetLiveObjectsForInstance)(PP_Instance instance);
166  PP_Bool (*IsOutOfProcess)(void);
167 };
168 
170  PP_Bool (*ReadImageData)(PP_Resource device_context_2d,
171  PP_Resource image,
172  const struct PP_Point* top_left);
173  void (*RunMessageLoop)(PP_Instance instance);
174  void (*QuitMessageLoop)(PP_Instance instance);
175  uint32_t (*GetLiveObjectsForInstance)(PP_Instance instance);
176  PP_Bool (*IsOutOfProcess)(void);
177  void (*SimulateInputEvent)(PP_Instance instance, PP_Resource input_event);
178 };
179 
181  PP_Bool (*ReadImageData)(PP_Resource device_context_2d,
182  PP_Resource image,
183  const struct PP_Point* top_left);
184  void (*RunMessageLoop)(PP_Instance instance);
185  void (*QuitMessageLoop)(PP_Instance instance);
186  uint32_t (*GetLiveObjectsForInstance)(PP_Instance instance);
187  PP_Bool (*IsOutOfProcess)(void);
188  void (*SimulateInputEvent)(PP_Instance instance, PP_Resource input_event);
189  struct PP_Var (*GetDocumentURL)(PP_Instance instance,
190  struct PP_URLComponents_Dev* components);
191 };
192 
194  PP_Bool (*ReadImageData)(PP_Resource device_context_2d,
195  PP_Resource image,
196  const struct PP_Point* top_left);
197  void (*RunMessageLoop)(PP_Instance instance);
198  void (*QuitMessageLoop)(PP_Instance instance);
199  uint32_t (*GetLiveObjectsForInstance)(PP_Instance instance);
200  PP_Bool (*IsOutOfProcess)(void);
201  void (*SimulateInputEvent)(PP_Instance instance, PP_Resource input_event);
202  struct PP_Var (*GetDocumentURL)(PP_Instance instance,
203  struct PP_URLComponents_Dev* components);
204  uint32_t (*GetLiveVars)(struct PP_Var live_vars[], uint32_t array_size);
205 };
206 
208  PP_Bool (*ReadImageData)(PP_Resource device_context_2d,
209  PP_Resource image,
210  const struct PP_Point* top_left);
211  void (*RunMessageLoop)(PP_Instance instance);
212  void (*QuitMessageLoop)(PP_Instance instance);
213  uint32_t (*GetLiveObjectsForInstance)(PP_Instance instance);
214  PP_Bool (*IsOutOfProcess)(void);
215  void (*SimulateInputEvent)(PP_Instance instance, PP_Resource input_event);
216  struct PP_Var (*GetDocumentURL)(PP_Instance instance,
217  struct PP_URLComponents_Dev* components);
218  uint32_t (*GetLiveVars)(struct PP_Var live_vars[], uint32_t array_size);
219  void (*SetMinimumArrayBufferSizeForShmem)(PP_Instance instance,
220  uint32_t threshold);
221 };
222 
224  PP_Bool (*ReadImageData)(PP_Resource device_context_2d,
225  PP_Resource image,
226  const struct PP_Point* top_left);
227  void (*RunMessageLoop)(PP_Instance instance);
228  void (*QuitMessageLoop)(PP_Instance instance);
229  uint32_t (*GetLiveObjectsForInstance)(PP_Instance instance);
230  PP_Bool (*IsOutOfProcess)(void);
231  void (*SimulateInputEvent)(PP_Instance instance, PP_Resource input_event);
232  struct PP_Var (*GetDocumentURL)(PP_Instance instance,
233  struct PP_URLComponents_Dev* components);
234  uint32_t (*GetLiveVars)(struct PP_Var live_vars[], uint32_t array_size);
235  void (*SetMinimumArrayBufferSizeForShmem)(PP_Instance instance,
236  uint32_t threshold);
237  struct PP_Var (*ListDirectory)(PP_Instance instance, struct PP_Var path);
238  struct PP_Var (*ReadFile)(PP_Instance instance, struct PP_Var path);
239  struct PP_Var (*ReadSymbolicLink)(PP_Instance instance, struct PP_Var path);
240 };
241 
243  PP_Bool (*ReadImageData)(PP_Resource device_context_2d,
244  PP_Resource image,
245  const struct PP_Point* top_left);
246  void (*RunMessageLoop)(PP_Instance instance);
247  void (*QuitMessageLoop)(PP_Instance instance);
248  uint32_t (*GetLiveObjectsForInstance)(PP_Instance instance);
249  PP_Bool (*IsOutOfProcess)(void);
250  void (*SimulateInputEvent)(PP_Instance instance, PP_Resource input_event);
251  struct PP_Var (*GetDocumentURL)(PP_Instance instance,
252  struct PP_URLComponents_Dev* components);
253  uint32_t (*GetLiveVars)(struct PP_Var live_vars[], uint32_t array_size);
254  void (*SetMinimumArrayBufferSizeForShmem)(PP_Instance instance,
255  uint32_t threshold);
256  struct PP_Var (*ListDirectory)(PP_Instance instance, struct PP_Var path);
257  struct PP_Var (*ReadFile)(PP_Instance instance, struct PP_Var path);
258  struct PP_Var (*ReadSymbolicLink)(PP_Instance instance, struct PP_Var path);
259  void (*LoseContext)(PP_Instance instance);
260 };
265 #endif /* PPAPI_C_DEV_PPB_TESTING_DEV_H_ */
266 
Definition: ppb_testing_dev.h:169
Definition: ppb_testing_dev.h:207
Definition: ppb_testing_dev.h:223
void(* SimulateInputEvent)(PP_Instance instance, PP_Resource input_event)
Definition: ppb_testing_dev.h:122
Definition: ppb_url_util_dev.h:55
Definition: ppb_testing_dev.h:159
struct PP_Var(* GetDocumentURL)(PP_Instance instance, struct PP_URLComponents_Dev *components)
Definition: ppb_testing_dev.h:130
int32_t PP_Resource
Definition: pp_resource.h:40
Definition: ppb_testing_dev.h:242
PP_Bool(* ReadImageData)(PP_Resource device_context_2d, PP_Resource image, const struct PP_Point *top_left)
Definition: ppb_testing_dev.h:72
Definition: pp_point.h:28
uint32_t(* GetLiveObjectsForInstance)(PP_Instance instance)
Definition: ppb_testing_dev.h:96
void(* QuitMessageLoop)(PP_Instance instance)
Definition: ppb_testing_dev.h:90
uint32_t(* GetLiveVars)(struct PP_Var live_vars[], uint32_t array_size)
Definition: ppb_testing_dev.h:140
void(* SetMinimumArrayBufferSizeForShmem)(PP_Instance instance, uint32_t threshold)
Definition: ppb_testing_dev.h:148
Definition: pp_var.h:166
Definition: ppb_testing_dev.h:180
int32_t PP_Instance
Definition: pp_instance.h:34
void(* RunMessageLoop)(PP_Instance instance)
Definition: ppb_testing_dev.h:85
PP_Bool(* IsOutOfProcess)(void)
Definition: ppb_testing_dev.h:101
Definition: ppb_testing_dev.h:42
PP_Bool
Definition: pp_bool.h:30
Definition: ppb_testing_dev.h:193