OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #ifndef PPAPI_THUNK_THUNK_H_ | 5 #ifndef PPAPI_THUNK_THUNK_H_ |
6 #define PPAPI_THUNK_THUNK_H_ | 6 #define PPAPI_THUNK_THUNK_H_ |
7 | 7 |
8 struct PPB_Audio; | 8 struct PPB_Audio; |
9 struct PPB_AudioConfig; | 9 struct PPB_AudioConfig; |
10 struct PPB_AudioTrusted; | 10 struct PPB_AudioTrusted; |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 struct PPB_URLRequestInfo; | 47 struct PPB_URLRequestInfo; |
48 struct PPB_URLResponseInfo; | 48 struct PPB_URLResponseInfo; |
49 struct PPB_VideoDecoder_Dev; | 49 struct PPB_VideoDecoder_Dev; |
50 struct PPB_VideoLayer_Dev; | 50 struct PPB_VideoLayer_Dev; |
51 struct PPB_WheelInputEvent; | 51 struct PPB_WheelInputEvent; |
52 struct PPB_Widget_Dev; | 52 struct PPB_Widget_Dev; |
53 struct PPB_Zoom_Dev; | 53 struct PPB_Zoom_Dev; |
54 | 54 |
55 #ifdef PPAPI_INSTANCE_REMOVE_SCRIPTING | 55 #ifdef PPAPI_INSTANCE_REMOVE_SCRIPTING |
56 struct PPB_Instance_0_4; | 56 struct PPB_Instance_0_4; |
57 typedef PPB_Instance PPB_Instance_0_5; | 57 typedef PPB_Instance PPB_Instance_1_0; |
58 #else | 58 #else |
59 struct PPB_Instance_0_5; | 59 struct PPB_Instance_1_0; |
60 typedef PPB_Instance PPB_Instance_0_4; | 60 typedef PPB_Instance PPB_Instance_0_4; |
61 #endif | 61 #endif |
62 | 62 |
63 namespace ppapi { | 63 namespace ppapi { |
64 namespace thunk { | 64 namespace thunk { |
65 | 65 |
66 const PPB_Audio* GetPPB_Audio_Thunk(); | 66 const PPB_Audio* GetPPB_Audio_Thunk(); |
67 const PPB_AudioConfig* GetPPB_AudioConfig_Thunk(); | 67 const PPB_AudioConfig* GetPPB_AudioConfig_Thunk(); |
68 const PPB_AudioTrusted* GetPPB_AudioTrusted_Thunk(); | 68 const PPB_AudioTrusted* GetPPB_AudioTrusted_Thunk(); |
69 const PPB_BrokerTrusted* GetPPB_Broker_Thunk(); | 69 const PPB_BrokerTrusted* GetPPB_Broker_Thunk(); |
(...skipping 16 matching lines...) Expand all Loading... |
86 const PPB_Font_Dev* GetPPB_Font_Thunk(); | 86 const PPB_Font_Dev* GetPPB_Font_Thunk(); |
87 const PPB_Fullscreen_Dev* GetPPB_Fullscreen_Thunk(); | 87 const PPB_Fullscreen_Dev* GetPPB_Fullscreen_Thunk(); |
88 const PPB_GLESChromiumTextureMapping_Dev* | 88 const PPB_GLESChromiumTextureMapping_Dev* |
89 GetPPB_GLESChromiumTextureMapping_Thunk(); | 89 GetPPB_GLESChromiumTextureMapping_Thunk(); |
90 const PPB_Graphics2D* GetPPB_Graphics2D_Thunk(); | 90 const PPB_Graphics2D* GetPPB_Graphics2D_Thunk(); |
91 const PPB_Graphics3D_Dev* GetPPB_Graphics3D_Thunk(); | 91 const PPB_Graphics3D_Dev* GetPPB_Graphics3D_Thunk(); |
92 const PPB_InputEvent* GetPPB_InputEvent_Thunk(); | 92 const PPB_InputEvent* GetPPB_InputEvent_Thunk(); |
93 const PPB_ImageData* GetPPB_ImageData_Thunk(); | 93 const PPB_ImageData* GetPPB_ImageData_Thunk(); |
94 const PPB_ImageDataTrusted* GetPPB_ImageDataTrusted_Thunk(); | 94 const PPB_ImageDataTrusted* GetPPB_ImageDataTrusted_Thunk(); |
95 const PPB_Instance_0_4* GetPPB_Instance_0_4_Thunk(); | 95 const PPB_Instance_0_4* GetPPB_Instance_0_4_Thunk(); |
96 const PPB_Instance_0_5* GetPPB_Instance_0_5_Thunk(); | 96 const PPB_Instance_1_0* GetPPB_Instance_1_0_Thunk(); |
97 const PPB_Instance_Private* GetPPB_Instance_Private_Thunk(); | 97 const PPB_Instance_Private* GetPPB_Instance_Private_Thunk(); |
98 const PPB_KeyboardInputEvent* GetPPB_KeyboardInputEvent_Thunk(); | 98 const PPB_KeyboardInputEvent* GetPPB_KeyboardInputEvent_Thunk(); |
99 const PPB_LayerCompositor_Dev* GetPPB_LayerCompositor_Thunk(); | 99 const PPB_LayerCompositor_Dev* GetPPB_LayerCompositor_Thunk(); |
100 const PPB_Messaging* GetPPB_Messaging_Thunk(); | 100 const PPB_Messaging* GetPPB_Messaging_Thunk(); |
101 const PPB_MouseInputEvent* GetPPB_MouseInputEvent_Thunk(); | 101 const PPB_MouseInputEvent* GetPPB_MouseInputEvent_Thunk(); |
102 const PPB_Scrollbar_0_4_Dev* GetPPB_Scrollbar_Thunk(); | 102 const PPB_Scrollbar_0_4_Dev* GetPPB_Scrollbar_Thunk(); |
103 const PPB_Surface3D_Dev* GetPPB_Surface3D_Thunk(); | 103 const PPB_Surface3D_Dev* GetPPB_Surface3D_Thunk(); |
104 const PPB_Transport_Dev* GetPPB_Transport_Thunk(); | 104 const PPB_Transport_Dev* GetPPB_Transport_Thunk(); |
105 const PPB_URLLoader* GetPPB_URLLoader_Thunk(); | 105 const PPB_URLLoader* GetPPB_URLLoader_Thunk(); |
106 const PPB_URLLoaderTrusted* GetPPB_URLLoaderTrusted_Thunk(); | 106 const PPB_URLLoaderTrusted* GetPPB_URLLoaderTrusted_Thunk(); |
107 const PPB_URLRequestInfo* GetPPB_URLRequestInfo_Thunk(); | 107 const PPB_URLRequestInfo* GetPPB_URLRequestInfo_Thunk(); |
108 const PPB_URLResponseInfo* GetPPB_URLResponseInfo_Thunk(); | 108 const PPB_URLResponseInfo* GetPPB_URLResponseInfo_Thunk(); |
109 const PPB_VideoDecoder_Dev* GetPPB_VideoDecoder_Thunk(); | 109 const PPB_VideoDecoder_Dev* GetPPB_VideoDecoder_Thunk(); |
110 const PPB_VideoLayer_Dev* GetPPB_VideoLayer_Thunk(); | 110 const PPB_VideoLayer_Dev* GetPPB_VideoLayer_Thunk(); |
111 const PPB_WheelInputEvent* GetPPB_WheelInputEvent_Thunk(); | 111 const PPB_WheelInputEvent* GetPPB_WheelInputEvent_Thunk(); |
112 const PPB_Widget_Dev* GetPPB_Widget_Thunk(); | 112 const PPB_Widget_Dev* GetPPB_Widget_Thunk(); |
113 const PPB_Zoom_Dev* GetPPB_Zoom_Thunk(); | 113 const PPB_Zoom_Dev* GetPPB_Zoom_Thunk(); |
114 | 114 |
115 } // namespace thunk | 115 } // namespace thunk |
116 } // namespace ppapi | 116 } // namespace ppapi |
117 | 117 |
118 #endif // PPAPI_THUNK_THUNK_H_ | 118 #endif // PPAPI_THUNK_THUNK_H_ |
OLD | NEW |