Index: webkit/plugins/ppapi/ppapi_plugin_instance.h |
=================================================================== |
--- webkit/plugins/ppapi/ppapi_plugin_instance.h (revision 93075) |
+++ webkit/plugins/ppapi/ppapi_plugin_instance.h (working copy) |
@@ -70,6 +70,7 @@ |
class PluginModule; |
class PluginObject; |
class PPB_Graphics2D_Impl; |
+class PPB_Graphics3D_Impl; |
class PPB_ImageData_Impl; |
class PPB_Surface3D_Impl; |
class PPB_URLLoader_Impl; |
@@ -330,11 +331,16 @@ |
// Get the bound graphics context as a concrete 2D graphics context or returns |
// null if the context is not 2D. |
- PPB_Graphics2D_Impl* bound_graphics_2d() const; |
+ PPB_Graphics2D_Impl* GetBoundGraphics2D() const; |
+ // Get the bound 3D graphics context. |
+ // Returns NULL if bound graphics is not a 3D context. |
+ PPB_Graphics3D_Impl* GetBoundGraphics3D() const; |
+ |
+ // DEPRECATED: PPB_Surface3D_Impl is being replaced with PPB_Graphics3D_Impl. |
// Get the bound 3D graphics surface. |
// Returns NULL if bound graphics is not a 3D surface. |
- PPB_Surface3D_Impl* bound_graphics_3d() const; |
+ PPB_Surface3D_Impl* GetBoundSurface3D() const; |
// Sets the id of the texture that the plugin draws to. The id is in the |
// compositor space so it can use it to composite with rest of the page. |