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 #include "native_client/src/shared/platform/nacl_check.h" | 5 #include "native_client/src/shared/platform/nacl_check.h" |
6 | 6 |
7 #include "ppapi/c/dev/ppb_context_3d_dev.h" | 7 #include "ppapi/c/dev/ppb_context_3d_dev.h" |
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_font_dev.h" | 9 #include "ppapi/c/dev/ppb_font_dev.h" |
10 #include "ppapi/c/dev/ppb_fullscreen_dev.h" | 10 #include "ppapi/c/dev/ppb_fullscreen_dev.h" |
11 #include "ppapi/c/dev/ppb_memory_dev.h" | 11 #include "ppapi/c/dev/ppb_memory_dev.h" |
12 #include "ppapi/c/dev/ppb_scrollbar_dev.h" | 12 #include "ppapi/c/dev/ppb_scrollbar_dev.h" |
13 #include "ppapi/c/dev/ppb_surface_3d_dev.h" | 13 #include "ppapi/c/dev/ppb_surface_3d_dev.h" |
14 #include "ppapi/c/dev/ppb_testing_dev.h" | 14 #include "ppapi/c/dev/ppb_testing_dev.h" |
15 #include "ppapi/c/dev/ppb_var_deprecated.h" | 15 #include "ppapi/c/dev/ppb_var_deprecated.h" |
16 #include "ppapi/c/dev/ppb_widget_dev.h" | 16 #include "ppapi/c/dev/ppb_widget_dev.h" |
17 #include "ppapi/c/ppb_core.h" | 17 #include "ppapi/c/ppb_core.h" |
18 #include "ppapi/c/ppb_file_io.h" | 18 #include "ppapi/c/ppb_file_io.h" |
19 #include "ppapi/c/ppb_file_ref.h" | 19 #include "ppapi/c/ppb_file_ref.h" |
20 #include "ppapi/c/ppb_file_system.h" | 20 #include "ppapi/c/ppb_file_system.h" |
21 #include "ppapi/c/ppb_graphics_2d.h" | 21 #include "ppapi/c/ppb_graphics_2d.h" |
22 #include "ppapi/c/ppb_graphics_3d.h" | 22 #include "ppapi/c/ppb_graphics_3d.h" |
23 #include "ppapi/c/ppb_image_data.h" | 23 #include "ppapi/c/ppb_image_data.h" |
24 #include "ppapi/c/ppb_input_event.h" | 24 #include "ppapi/c/ppb_input_event.h" |
25 #include "ppapi/c/ppb_instance.h" | 25 #include "ppapi/c/ppb_instance.h" |
26 #include "ppapi/c/ppb_messaging.h" | 26 #include "ppapi/c/ppb_messaging.h" |
27 #include "ppapi/c/ppb_opengles.h" | 27 #include "ppapi/c/ppb_opengles2.h" |
28 #include "ppapi/c/ppb_url_loader.h" | 28 #include "ppapi/c/ppb_url_loader.h" |
29 #include "ppapi/c/ppb_url_request_info.h" | 29 #include "ppapi/c/ppb_url_request_info.h" |
30 #include "ppapi/c/ppb_url_response_info.h" | 30 #include "ppapi/c/ppb_url_response_info.h" |
31 #include "ppapi/c/ppb_var.h" | 31 #include "ppapi/c/ppb_var.h" |
32 | 32 |
33 #include "native_client/tests/ppapi_test_lib/get_browser_interface.h" | 33 #include "native_client/tests/ppapi_test_lib/get_browser_interface.h" |
34 #include "native_client/tests/ppapi_test_lib/internal_utils.h" | 34 #include "native_client/tests/ppapi_test_lib/internal_utils.h" |
35 | 35 |
36 const void* GetBrowserInterface(const char* interface_name) { | 36 const void* GetBrowserInterface(const char* interface_name) { |
37 return (*ppb_get_interface())(interface_name); | 37 return (*ppb_get_interface())(interface_name); |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 | 175 |
176 const PPB_Testing_Dev* PPBTestingDev() { | 176 const PPB_Testing_Dev* PPBTestingDev() { |
177 return reinterpret_cast<const PPB_Testing_Dev*>( | 177 return reinterpret_cast<const PPB_Testing_Dev*>( |
178 GetBrowserInterface(PPB_TESTING_DEV_INTERFACE)); | 178 GetBrowserInterface(PPB_TESTING_DEV_INTERFACE)); |
179 } | 179 } |
180 | 180 |
181 const PPB_Widget_Dev* PPBWidgetDev() { | 181 const PPB_Widget_Dev* PPBWidgetDev() { |
182 return reinterpret_cast<const PPB_Widget_Dev*>( | 182 return reinterpret_cast<const PPB_Widget_Dev*>( |
183 GetBrowserInterface(PPB_WIDGET_DEV_INTERFACE)); | 183 GetBrowserInterface(PPB_WIDGET_DEV_INTERFACE)); |
184 } | 184 } |
OLD | NEW |