OLD | NEW |
1 // Copyright (c) 2011 The Native Client Authors. All rights reserved. | 1 // Copyright (c) 2011 The Native Client 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 #include "native_client/tests/ppapi_test_lib/get_browser_interface.h" | 6 #include "native_client/tests/ppapi_test_lib/get_browser_interface.h" |
7 #include "native_client/tests/ppapi_test_lib/internal_utils.h" | 7 #include "native_client/tests/ppapi_test_lib/internal_utils.h" |
8 | 8 |
9 #include "ppapi/c/dev/ppb_context_3d_dev.h" | 9 #include "ppapi/c/dev/ppb_context_3d_dev.h" |
10 #include "ppapi/c/dev/ppb_file_io_dev.h" | 10 #include "ppapi/c/dev/ppb_file_io_dev.h" |
| 11 #include "ppapi/c/dev/ppb_file_system_dev.h" |
11 #include "ppapi/c/dev/ppb_scrollbar_dev.h" | 12 #include "ppapi/c/dev/ppb_scrollbar_dev.h" |
12 #include "ppapi/c/dev/ppb_surface_3d_dev.h" | 13 #include "ppapi/c/dev/ppb_surface_3d_dev.h" |
13 #include "ppapi/c/dev/ppb_var_deprecated.h" | 14 #include "ppapi/c/dev/ppb_var_deprecated.h" |
14 #include "ppapi/c/ppb_core.h" | 15 #include "ppapi/c/ppb_core.h" |
15 #include "ppapi/c/ppb_graphics_2d.h" | 16 #include "ppapi/c/ppb_graphics_2d.h" |
16 #include "ppapi/c/ppb_image_data.h" | 17 #include "ppapi/c/ppb_image_data.h" |
17 #include "ppapi/c/ppb_instance.h" | 18 #include "ppapi/c/ppb_instance.h" |
18 #include "ppapi/c/ppb_messaging.h" | 19 #include "ppapi/c/ppb_messaging.h" |
19 #include "ppapi/c/ppb_url_loader.h" | 20 #include "ppapi/c/ppb_url_loader.h" |
20 #include "ppapi/c/ppb_url_request_info.h" | 21 #include "ppapi/c/ppb_url_request_info.h" |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 const PPB_Context3D_Dev* PPBContext3DDev() { | 83 const PPB_Context3D_Dev* PPBContext3DDev() { |
83 return reinterpret_cast<const PPB_Context3D_Dev*>( | 84 return reinterpret_cast<const PPB_Context3D_Dev*>( |
84 GetBrowserInterface(PPB_CONTEXT_3D_DEV_INTERFACE)); | 85 GetBrowserInterface(PPB_CONTEXT_3D_DEV_INTERFACE)); |
85 } | 86 } |
86 | 87 |
87 const PPB_FileIO_Dev* PPBFileIODev() { | 88 const PPB_FileIO_Dev* PPBFileIODev() { |
88 return reinterpret_cast<const PPB_FileIO_Dev*>( | 89 return reinterpret_cast<const PPB_FileIO_Dev*>( |
89 GetBrowserInterface(PPB_FILEIO_DEV_INTERFACE)); | 90 GetBrowserInterface(PPB_FILEIO_DEV_INTERFACE)); |
90 } | 91 } |
91 | 92 |
| 93 const PPB_FileSystem_Dev* PPBFileSystemDev() { |
| 94 return reinterpret_cast<const PPB_FileSystem_Dev*>( |
| 95 GetBrowserInterface(PPB_FILESYSTEM_DEV_INTERFACE)); |
| 96 } |
| 97 |
92 const PPB_Scrollbar_Dev* PPBScrollbarDev() { | 98 const PPB_Scrollbar_Dev* PPBScrollbarDev() { |
93 return reinterpret_cast<const PPB_Scrollbar_Dev*>( | 99 return reinterpret_cast<const PPB_Scrollbar_Dev*>( |
94 GetBrowserInterface(PPB_SCROLLBAR_DEV_INTERFACE)); | 100 GetBrowserInterface(PPB_SCROLLBAR_DEV_INTERFACE)); |
95 } | 101 } |
96 | 102 |
97 const PPB_Surface3D_Dev* PPBSurface3DDev() { | 103 const PPB_Surface3D_Dev* PPBSurface3DDev() { |
98 return reinterpret_cast<const PPB_Surface3D_Dev*>( | 104 return reinterpret_cast<const PPB_Surface3D_Dev*>( |
99 GetBrowserInterface(PPB_SURFACE_3D_DEV_INTERFACE)); | 105 GetBrowserInterface(PPB_SURFACE_3D_DEV_INTERFACE)); |
100 } | 106 } |
OLD | NEW |