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 NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_BROWSER_GLOBALS_H_ | 5 #ifndef NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_BROWSER_GLOBALS_H_ |
6 #define NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_BROWSER_GLOBALS_H_ | 6 #define NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_BROWSER_GLOBALS_H_ |
7 | 7 |
8 #include "ppapi/c/dev/ppb_cursor_control_dev.h" | 8 #include "ppapi/c/dev/ppb_cursor_control_dev.h" |
9 #include "ppapi/c/dev/ppb_find_dev.h" | 9 #include "ppapi/c/dev/ppb_find_dev.h" |
10 #include "ppapi/c/dev/ppb_font_dev.h" | 10 #include "ppapi/c/dev/ppb_font_dev.h" |
11 #include "ppapi/c/dev/ppb_fullscreen_dev.h" | 11 #include "ppapi/c/dev/ppb_fullscreen_dev.h" |
12 #include "ppapi/c/dev/ppb_graphics_3d_dev.h" | |
13 #include "ppapi/c/dev/ppb_graphics_3d_trusted_dev.h" | |
14 #include "ppapi/c/dev/ppb_memory_dev.h" | 12 #include "ppapi/c/dev/ppb_memory_dev.h" |
15 #include "ppapi/c/dev/ppb_scrollbar_dev.h" | 13 #include "ppapi/c/dev/ppb_scrollbar_dev.h" |
16 #include "ppapi/c/dev/ppb_testing_dev.h" | 14 #include "ppapi/c/dev/ppb_testing_dev.h" |
17 #include "ppapi/c/dev/ppb_var_deprecated.h" | 15 #include "ppapi/c/dev/ppb_var_deprecated.h" |
18 #include "ppapi/c/dev/ppb_widget_dev.h" | 16 #include "ppapi/c/dev/ppb_widget_dev.h" |
19 #include "ppapi/c/dev/ppb_zoom_dev.h" | 17 #include "ppapi/c/dev/ppb_zoom_dev.h" |
20 #include "ppapi/c/pp_instance.h" | 18 #include "ppapi/c/pp_instance.h" |
21 #include "ppapi/c/pp_module.h" | 19 #include "ppapi/c/pp_module.h" |
22 #include "ppapi/c/ppb.h" | 20 #include "ppapi/c/ppb.h" |
23 #include "ppapi/c/ppb_core.h" | 21 #include "ppapi/c/ppb_core.h" |
24 #include "ppapi/c/ppb_file_io.h" | 22 #include "ppapi/c/ppb_file_io.h" |
25 #include "ppapi/c/ppb_file_ref.h" | 23 #include "ppapi/c/ppb_file_ref.h" |
26 #include "ppapi/c/ppb_file_system.h" | 24 #include "ppapi/c/ppb_file_system.h" |
27 #include "ppapi/c/ppb_graphics_2d.h" | 25 #include "ppapi/c/ppb_graphics_2d.h" |
| 26 #include "ppapi/c/ppb_graphics_3d.h" |
28 #include "ppapi/c/ppb_image_data.h" | 27 #include "ppapi/c/ppb_image_data.h" |
29 #include "ppapi/c/ppb_input_event.h" | 28 #include "ppapi/c/ppb_input_event.h" |
30 #include "ppapi/c/ppb_instance.h" | 29 #include "ppapi/c/ppb_instance.h" |
31 #include "ppapi/c/ppb_messaging.h" | 30 #include "ppapi/c/ppb_messaging.h" |
32 #include "ppapi/c/ppb_url_loader.h" | 31 #include "ppapi/c/ppb_url_loader.h" |
33 #include "ppapi/c/ppb_url_request_info.h" | 32 #include "ppapi/c/ppb_url_request_info.h" |
34 #include "ppapi/c/ppb_url_response_info.h" | 33 #include "ppapi/c/ppb_url_response_info.h" |
35 #include "ppapi/c/ppb_var.h" | 34 #include "ppapi/c/ppb_var.h" |
36 #include "ppapi/c/private/ppb_pdf.h" | 35 #include "ppapi/c/private/ppb_pdf.h" |
| 36 #include "ppapi/c/trusted/ppb_graphics_3d_trusted.h" |
37 #include "ppapi/c/trusted/ppb_image_data_trusted.h" | 37 #include "ppapi/c/trusted/ppb_image_data_trusted.h" |
38 | 38 |
39 struct NaClSrpcRpc; | 39 struct NaClSrpcRpc; |
40 struct NaClSrpcChannel; | 40 struct NaClSrpcChannel; |
41 | 41 |
42 namespace ppapi_proxy { | 42 namespace ppapi_proxy { |
43 | 43 |
44 // These functions handle the browser-side (trusted code) mapping of a browser | 44 // These functions handle the browser-side (trusted code) mapping of a browser |
45 // Instance to instance-specific data, such as the SRPC communication channel. | 45 // Instance to instance-specific data, such as the SRPC communication channel. |
46 // These functions are called by the in-browser (trusted) plugin code, and are | 46 // These functions are called by the in-browser (trusted) plugin code, and are |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 // under both trusted and untrusted compilation. | 98 // under both trusted and untrusted compilation. |
99 const PPB_Core* PPBCoreInterface(); // shared | 99 const PPB_Core* PPBCoreInterface(); // shared |
100 const PPB_CursorControl_Dev* PPBCursorControlInterface(); | 100 const PPB_CursorControl_Dev* PPBCursorControlInterface(); |
101 const PPB_FileIO* PPBFileIOInterface(); | 101 const PPB_FileIO* PPBFileIOInterface(); |
102 const PPB_FileRef* PPBFileRefInterface(); | 102 const PPB_FileRef* PPBFileRefInterface(); |
103 const PPB_FileSystem* PPBFileSystemInterface(); | 103 const PPB_FileSystem* PPBFileSystemInterface(); |
104 const PPB_Find_Dev* PPBFindInterface(); | 104 const PPB_Find_Dev* PPBFindInterface(); |
105 const PPB_Font_Dev* PPBFontInterface(); | 105 const PPB_Font_Dev* PPBFontInterface(); |
106 const PPB_Fullscreen_Dev* PPBFullscreenInterface(); | 106 const PPB_Fullscreen_Dev* PPBFullscreenInterface(); |
107 const PPB_Graphics2D* PPBGraphics2DInterface(); | 107 const PPB_Graphics2D* PPBGraphics2DInterface(); |
108 const PPB_Graphics3D_Dev* PPBGraphics3DInterface(); | 108 const PPB_Graphics3D* PPBGraphics3DInterface(); |
109 const PPB_Graphics3DTrusted_Dev* PPBGraphics3DTrustedInterface(); | 109 const PPB_Graphics3DTrusted* PPBGraphics3DTrustedInterface(); |
110 const PPB_ImageData* PPBImageDataInterface(); | 110 const PPB_ImageData* PPBImageDataInterface(); |
111 const PPB_ImageDataTrusted* PPBImageDataTrustedInterface(); | 111 const PPB_ImageDataTrusted* PPBImageDataTrustedInterface(); |
112 const PPB_InputEvent* PPBInputEventInterface(); | 112 const PPB_InputEvent* PPBInputEventInterface(); |
113 const PPB_Instance* PPBInstanceInterface(); | 113 const PPB_Instance* PPBInstanceInterface(); |
114 const PPB_KeyboardInputEvent* PPBKeyboardInputEventInterface(); | 114 const PPB_KeyboardInputEvent* PPBKeyboardInputEventInterface(); |
115 const PPB_Memory_Dev* PPBMemoryInterface(); // shared | 115 const PPB_Memory_Dev* PPBMemoryInterface(); // shared |
116 const PPB_MouseInputEvent* PPBMouseInputEventInterface(); | 116 const PPB_MouseInputEvent* PPBMouseInputEventInterface(); |
117 const PPB_Messaging* PPBMessagingInterface(); | 117 const PPB_Messaging* PPBMessagingInterface(); |
118 const PPB_PDF* PPBPDFInterface(); | 118 const PPB_PDF* PPBPDFInterface(); |
119 const PPB_Scrollbar_Dev* PPBScrollbarInterface(); | 119 const PPB_Scrollbar_Dev* PPBScrollbarInterface(); |
120 const PPB_Testing_Dev* PPBTestingInterface(); | 120 const PPB_Testing_Dev* PPBTestingInterface(); |
121 const PPB_URLLoader* PPBURLLoaderInterface(); | 121 const PPB_URLLoader* PPBURLLoaderInterface(); |
122 const PPB_URLRequestInfo* PPBURLRequestInfoInterface(); | 122 const PPB_URLRequestInfo* PPBURLRequestInfoInterface(); |
123 const PPB_URLResponseInfo* PPBURLResponseInfoInterface(); | 123 const PPB_URLResponseInfo* PPBURLResponseInfoInterface(); |
124 const PPB_Var* PPBVarInterface(); // shared | 124 const PPB_Var* PPBVarInterface(); // shared |
125 const PPB_WheelInputEvent* PPBWheelInputEventInterface(); | 125 const PPB_WheelInputEvent* PPBWheelInputEventInterface(); |
126 const PPB_Widget_Dev* PPBWidgetInterface(); | 126 const PPB_Widget_Dev* PPBWidgetInterface(); |
127 const PPB_Zoom_Dev* PPBZoomInterface(); | 127 const PPB_Zoom_Dev* PPBZoomInterface(); |
128 | 128 |
129 // PPAPI constants used in the proxy. | 129 // PPAPI constants used in the proxy. |
130 extern const PP_Resource kInvalidResourceId; | 130 extern const PP_Resource kInvalidResourceId; |
131 | 131 |
132 } // namespace ppapi_proxy | 132 } // namespace ppapi_proxy |
133 | 133 |
134 #endif // NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_BROWSER_GLOBALS_H_ | 134 #endif // NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_BROWSER_GLOBALS_H_ |
OLD | NEW |