summaryrefslogtreecommitdiffstats
path: root/webkit/plugins/ppapi/ppapi_plugin_instance.h
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/plugins/ppapi/ppapi_plugin_instance.h')
-rw-r--r--webkit/plugins/ppapi/ppapi_plugin_instance.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/webkit/plugins/ppapi/ppapi_plugin_instance.h b/webkit/plugins/ppapi/ppapi_plugin_instance.h
index d284580..c122ada 100644
--- a/webkit/plugins/ppapi/ppapi_plugin_instance.h
+++ b/webkit/plugins/ppapi/ppapi_plugin_instance.h
@@ -70,6 +70,7 @@ class PluginDelegate;
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 @@ class PluginInstance : public base::RefCounted<PluginInstance>,
// 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.