Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1211)

Unified Diff: tests/ppapi_test_lib/get_browser_interface.cc

Issue 7631010: NaCl Proxy for graphics3d. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: '' Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/ppapi_test_lib/get_browser_interface.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/ppapi_test_lib/get_browser_interface.cc
===================================================================
--- tests/ppapi_test_lib/get_browser_interface.cc (revision 6482)
+++ tests/ppapi_test_lib/get_browser_interface.cc (working copy)
@@ -7,7 +7,9 @@
#include "native_client/src/third_party/ppapi/c/dev/ppb_context_3d_dev.h"
#include "native_client/src/third_party/ppapi/c/dev/ppb_cursor_control_dev.h"
#include "native_client/src/third_party/ppapi/c/dev/ppb_font_dev.h"
+#include "native_client/src/third_party/ppapi/c/dev/ppb_graphics_3d_dev.h"
#include "native_client/src/third_party/ppapi/c/dev/ppb_memory_dev.h"
+#include "native_client/src/third_party/ppapi/c/dev/ppb_opengles_dev.h"
#include "native_client/src/third_party/ppapi/c/dev/ppb_scrollbar_dev.h"
#include "native_client/src/third_party/ppapi/c/dev/ppb_surface_3d_dev.h"
#include "native_client/src/third_party/ppapi/c/dev/ppb_testing_dev.h"
@@ -135,6 +137,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));
@@ -145,6 +152,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));
« no previous file with comments | « tests/ppapi_test_lib/get_browser_interface.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698