Index: ppapi/native_client/tests/ppapi_test_lib/get_browser_interface.cc |
=================================================================== |
--- ppapi/native_client/tests/ppapi_test_lib/get_browser_interface.cc (revision 99860) |
+++ ppapi/native_client/tests/ppapi_test_lib/get_browser_interface.cc (working copy) |
@@ -8,7 +8,9 @@ |
#include "ppapi/c/dev/ppb_cursor_control_dev.h" |
#include "ppapi/c/dev/ppb_font_dev.h" |
#include "ppapi/c/dev/ppb_fullscreen_dev.h" |
+#include "ppapi/c/dev/ppb_graphics_3d_dev.h" |
#include "ppapi/c/dev/ppb_memory_dev.h" |
+#include "ppapi/c/dev/ppb_opengles_dev.h" |
#include "ppapi/c/dev/ppb_scrollbar_dev.h" |
#include "ppapi/c/dev/ppb_surface_3d_dev.h" |
#include "ppapi/c/dev/ppb_testing_dev.h" |
@@ -19,12 +21,10 @@ |
#include "ppapi/c/ppb_file_ref.h" |
#include "ppapi/c/ppb_file_system.h" |
#include "ppapi/c/ppb_graphics_2d.h" |
-#include "ppapi/c/ppb_graphics_3d.h" |
#include "ppapi/c/ppb_image_data.h" |
#include "ppapi/c/ppb_input_event.h" |
#include "ppapi/c/ppb_instance.h" |
#include "ppapi/c/ppb_messaging.h" |
-#include "ppapi/c/ppb_opengles.h" |
#include "ppapi/c/ppb_url_loader.h" |
#include "ppapi/c/ppb_url_request_info.h" |
#include "ppapi/c/ppb_url_response_info.h" |
@@ -70,11 +70,6 @@ |
GetBrowserInterfaceSafe(PPB_GRAPHICS_2D_INTERFACE)); |
} |
-const PPB_Graphics3D* PPBGraphics3D() { |
- return reinterpret_cast<const PPB_Graphics3D*>( |
- GetBrowserInterface(PPB_GRAPHICS_3D_INTERFACE)); |
-} |
- |
const PPB_ImageData* PPBImageData() { |
return reinterpret_cast<const PPB_ImageData*>( |
GetBrowserInterfaceSafe(PPB_IMAGEDATA_INTERFACE)); |
@@ -105,11 +100,6 @@ |
GetBrowserInterfaceSafe(PPB_MOUSE_INPUT_EVENT_INTERFACE)); |
} |
-const PPB_OpenGLES2* PPBOpenGLES2() { |
- return reinterpret_cast<const PPB_OpenGLES2*>( |
- GetBrowserInterface(PPB_OPENGLES2_INTERFACE)); |
-} |
- |
const PPB_URLLoader* PPBURLLoader() { |
return reinterpret_cast<const PPB_URLLoader*>( |
GetBrowserInterfaceSafe(PPB_URLLOADER_INTERFACE)); |
@@ -148,6 +138,11 @@ |
GetBrowserInterface(PPB_CURSOR_CONTROL_DEV_INTERFACE)); |
} |
+const PPB_Graphics3D_Dev* PPBGraphics3DDev() { |
+ return reinterpret_cast<const PPB_Graphics3D_Dev*>( |
+ GetBrowserInterface(PPB_GRAPHICS_3D_DEV_INTERFACE)); |
+} |
+ |
const PPB_Font_Dev* PPBFontDev() { |
return reinterpret_cast<const PPB_Font_Dev*>( |
GetBrowserInterface(PPB_FONT_DEV_INTERFACE)); |
@@ -163,6 +158,11 @@ |
GetBrowserInterface(PPB_MEMORY_DEV_INTERFACE)); |
} |
+const PPB_OpenGLES2_Dev* PPBOpenGLES2Dev() { |
+ return reinterpret_cast<const PPB_OpenGLES2_Dev*>( |
+ GetBrowserInterface(PPB_OPENGLES2_DEV_INTERFACE)); |
+} |
+ |
const PPB_Scrollbar_Dev* PPBScrollbarDev() { |
return reinterpret_cast<const PPB_Scrollbar_Dev*>( |
GetBrowserInterface(PPB_SCROLLBAR_DEV_INTERFACE)); |
Property changes on: ppapi/native_client/tests/ppapi_test_lib/get_browser_interface.cc |
___________________________________________________________________ |
Added: svn:mergeinfo |