summaryrefslogtreecommitdiffstats
path: root/content/renderer/pepper/ppb_graphics_3d_impl.h
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-28 21:21:09 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-28 21:21:09 +0000
commit90b53bef6fd248d428c0c19194dbcebb3c70df5c (patch)
tree76194bac8334df62b8b079ef611b7b3d575b4b43 /content/renderer/pepper/ppb_graphics_3d_impl.h
parent99a6393a45b515baa7dc13516c5909207d39783f (diff)
downloadchromium_src-90b53bef6fd248d428c0c19194dbcebb3c70df5c.zip
chromium_src-90b53bef6fd248d428c0c19194dbcebb3c70df5c.tar.gz
chromium_src-90b53bef6fd248d428c0c19194dbcebb3c70df5c.tar.bz2
Get rid of PluginDelegate::PlatformGraphics3D abstraction now that pepper plugin code is in content.
BUG=263054 R=scottmg@chromium.org Review URL: https://codereview.chromium.org/20823003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@214138 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/renderer/pepper/ppb_graphics_3d_impl.h')
-rw-r--r--content/renderer/pepper/ppb_graphics_3d_impl.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/content/renderer/pepper/ppb_graphics_3d_impl.h b/content/renderer/pepper/ppb_graphics_3d_impl.h
index 4d29bdc..e00695a 100644
--- a/content/renderer/pepper/ppb_graphics_3d_impl.h
+++ b/content/renderer/pepper/ppb_graphics_3d_impl.h
@@ -6,11 +6,11 @@
#define CONTENT_RENDERER_PEPPER_PPB_GRAPHICS_3D_IMPL_H_
#include "base/memory/weak_ptr.h"
-#include "content/renderer/pepper/plugin_delegate.h"
#include "ppapi/shared_impl/ppb_graphics_3d_shared.h"
#include "ppapi/shared_impl/resource.h"
namespace content {
+class PlatformContext3D;
class PPB_Graphics3D_Impl : public ::ppapi::PPB_Graphics3D_Shared {
public:
@@ -49,9 +49,7 @@ class PPB_Graphics3D_Impl : public ::ppapi::PPB_Graphics3D_Shared {
void ViewInitiatedPaint();
void ViewFlushedPaint();
- PluginDelegate::PlatformContext3D* platform_context() {
- return platform_context_.get();
- }
+ PlatformContext3D* platform_context() { return platform_context_.get(); }
protected:
virtual ~PPB_Graphics3D_Impl();
@@ -80,8 +78,8 @@ class PPB_Graphics3D_Impl : public ::ppapi::PPB_Graphics3D_Shared {
bool bound_to_instance_;
// True when waiting for compositor to commit our backing texture.
bool commit_pending_;
- // PluginDelegate's 3D Context. Responsible for providing the command buffer.
- scoped_ptr<PluginDelegate::PlatformContext3D> platform_context_;
+ // The 3D Context. Responsible for providing the command buffer.
+ scoped_ptr<PlatformContext3D> platform_context_;
base::WeakPtrFactory<PPB_Graphics3D_Impl> weak_ptr_factory_;
DISALLOW_COPY_AND_ASSIGN(PPB_Graphics3D_Impl);