Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(127)

Side by Side Diff: ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c

Issue 11039012: Implement plugin side of sync EnumerateVideoCaptureDevices (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ppapi/c/private/ppb_flash.h ('k') | ppapi/ppapi_proxy.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 5
6 /* Last generated from IDL: Wed Oct 10 15:35:07 2012. */ 6 /* Last generated from IDL: Wed Oct 10 15:35:07 2012. */
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_audio_input_dev.h" 10 #include "ppapi/c/dev/ppb_audio_input_dev.h"
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Widget_Dev_0_2; 204 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Widget_Dev_0_2;
205 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Zoom_Dev_0_3; 205 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Zoom_Dev_0_3;
206 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_ 0_2; 206 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_ 0_2;
207 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1; 207 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1;
208 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_0; 208 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_0;
209 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_1; 209 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_1;
210 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_2; 210 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_2;
211 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_3; 211 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_3;
212 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_4; 212 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_4;
213 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_5; 213 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_5;
214 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_6;
214 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Clipboard_3_0; 215 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Clipboard_3_0;
215 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Clipboard_4_0; 216 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Clipboard_4_0;
216 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_DeviceID_1_0; 217 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_DeviceID_1_0;
217 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_FontFile_0_1; 218 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_FontFile_0_1;
218 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FlashFullscreen_0_1; 219 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FlashFullscreen_0_1;
219 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FlashFullscreen_1_0; 220 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FlashFullscreen_1_0;
220 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_MessageLoop_0_1; 221 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_MessageLoop_0_1;
221 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Print_1_0; 222 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Print_1_0;
222 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_TCPSocket_0_2; 223 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_TCPSocket_0_2;
223 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_GpuBlacklist_Private_0_2; 224 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_GpuBlacklist_Private_0_2;
(...skipping 2277 matching lines...) Expand 10 before | Expand all | Expand 10 after
2501 } 2502 }
2502 2503
2503 static __attribute__((pnaclcall)) 2504 static __attribute__((pnaclcall))
2504 PP_Bool Pnacl_M22_PPB_Flash_SetCrashData(PP_Instance instance, PP_FlashCrashKey key, struct PP_Var value) { 2505 PP_Bool Pnacl_M22_PPB_Flash_SetCrashData(PP_Instance instance, PP_FlashCrashKey key, struct PP_Var value) {
2505 const struct PPB_Flash_12_5 *iface = Pnacl_WrapperInfo_PPB_Flash_12_5.real_ifa ce; 2506 const struct PPB_Flash_12_5 *iface = Pnacl_WrapperInfo_PPB_Flash_12_5.real_ifa ce;
2506 return iface->SetCrashData(instance, key, value); 2507 return iface->SetCrashData(instance, key, value);
2507 } 2508 }
2508 2509
2509 /* End wrapper methods for PPB_Flash_12_5 */ 2510 /* End wrapper methods for PPB_Flash_12_5 */
2510 2511
2512 /* Begin wrapper methods for PPB_Flash_12_6 */
2513
2514 static __attribute__((pnaclcall))
2515 void Pnacl_M24_PPB_Flash_SetInstanceAlwaysOnTop(PP_Instance instance, PP_Bool on _top) {
2516 const struct PPB_Flash_12_6 *iface = Pnacl_WrapperInfo_PPB_Flash_12_6.real_ifa ce;
2517 iface->SetInstanceAlwaysOnTop(instance, on_top);
2518 }
2519
2520 static __attribute__((pnaclcall))
2521 PP_Bool Pnacl_M24_PPB_Flash_DrawGlyphs(PP_Instance instance, PP_Resource pp_imag e_data, const struct PP_FontDescription_Dev* font_desc, uint32_t color, const st ruct PP_Point* position, const struct PP_Rect* clip, const float transformation[ 3][3], PP_Bool allow_subpixel_aa, uint32_t glyph_count, const uint16_t glyph_ind ices[], const struct PP_Point glyph_advances[]) {
2522 const struct PPB_Flash_12_6 *iface = Pnacl_WrapperInfo_PPB_Flash_12_6.real_ifa ce;
2523 return iface->DrawGlyphs(instance, pp_image_data, font_desc, color, position, clip, transformation, allow_subpixel_aa, glyph_count, glyph_indices, glyph_advan ces);
2524 }
2525
2526 static __attribute__((pnaclcall))
2527 struct PP_Var Pnacl_M24_PPB_Flash_GetProxyForURL(PP_Instance instance, const cha r* url) {
2528 const struct PPB_Flash_12_6 *iface = Pnacl_WrapperInfo_PPB_Flash_12_6.real_ifa ce;
2529 return iface->GetProxyForURL(instance, url);
2530 }
2531
2532 static __attribute__((pnaclcall))
2533 int32_t Pnacl_M24_PPB_Flash_Navigate(PP_Resource request_info, const char* targe t, PP_Bool from_user_action) {
2534 const struct PPB_Flash_12_6 *iface = Pnacl_WrapperInfo_PPB_Flash_12_6.real_ifa ce;
2535 return iface->Navigate(request_info, target, from_user_action);
2536 }
2537
2538 static __attribute__((pnaclcall))
2539 void Pnacl_M24_PPB_Flash_RunMessageLoop(PP_Instance instance) {
2540 const struct PPB_Flash_12_6 *iface = Pnacl_WrapperInfo_PPB_Flash_12_6.real_ifa ce;
2541 iface->RunMessageLoop(instance);
2542 }
2543
2544 static __attribute__((pnaclcall))
2545 void Pnacl_M24_PPB_Flash_QuitMessageLoop(PP_Instance instance) {
2546 const struct PPB_Flash_12_6 *iface = Pnacl_WrapperInfo_PPB_Flash_12_6.real_ifa ce;
2547 iface->QuitMessageLoop(instance);
2548 }
2549
2550 static __attribute__((pnaclcall))
2551 double Pnacl_M24_PPB_Flash_GetLocalTimeZoneOffset(PP_Instance instance, PP_Time t) {
2552 const struct PPB_Flash_12_6 *iface = Pnacl_WrapperInfo_PPB_Flash_12_6.real_ifa ce;
2553 return iface->GetLocalTimeZoneOffset(instance, t);
2554 }
2555
2556 static __attribute__((pnaclcall))
2557 struct PP_Var Pnacl_M24_PPB_Flash_GetCommandLineArgs(PP_Module module) {
2558 const struct PPB_Flash_12_6 *iface = Pnacl_WrapperInfo_PPB_Flash_12_6.real_ifa ce;
2559 return iface->GetCommandLineArgs(module);
2560 }
2561
2562 static __attribute__((pnaclcall))
2563 void Pnacl_M24_PPB_Flash_PreloadFontWin(const void* logfontw) {
2564 const struct PPB_Flash_12_6 *iface = Pnacl_WrapperInfo_PPB_Flash_12_6.real_ifa ce;
2565 iface->PreloadFontWin(logfontw);
2566 }
2567
2568 static __attribute__((pnaclcall))
2569 PP_Bool Pnacl_M24_PPB_Flash_IsRectTopmost(PP_Instance instance, const struct PP_ Rect* rect) {
2570 const struct PPB_Flash_12_6 *iface = Pnacl_WrapperInfo_PPB_Flash_12_6.real_ifa ce;
2571 return iface->IsRectTopmost(instance, rect);
2572 }
2573
2574 static __attribute__((pnaclcall))
2575 int32_t Pnacl_M24_PPB_Flash_InvokePrinting(PP_Instance instance) {
2576 const struct PPB_Flash_12_6 *iface = Pnacl_WrapperInfo_PPB_Flash_12_6.real_ifa ce;
2577 return iface->InvokePrinting(instance);
2578 }
2579
2580 static __attribute__((pnaclcall))
2581 void Pnacl_M24_PPB_Flash_UpdateActivity(PP_Instance instance) {
2582 const struct PPB_Flash_12_6 *iface = Pnacl_WrapperInfo_PPB_Flash_12_6.real_ifa ce;
2583 iface->UpdateActivity(instance);
2584 }
2585
2586 static __attribute__((pnaclcall))
2587 struct PP_Var Pnacl_M24_PPB_Flash_GetDeviceID(PP_Instance instance) {
2588 const struct PPB_Flash_12_6 *iface = Pnacl_WrapperInfo_PPB_Flash_12_6.real_ifa ce;
2589 return iface->GetDeviceID(instance);
2590 }
2591
2592 static __attribute__((pnaclcall))
2593 int32_t Pnacl_M24_PPB_Flash_GetSettingInt(PP_Instance instance, PP_FlashSetting setting) {
2594 const struct PPB_Flash_12_6 *iface = Pnacl_WrapperInfo_PPB_Flash_12_6.real_ifa ce;
2595 return iface->GetSettingInt(instance, setting);
2596 }
2597
2598 static __attribute__((pnaclcall))
2599 struct PP_Var Pnacl_M24_PPB_Flash_GetSetting(PP_Instance instance, PP_FlashSetti ng setting) {
2600 const struct PPB_Flash_12_6 *iface = Pnacl_WrapperInfo_PPB_Flash_12_6.real_ifa ce;
2601 return iface->GetSetting(instance, setting);
2602 }
2603
2604 static __attribute__((pnaclcall))
2605 PP_Bool Pnacl_M24_PPB_Flash_SetCrashData(PP_Instance instance, PP_FlashCrashKey key, struct PP_Var value) {
2606 const struct PPB_Flash_12_6 *iface = Pnacl_WrapperInfo_PPB_Flash_12_6.real_ifa ce;
2607 return iface->SetCrashData(instance, key, value);
2608 }
2609
2610 static __attribute__((pnaclcall))
2611 int32_t Pnacl_M24_PPB_Flash_EnumerateVideoCaptureDevices(PP_Instance instance, P P_Resource video_capture, struct PP_ArrayOutput devices) {
2612 const struct PPB_Flash_12_6 *iface = Pnacl_WrapperInfo_PPB_Flash_12_6.real_ifa ce;
2613 return iface->EnumerateVideoCaptureDevices(instance, video_capture, devices);
2614 }
2615
2616 /* End wrapper methods for PPB_Flash_12_6 */
2617
2511 /* Begin wrapper methods for PPB_Flash_Clipboard_3_0 */ 2618 /* Begin wrapper methods for PPB_Flash_Clipboard_3_0 */
2512 2619
2513 static __attribute__((pnaclcall)) 2620 static __attribute__((pnaclcall))
2514 PP_Bool Pnacl_M17_PPB_Flash_Clipboard_IsFormatAvailable(PP_Instance instance_id, PP_Flash_Clipboard_Type clipboard_type, PP_Flash_Clipboard_Format format) { 2621 PP_Bool Pnacl_M17_PPB_Flash_Clipboard_IsFormatAvailable(PP_Instance instance_id, PP_Flash_Clipboard_Type clipboard_type, PP_Flash_Clipboard_Format format) {
2515 const struct PPB_Flash_Clipboard_3_0 *iface = Pnacl_WrapperInfo_PPB_Flash_Clip board_3_0.real_iface; 2622 const struct PPB_Flash_Clipboard_3_0 *iface = Pnacl_WrapperInfo_PPB_Flash_Clip board_3_0.real_iface;
2516 return iface->IsFormatAvailable(instance_id, clipboard_type, format); 2623 return iface->IsFormatAvailable(instance_id, clipboard_type, format);
2517 } 2624 }
2518 2625
2519 static __attribute__((pnaclcall)) 2626 static __attribute__((pnaclcall))
2520 struct PP_Var Pnacl_M17_PPB_Flash_Clipboard_ReadPlainText(PP_Instance instance_i d, PP_Flash_Clipboard_Type clipboard_type) { 2627 struct PP_Var Pnacl_M17_PPB_Flash_Clipboard_ReadPlainText(PP_Instance instance_i d, PP_Flash_Clipboard_Type clipboard_type) {
(...skipping 1410 matching lines...) Expand 10 before | Expand all | Expand 10 after
3931 .PreloadFontWin = (void (*)(const void* logfontw))&Pnacl_M22_PPB_Flash_Prelo adFontWin, 4038 .PreloadFontWin = (void (*)(const void* logfontw))&Pnacl_M22_PPB_Flash_Prelo adFontWin,
3932 .IsRectTopmost = (PP_Bool (*)(PP_Instance instance, const struct PP_Rect* re ct))&Pnacl_M22_PPB_Flash_IsRectTopmost, 4039 .IsRectTopmost = (PP_Bool (*)(PP_Instance instance, const struct PP_Rect* re ct))&Pnacl_M22_PPB_Flash_IsRectTopmost,
3933 .InvokePrinting = (int32_t (*)(PP_Instance instance))&Pnacl_M22_PPB_Flash_In vokePrinting, 4040 .InvokePrinting = (int32_t (*)(PP_Instance instance))&Pnacl_M22_PPB_Flash_In vokePrinting,
3934 .UpdateActivity = (void (*)(PP_Instance instance))&Pnacl_M22_PPB_Flash_Updat eActivity, 4041 .UpdateActivity = (void (*)(PP_Instance instance))&Pnacl_M22_PPB_Flash_Updat eActivity,
3935 .GetDeviceID = (struct PP_Var (*)(PP_Instance instance))&Pnacl_M22_PPB_Flash _GetDeviceID, 4042 .GetDeviceID = (struct PP_Var (*)(PP_Instance instance))&Pnacl_M22_PPB_Flash _GetDeviceID,
3936 .GetSettingInt = (int32_t (*)(PP_Instance instance, PP_FlashSetting setting) )&Pnacl_M22_PPB_Flash_GetSettingInt, 4043 .GetSettingInt = (int32_t (*)(PP_Instance instance, PP_FlashSetting setting) )&Pnacl_M22_PPB_Flash_GetSettingInt,
3937 .GetSetting = (struct PP_Var (*)(PP_Instance instance, PP_FlashSetting setti ng))&Pnacl_M22_PPB_Flash_GetSetting, 4044 .GetSetting = (struct PP_Var (*)(PP_Instance instance, PP_FlashSetting setti ng))&Pnacl_M22_PPB_Flash_GetSetting,
3938 .SetCrashData = (PP_Bool (*)(PP_Instance instance, PP_FlashCrashKey key, str uct PP_Var value))&Pnacl_M22_PPB_Flash_SetCrashData 4045 .SetCrashData = (PP_Bool (*)(PP_Instance instance, PP_FlashCrashKey key, str uct PP_Var value))&Pnacl_M22_PPB_Flash_SetCrashData
3939 }; 4046 };
3940 4047
4048 struct PPB_Flash_12_6 Pnacl_Wrappers_PPB_Flash_12_6 = {
4049 .SetInstanceAlwaysOnTop = (void (*)(PP_Instance instance, PP_Bool on_top))&P nacl_M24_PPB_Flash_SetInstanceAlwaysOnTop,
4050 .DrawGlyphs = (PP_Bool (*)(PP_Instance instance, PP_Resource pp_image_data, const struct PP_FontDescription_Dev* font_desc, uint32_t color, const struct PP_ Point* position, const struct PP_Rect* clip, const float transformation[3][3], P P_Bool allow_subpixel_aa, uint32_t glyph_count, const uint16_t glyph_indices[], const struct PP_Point glyph_advances[]))&Pnacl_M24_PPB_Flash_DrawGlyphs,
4051 .GetProxyForURL = (struct PP_Var (*)(PP_Instance instance, const char* url)) &Pnacl_M24_PPB_Flash_GetProxyForURL,
4052 .Navigate = (int32_t (*)(PP_Resource request_info, const char* target, PP_Bo ol from_user_action))&Pnacl_M24_PPB_Flash_Navigate,
4053 .RunMessageLoop = (void (*)(PP_Instance instance))&Pnacl_M24_PPB_Flash_RunMe ssageLoop,
4054 .QuitMessageLoop = (void (*)(PP_Instance instance))&Pnacl_M24_PPB_Flash_Quit MessageLoop,
4055 .GetLocalTimeZoneOffset = (double (*)(PP_Instance instance, PP_Time t))&Pnac l_M24_PPB_Flash_GetLocalTimeZoneOffset,
4056 .GetCommandLineArgs = (struct PP_Var (*)(PP_Module module))&Pnacl_M24_PPB_Fl ash_GetCommandLineArgs,
4057 .PreloadFontWin = (void (*)(const void* logfontw))&Pnacl_M24_PPB_Flash_Prelo adFontWin,
4058 .IsRectTopmost = (PP_Bool (*)(PP_Instance instance, const struct PP_Rect* re ct))&Pnacl_M24_PPB_Flash_IsRectTopmost,
4059 .InvokePrinting = (int32_t (*)(PP_Instance instance))&Pnacl_M24_PPB_Flash_In vokePrinting,
4060 .UpdateActivity = (void (*)(PP_Instance instance))&Pnacl_M24_PPB_Flash_Updat eActivity,
4061 .GetDeviceID = (struct PP_Var (*)(PP_Instance instance))&Pnacl_M24_PPB_Flash _GetDeviceID,
4062 .GetSettingInt = (int32_t (*)(PP_Instance instance, PP_FlashSetting setting) )&Pnacl_M24_PPB_Flash_GetSettingInt,
4063 .GetSetting = (struct PP_Var (*)(PP_Instance instance, PP_FlashSetting setti ng))&Pnacl_M24_PPB_Flash_GetSetting,
4064 .SetCrashData = (PP_Bool (*)(PP_Instance instance, PP_FlashCrashKey key, str uct PP_Var value))&Pnacl_M24_PPB_Flash_SetCrashData,
4065 .EnumerateVideoCaptureDevices = (int32_t (*)(PP_Instance instance, PP_Resour ce video_capture, struct PP_ArrayOutput devices))&Pnacl_M24_PPB_Flash_EnumerateV ideoCaptureDevices
4066 };
4067
3941 struct PPB_Flash_Clipboard_3_0 Pnacl_Wrappers_PPB_Flash_Clipboard_3_0 = { 4068 struct PPB_Flash_Clipboard_3_0 Pnacl_Wrappers_PPB_Flash_Clipboard_3_0 = {
3942 .IsFormatAvailable = (PP_Bool (*)(PP_Instance instance_id, PP_Flash_Clipboar d_Type clipboard_type, PP_Flash_Clipboard_Format format))&Pnacl_M17_PPB_Flash_Cl ipboard_IsFormatAvailable, 4069 .IsFormatAvailable = (PP_Bool (*)(PP_Instance instance_id, PP_Flash_Clipboar d_Type clipboard_type, PP_Flash_Clipboard_Format format))&Pnacl_M17_PPB_Flash_Cl ipboard_IsFormatAvailable,
3943 .ReadPlainText = (struct PP_Var (*)(PP_Instance instance_id, PP_Flash_Clipbo ard_Type clipboard_type))&Pnacl_M17_PPB_Flash_Clipboard_ReadPlainText, 4070 .ReadPlainText = (struct PP_Var (*)(PP_Instance instance_id, PP_Flash_Clipbo ard_Type clipboard_type))&Pnacl_M17_PPB_Flash_Clipboard_ReadPlainText,
3944 .WritePlainText = (int32_t (*)(PP_Instance instance_id, PP_Flash_Clipboard_T ype clipboard_type, struct PP_Var text))&Pnacl_M17_PPB_Flash_Clipboard_WritePlai nText 4071 .WritePlainText = (int32_t (*)(PP_Instance instance_id, PP_Flash_Clipboard_T ype clipboard_type, struct PP_Var text))&Pnacl_M17_PPB_Flash_Clipboard_WritePlai nText
3945 }; 4072 };
3946 4073
3947 struct PPB_Flash_Clipboard_4_0 Pnacl_Wrappers_PPB_Flash_Clipboard_4_0 = { 4074 struct PPB_Flash_Clipboard_4_0 Pnacl_Wrappers_PPB_Flash_Clipboard_4_0 = {
3948 .IsFormatAvailable = (PP_Bool (*)(PP_Instance instance_id, PP_Flash_Clipboar d_Type clipboard_type, PP_Flash_Clipboard_Format format))&Pnacl_M19_PPB_Flash_Cl ipboard_IsFormatAvailable, 4075 .IsFormatAvailable = (PP_Bool (*)(PP_Instance instance_id, PP_Flash_Clipboar d_Type clipboard_type, PP_Flash_Clipboard_Format format))&Pnacl_M19_PPB_Flash_Cl ipboard_IsFormatAvailable,
3949 .ReadData = (struct PP_Var (*)(PP_Instance instance_id, PP_Flash_Clipboard_T ype clipboard_type, PP_Flash_Clipboard_Format format))&Pnacl_M19_PPB_Flash_Clipb oard_ReadData, 4076 .ReadData = (struct PP_Var (*)(PP_Instance instance_id, PP_Flash_Clipboard_T ype clipboard_type, PP_Flash_Clipboard_Format format))&Pnacl_M19_PPB_Flash_Clipb oard_ReadData,
3950 .WriteData = (int32_t (*)(PP_Instance instance_id, PP_Flash_Clipboard_Type c lipboard_type, uint32_t data_item_count, const PP_Flash_Clipboard_Format formats [], const struct PP_Var data_items[]))&Pnacl_M19_PPB_Flash_Clipboard_WriteData 4077 .WriteData = (int32_t (*)(PP_Instance instance_id, PP_Flash_Clipboard_Type c lipboard_type, uint32_t data_item_count, const PP_Flash_Clipboard_Format formats [], const struct PP_Var data_items[]))&Pnacl_M19_PPB_Flash_Clipboard_WriteData
(...skipping 776 matching lines...) Expand 10 before | Expand all | Expand 10 after
4727 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Flash_12_4, 4854 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Flash_12_4,
4728 .real_iface = NULL 4855 .real_iface = NULL
4729 }; 4856 };
4730 4857
4731 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_5 = { 4858 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_5 = {
4732 .iface_macro = PPB_FLASH_INTERFACE_12_5, 4859 .iface_macro = PPB_FLASH_INTERFACE_12_5,
4733 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Flash_12_5, 4860 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Flash_12_5,
4734 .real_iface = NULL 4861 .real_iface = NULL
4735 }; 4862 };
4736 4863
4864 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_6 = {
4865 .iface_macro = PPB_FLASH_INTERFACE_12_6,
4866 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Flash_12_6,
4867 .real_iface = NULL
4868 };
4869
4737 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Clipboard_3_0 = { 4870 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Clipboard_3_0 = {
4738 .iface_macro = PPB_FLASH_CLIPBOARD_INTERFACE_3_0, 4871 .iface_macro = PPB_FLASH_CLIPBOARD_INTERFACE_3_0,
4739 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Flash_Clipboard_3_0, 4872 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Flash_Clipboard_3_0,
4740 .real_iface = NULL 4873 .real_iface = NULL
4741 }; 4874 };
4742 4875
4743 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Clipboard_4_0 = { 4876 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Clipboard_4_0 = {
4744 .iface_macro = PPB_FLASH_CLIPBOARD_INTERFACE_4_0, 4877 .iface_macro = PPB_FLASH_CLIPBOARD_INTERFACE_4_0,
4745 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Flash_Clipboard_4_0, 4878 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Flash_Clipboard_4_0,
4746 .real_iface = NULL 4879 .real_iface = NULL
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
4998 &Pnacl_WrapperInfo_PPB_Widget_Dev_0_4, 5131 &Pnacl_WrapperInfo_PPB_Widget_Dev_0_4,
4999 &Pnacl_WrapperInfo_PPB_Zoom_Dev_0_2, 5132 &Pnacl_WrapperInfo_PPB_Zoom_Dev_0_2,
5000 &Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_2, 5133 &Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_2,
5001 &Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1, 5134 &Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1,
5002 &Pnacl_WrapperInfo_PPB_Flash_12_0, 5135 &Pnacl_WrapperInfo_PPB_Flash_12_0,
5003 &Pnacl_WrapperInfo_PPB_Flash_12_1, 5136 &Pnacl_WrapperInfo_PPB_Flash_12_1,
5004 &Pnacl_WrapperInfo_PPB_Flash_12_2, 5137 &Pnacl_WrapperInfo_PPB_Flash_12_2,
5005 &Pnacl_WrapperInfo_PPB_Flash_12_3, 5138 &Pnacl_WrapperInfo_PPB_Flash_12_3,
5006 &Pnacl_WrapperInfo_PPB_Flash_12_4, 5139 &Pnacl_WrapperInfo_PPB_Flash_12_4,
5007 &Pnacl_WrapperInfo_PPB_Flash_12_5, 5140 &Pnacl_WrapperInfo_PPB_Flash_12_5,
5141 &Pnacl_WrapperInfo_PPB_Flash_12_6,
5008 &Pnacl_WrapperInfo_PPB_Flash_Clipboard_3_0, 5142 &Pnacl_WrapperInfo_PPB_Flash_Clipboard_3_0,
5009 &Pnacl_WrapperInfo_PPB_Flash_Clipboard_4_0, 5143 &Pnacl_WrapperInfo_PPB_Flash_Clipboard_4_0,
5010 &Pnacl_WrapperInfo_PPB_Flash_DeviceID_1_0, 5144 &Pnacl_WrapperInfo_PPB_Flash_DeviceID_1_0,
5011 &Pnacl_WrapperInfo_PPB_Flash_FontFile_0_1, 5145 &Pnacl_WrapperInfo_PPB_Flash_FontFile_0_1,
5012 &Pnacl_WrapperInfo_PPB_FlashFullscreen_0_1, 5146 &Pnacl_WrapperInfo_PPB_FlashFullscreen_0_1,
5013 &Pnacl_WrapperInfo_PPB_FlashFullscreen_1_0, 5147 &Pnacl_WrapperInfo_PPB_FlashFullscreen_1_0,
5014 &Pnacl_WrapperInfo_PPB_Flash_MessageLoop_0_1, 5148 &Pnacl_WrapperInfo_PPB_Flash_MessageLoop_0_1,
5015 &Pnacl_WrapperInfo_PPB_Flash_Print_1_0, 5149 &Pnacl_WrapperInfo_PPB_Flash_Print_1_0,
5016 &Pnacl_WrapperInfo_PPB_Flash_TCPSocket_0_2, 5150 &Pnacl_WrapperInfo_PPB_Flash_TCPSocket_0_2,
5017 &Pnacl_WrapperInfo_PPB_GpuBlacklist_Private_0_2, 5151 &Pnacl_WrapperInfo_PPB_GpuBlacklist_Private_0_2,
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
5128 } 5262 }
5129 5263
5130 if (wrapper->wrapped_iface) { 5264 if (wrapper->wrapped_iface) {
5131 return wrapper->wrapped_iface; 5265 return wrapper->wrapped_iface;
5132 } else { 5266 } else {
5133 return wrapper->real_iface; 5267 return wrapper->real_iface;
5134 } 5268 }
5135 } 5269 }
5136 5270
5137 #endif 5271 #endif
OLDNEW
« no previous file with comments | « ppapi/c/private/ppb_flash.h ('k') | ppapi/ppapi_proxy.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698