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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 struct PPB_URLLoader; | 45 struct PPB_URLLoader; |
46 struct PPB_URLLoaderTrusted; | 46 struct PPB_URLLoaderTrusted; |
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 | |
56 struct PPB_Instance_0_4; | |
57 typedef PPB_Instance PPB_Instance_1_0; | 55 typedef PPB_Instance PPB_Instance_1_0; |
58 #else | |
59 struct PPB_Instance_1_0; | |
60 typedef PPB_Instance PPB_Instance_0_4; | |
61 #endif | |
62 | 56 |
63 namespace ppapi { | 57 namespace ppapi { |
64 namespace thunk { | 58 namespace thunk { |
65 | 59 |
66 const PPB_Audio* GetPPB_Audio_Thunk(); | 60 const PPB_Audio* GetPPB_Audio_Thunk(); |
67 const PPB_AudioConfig* GetPPB_AudioConfig_Thunk(); | 61 const PPB_AudioConfig* GetPPB_AudioConfig_Thunk(); |
68 const PPB_AudioTrusted* GetPPB_AudioTrusted_Thunk(); | 62 const PPB_AudioTrusted* GetPPB_AudioTrusted_Thunk(); |
69 const PPB_BrokerTrusted* GetPPB_Broker_Thunk(); | 63 const PPB_BrokerTrusted* GetPPB_Broker_Thunk(); |
70 const PPB_Buffer_Dev* GetPPB_Buffer_Thunk(); | 64 const PPB_Buffer_Dev* GetPPB_Buffer_Thunk(); |
71 const PPB_BufferTrusted* GetPPB_BufferTrusted_Thunk(); | 65 const PPB_BufferTrusted* GetPPB_BufferTrusted_Thunk(); |
(...skipping 13 matching lines...) Expand all Loading... |
85 const PPB_Flash_TCPSocket* GetPPB_Flash_TCPSocket_Thunk(); | 79 const PPB_Flash_TCPSocket* GetPPB_Flash_TCPSocket_Thunk(); |
86 const PPB_Font_Dev* GetPPB_Font_Thunk(); | 80 const PPB_Font_Dev* GetPPB_Font_Thunk(); |
87 const PPB_Fullscreen_Dev* GetPPB_Fullscreen_Thunk(); | 81 const PPB_Fullscreen_Dev* GetPPB_Fullscreen_Thunk(); |
88 const PPB_GLESChromiumTextureMapping_Dev* | 82 const PPB_GLESChromiumTextureMapping_Dev* |
89 GetPPB_GLESChromiumTextureMapping_Thunk(); | 83 GetPPB_GLESChromiumTextureMapping_Thunk(); |
90 const PPB_Graphics2D* GetPPB_Graphics2D_Thunk(); | 84 const PPB_Graphics2D* GetPPB_Graphics2D_Thunk(); |
91 const PPB_Graphics3D_Dev* GetPPB_Graphics3D_Thunk(); | 85 const PPB_Graphics3D_Dev* GetPPB_Graphics3D_Thunk(); |
92 const PPB_InputEvent* GetPPB_InputEvent_Thunk(); | 86 const PPB_InputEvent* GetPPB_InputEvent_Thunk(); |
93 const PPB_ImageData* GetPPB_ImageData_Thunk(); | 87 const PPB_ImageData* GetPPB_ImageData_Thunk(); |
94 const PPB_ImageDataTrusted* GetPPB_ImageDataTrusted_Thunk(); | 88 const PPB_ImageDataTrusted* GetPPB_ImageDataTrusted_Thunk(); |
95 const PPB_Instance_0_4* GetPPB_Instance_0_4_Thunk(); | |
96 const PPB_Instance_1_0* GetPPB_Instance_1_0_Thunk(); | 89 const PPB_Instance_1_0* GetPPB_Instance_1_0_Thunk(); |
97 const PPB_Instance_Private* GetPPB_Instance_Private_Thunk(); | 90 const PPB_Instance_Private* GetPPB_Instance_Private_Thunk(); |
98 const PPB_KeyboardInputEvent* GetPPB_KeyboardInputEvent_Thunk(); | 91 const PPB_KeyboardInputEvent* GetPPB_KeyboardInputEvent_Thunk(); |
99 const PPB_LayerCompositor_Dev* GetPPB_LayerCompositor_Thunk(); | 92 const PPB_LayerCompositor_Dev* GetPPB_LayerCompositor_Thunk(); |
100 const PPB_Messaging* GetPPB_Messaging_Thunk(); | 93 const PPB_Messaging* GetPPB_Messaging_Thunk(); |
101 const PPB_MouseInputEvent* GetPPB_MouseInputEvent_Thunk(); | 94 const PPB_MouseInputEvent* GetPPB_MouseInputEvent_Thunk(); |
102 const PPB_Scrollbar_0_4_Dev* GetPPB_Scrollbar_Thunk(); | 95 const PPB_Scrollbar_0_4_Dev* GetPPB_Scrollbar_Thunk(); |
103 const PPB_Surface3D_Dev* GetPPB_Surface3D_Thunk(); | 96 const PPB_Surface3D_Dev* GetPPB_Surface3D_Thunk(); |
104 const PPB_Transport_Dev* GetPPB_Transport_Thunk(); | 97 const PPB_Transport_Dev* GetPPB_Transport_Thunk(); |
105 const PPB_URLLoader* GetPPB_URLLoader_Thunk(); | 98 const PPB_URLLoader* GetPPB_URLLoader_Thunk(); |
106 const PPB_URLLoaderTrusted* GetPPB_URLLoaderTrusted_Thunk(); | 99 const PPB_URLLoaderTrusted* GetPPB_URLLoaderTrusted_Thunk(); |
107 const PPB_URLRequestInfo* GetPPB_URLRequestInfo_Thunk(); | 100 const PPB_URLRequestInfo* GetPPB_URLRequestInfo_Thunk(); |
108 const PPB_URLResponseInfo* GetPPB_URLResponseInfo_Thunk(); | 101 const PPB_URLResponseInfo* GetPPB_URLResponseInfo_Thunk(); |
109 const PPB_VideoDecoder_Dev* GetPPB_VideoDecoder_Thunk(); | 102 const PPB_VideoDecoder_Dev* GetPPB_VideoDecoder_Thunk(); |
110 const PPB_VideoLayer_Dev* GetPPB_VideoLayer_Thunk(); | 103 const PPB_VideoLayer_Dev* GetPPB_VideoLayer_Thunk(); |
111 const PPB_WheelInputEvent* GetPPB_WheelInputEvent_Thunk(); | 104 const PPB_WheelInputEvent* GetPPB_WheelInputEvent_Thunk(); |
112 const PPB_Widget_Dev* GetPPB_Widget_Thunk(); | 105 const PPB_Widget_Dev* GetPPB_Widget_Thunk(); |
113 const PPB_Zoom_Dev* GetPPB_Zoom_Thunk(); | 106 const PPB_Zoom_Dev* GetPPB_Zoom_Thunk(); |
114 | 107 |
115 } // namespace thunk | 108 } // namespace thunk |
116 } // namespace ppapi | 109 } // namespace ppapi |
117 | 110 |
118 #endif // PPAPI_THUNK_THUNK_H_ | 111 #endif // PPAPI_THUNK_THUNK_H_ |
OLD | NEW |