Index: webkit/glue/plugins/pepper_graphics_3d.h |
=================================================================== |
--- webkit/glue/plugins/pepper_graphics_3d.h (revision 57791) |
+++ webkit/glue/plugins/pepper_graphics_3d.h (working copy) |
@@ -8,11 +8,10 @@ |
#include "base/scoped_ptr.h" |
#include "gpu/command_buffer/client/gles2_cmd_helper.h" |
#include "gpu/command_buffer/client/gles2_implementation.h" |
-#include "third_party/ppapi/c/ppb_graphics_3d.h" |
+#include "third_party/ppapi/c/pp_instance.h" |
#include "webkit/glue/plugins/pepper_plugin_delegate.h" |
#include "webkit/glue/plugins/pepper_resource.h" |
- |
namespace gfx { |
class Rect; |
} // namespace gfx |
@@ -21,7 +20,8 @@ |
class CommandBuffer; |
} // namespace gpu |
-typedef struct _ppb_OpenGLES PPB_OpenGLES; |
+struct PPB_Graphics3D_Dev; |
+struct PPB_OpenGLES_Dev; |
namespace pepper { |
@@ -31,10 +31,9 @@ |
virtual ~Graphics3D(); |
- static const PPB_Graphics3D* GetInterface(); |
+ static const PPB_Graphics3D_Dev* GetInterface(); |
+ static const PPB_OpenGLES_Dev* GetOpenGLESInterface(); |
- static const PPB_OpenGLES* GetOpenGLESInterface(); |
- |
static bool Shutdown(); |
static Graphics3D* GetCurrent(); |