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

Unified Diff: webkit/glue/plugins/pepper_graphics_3d.cc

Issue 3255003: Pull new PPAPI, rename non-P0 interfaces to Dev, rename DeviceContext2D to Gr... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 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 | « webkit/glue/plugins/pepper_graphics_3d.h ('k') | webkit/glue/plugins/pepper_graphics_3d_gl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/plugins/pepper_graphics_3d.cc
===================================================================
--- webkit/glue/plugins/pepper_graphics_3d.cc (revision 57791)
+++ webkit/glue/plugins/pepper_graphics_3d.cc (working copy)
@@ -7,6 +7,7 @@
#include "gpu/command_buffer/common/command_buffer.h"
#include "base/singleton.h"
#include "base/thread_local.h"
+#include "third_party/ppapi/c/dev/ppb_graphics_3d_dev.h"
#include "webkit/glue/plugins/pepper_plugin_instance.h"
namespace pepper {
@@ -104,7 +105,7 @@
return PP_GRAPHICS_3D_ERROR_SUCCESS;
}
-const PPB_Graphics3D ppb_graphics3d = {
+const PPB_Graphics3D_Dev ppb_graphics3d = {
&IsGraphics3D,
&GetConfigs,
&ChooseConfig,
@@ -118,7 +119,6 @@
&GetError
};
-
} // namespace
Graphics3D::Graphics3D(PluginModule* module)
@@ -128,7 +128,7 @@
method_factory3d_(ALLOW_THIS_IN_INITIALIZER_LIST(this)) {
}
-const PPB_Graphics3D* Graphics3D::GetInterface() {
+const PPB_Graphics3D_Dev* Graphics3D::GetInterface() {
return &ppb_graphics3d;
}
« no previous file with comments | « webkit/glue/plugins/pepper_graphics_3d.h ('k') | webkit/glue/plugins/pepper_graphics_3d_gl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698