OLD | NEW |
1 /* Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2014 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 | 5 |
6 /* NOTE: this is auto-generated from IDL */ | 6 /* NOTE: this is auto-generated from IDL */ |
7 #include "ppapi/generators/pnacl_shim.h" | 7 #include "ppapi/generators/pnacl_shim.h" |
8 | 8 |
9 #include "ppapi/c/ppb.h" | 9 #include "ppapi/c/ppb.h" |
10 #include "ppapi/c/dev/ppb_alarms_dev.h" | 10 #include "ppapi/c/dev/ppb_alarms_dev.h" |
11 #include "ppapi/c/dev/ppb_audio_input_dev.h" | 11 #include "ppapi/c/dev/ppb_audio_input_dev.h" |
12 #include "ppapi/c/dev/ppb_buffer_dev.h" | 12 #include "ppapi/c/dev/ppb_buffer_dev.h" |
13 #include "ppapi/c/dev/ppb_crypto_dev.h" | 13 #include "ppapi/c/dev/ppb_crypto_dev.h" |
14 #include "ppapi/c/dev/ppb_cursor_control_dev.h" | 14 #include "ppapi/c/dev/ppb_cursor_control_dev.h" |
15 #include "ppapi/c/dev/ppb_device_ref_dev.h" | 15 #include "ppapi/c/dev/ppb_device_ref_dev.h" |
16 #include "ppapi/c/dev/ppb_file_chooser_dev.h" | 16 #include "ppapi/c/dev/ppb_file_chooser_dev.h" |
17 #include "ppapi/c/dev/ppb_file_io_dev.h" | 17 #include "ppapi/c/dev/ppb_file_io_dev.h" |
18 #include "ppapi/c/dev/ppb_find_dev.h" | 18 #include "ppapi/c/dev/ppb_find_dev.h" |
19 #include "ppapi/c/dev/ppb_font_dev.h" | 19 #include "ppapi/c/dev/ppb_font_dev.h" |
20 #include "ppapi/c/dev/ppb_graphics_2d_dev.h" | 20 #include "ppapi/c/dev/ppb_graphics_2d_dev.h" |
21 #include "ppapi/c/dev/ppb_ime_input_event_dev.h" | 21 #include "ppapi/c/dev/ppb_ime_input_event_dev.h" |
22 #include "ppapi/c/dev/ppb_keyboard_input_event_dev.h" | 22 #include "ppapi/c/dev/ppb_keyboard_input_event_dev.h" |
23 #include "ppapi/c/dev/ppb_memory_dev.h" | 23 #include "ppapi/c/dev/ppb_memory_dev.h" |
24 #include "ppapi/c/dev/ppb_printing_dev.h" | 24 #include "ppapi/c/dev/ppb_printing_dev.h" |
25 #include "ppapi/c/dev/ppb_resource_array_dev.h" | |
26 #include "ppapi/c/dev/ppb_scrollbar_dev.h" | 25 #include "ppapi/c/dev/ppb_scrollbar_dev.h" |
27 #include "ppapi/c/dev/ppb_text_input_dev.h" | 26 #include "ppapi/c/dev/ppb_text_input_dev.h" |
28 #include "ppapi/c/dev/ppb_trace_event_dev.h" | 27 #include "ppapi/c/dev/ppb_trace_event_dev.h" |
29 #include "ppapi/c/dev/ppb_truetype_font_dev.h" | 28 #include "ppapi/c/dev/ppb_truetype_font_dev.h" |
30 #include "ppapi/c/dev/ppb_url_util_dev.h" | 29 #include "ppapi/c/dev/ppb_url_util_dev.h" |
31 #include "ppapi/c/dev/ppb_var_resource_dev.h" | 30 #include "ppapi/c/dev/ppb_var_resource_dev.h" |
32 #include "ppapi/c/dev/ppb_video_capture_dev.h" | 31 #include "ppapi/c/dev/ppb_video_capture_dev.h" |
33 #include "ppapi/c/dev/ppb_video_decoder_dev.h" | 32 #include "ppapi/c/dev/ppb_video_decoder_dev.h" |
34 #include "ppapi/c/dev/ppb_view_dev.h" | 33 #include "ppapi/c/dev/ppb_view_dev.h" |
35 #include "ppapi/c/dev/ppb_widget_dev.h" | 34 #include "ppapi/c/dev/ppb_widget_dev.h" |
(...skipping 1997 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2033 return iface->Create(instance); | 2032 return iface->Create(instance); |
2034 } | 2033 } |
2035 | 2034 |
2036 static int32_t Pnacl_M23_PPB_Printing_Dev_GetDefaultPrintSettings(PP_Resource re
source, struct PP_PrintSettings_Dev* print_settings, struct PP_CompletionCallbac
k* callback) { | 2035 static int32_t Pnacl_M23_PPB_Printing_Dev_GetDefaultPrintSettings(PP_Resource re
source, struct PP_PrintSettings_Dev* print_settings, struct PP_CompletionCallbac
k* callback) { |
2037 const struct PPB_Printing_Dev_0_7 *iface = Pnacl_WrapperInfo_PPB_Printing_Dev_
0_7.real_iface; | 2036 const struct PPB_Printing_Dev_0_7 *iface = Pnacl_WrapperInfo_PPB_Printing_Dev_
0_7.real_iface; |
2038 return iface->GetDefaultPrintSettings(resource, print_settings, *callback); | 2037 return iface->GetDefaultPrintSettings(resource, print_settings, *callback); |
2039 } | 2038 } |
2040 | 2039 |
2041 /* End wrapper methods for PPB_Printing_Dev_0_7 */ | 2040 /* End wrapper methods for PPB_Printing_Dev_0_7 */ |
2042 | 2041 |
2043 /* Not generating wrapper methods for PPB_ResourceArray_Dev_0_1 */ | |
2044 | |
2045 /* Not generating wrapper methods for PPB_Scrollbar_Dev_0_5 */ | 2042 /* Not generating wrapper methods for PPB_Scrollbar_Dev_0_5 */ |
2046 | 2043 |
2047 /* Not generating wrapper methods for PPB_TextInput_Dev_0_1 */ | 2044 /* Not generating wrapper methods for PPB_TextInput_Dev_0_1 */ |
2048 | 2045 |
2049 /* Not generating wrapper methods for PPB_TextInput_Dev_0_2 */ | 2046 /* Not generating wrapper methods for PPB_TextInput_Dev_0_2 */ |
2050 | 2047 |
2051 /* Not generating wrapper methods for PPB_Trace_Event_Dev_0_1 */ | 2048 /* Not generating wrapper methods for PPB_Trace_Event_Dev_0_1 */ |
2052 | 2049 |
2053 /* Not generating wrapper methods for PPB_Trace_Event_Dev_0_2 */ | 2050 /* Not generating wrapper methods for PPB_Trace_Event_Dev_0_2 */ |
2054 | 2051 |
(...skipping 2484 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4539 .GetCode = (struct PP_Var (*)(PP_Resource key_event))&Pnacl_M31_PPB_Keyboard
InputEvent_Dev_GetCode | 4536 .GetCode = (struct PP_Var (*)(PP_Resource key_event))&Pnacl_M31_PPB_Keyboard
InputEvent_Dev_GetCode |
4540 }; | 4537 }; |
4541 | 4538 |
4542 /* Not generating wrapper interface for PPB_Memory_Dev_0_1 */ | 4539 /* Not generating wrapper interface for PPB_Memory_Dev_0_1 */ |
4543 | 4540 |
4544 struct PPB_Printing_Dev_0_7 Pnacl_Wrappers_PPB_Printing_Dev_0_7 = { | 4541 struct PPB_Printing_Dev_0_7 Pnacl_Wrappers_PPB_Printing_Dev_0_7 = { |
4545 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M23_PPB_Printing_Dev
_Create, | 4542 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M23_PPB_Printing_Dev
_Create, |
4546 .GetDefaultPrintSettings = (int32_t (*)(PP_Resource resource, struct PP_Prin
tSettings_Dev* print_settings, struct PP_CompletionCallback callback))&Pnacl_M23
_PPB_Printing_Dev_GetDefaultPrintSettings | 4543 .GetDefaultPrintSettings = (int32_t (*)(PP_Resource resource, struct PP_Prin
tSettings_Dev* print_settings, struct PP_CompletionCallback callback))&Pnacl_M23
_PPB_Printing_Dev_GetDefaultPrintSettings |
4547 }; | 4544 }; |
4548 | 4545 |
4549 /* Not generating wrapper interface for PPB_ResourceArray_Dev_0_1 */ | |
4550 | |
4551 /* Not generating wrapper interface for PPB_Scrollbar_Dev_0_5 */ | 4546 /* Not generating wrapper interface for PPB_Scrollbar_Dev_0_5 */ |
4552 | 4547 |
4553 /* Not generating wrapper interface for PPB_TextInput_Dev_0_1 */ | 4548 /* Not generating wrapper interface for PPB_TextInput_Dev_0_1 */ |
4554 | 4549 |
4555 /* Not generating wrapper interface for PPB_TextInput_Dev_0_2 */ | 4550 /* Not generating wrapper interface for PPB_TextInput_Dev_0_2 */ |
4556 | 4551 |
4557 /* Not generating wrapper interface for PPB_Trace_Event_Dev_0_1 */ | 4552 /* Not generating wrapper interface for PPB_Trace_Event_Dev_0_1 */ |
4558 | 4553 |
4559 /* Not generating wrapper interface for PPB_Trace_Event_Dev_0_2 */ | 4554 /* Not generating wrapper interface for PPB_Trace_Event_Dev_0_2 */ |
4560 | 4555 |
(...skipping 1304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5865 if (NULL == iface) return NULL; | 5860 if (NULL == iface) return NULL; |
5866 wrapper->real_iface = iface; | 5861 wrapper->real_iface = iface; |
5867 } | 5862 } |
5868 | 5863 |
5869 if (wrapper->wrapped_iface) { | 5864 if (wrapper->wrapped_iface) { |
5870 return wrapper->wrapped_iface; | 5865 return wrapper->wrapped_iface; |
5871 } else { | 5866 } else { |
5872 return wrapper->real_iface; | 5867 return wrapper->real_iface; |
5873 } | 5868 } |
5874 } | 5869 } |
OLD | NEW |