Chromium Code Reviews| Index: webkit/plugins/ppapi/ppapi_plugin_instance.h |
| =================================================================== |
| --- webkit/plugins/ppapi/ppapi_plugin_instance.h (revision 92890) |
| +++ 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; |
| @@ -332,9 +333,14 @@ |
| // null if the context is not 2D. |
| PPB_Graphics2D_Impl* bound_graphics_2d() const; |
| + // Get the bound 3D graphics context. |
| + // Returns NULL if bound graphics is not a 3D context. |
| + PPB_Graphics3D_Impl* bound_graphics_3d() const; |
|
brettw
2011/07/18 23:09:51
Can you call this GetBoundsGraphics3D? The other o
alokp
2011/07/19 16:32:59
DONE. I replaced all the wrong ones.
|
| + |
| + // 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* bound_surface_3d() 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. |