summaryrefslogtreecommitdiffstats
path: root/content/renderer/render_widget_fullscreen_pepper.h
diff options
context:
space:
mode:
authorpiman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-07 06:41:20 +0000
committerpiman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-07 06:41:20 +0000
commitc26ad883dc1f62416070322edcaf3b5af191dd47 (patch)
tree5856dedabf2091814baa6b8eccb240b90687ef88 /content/renderer/render_widget_fullscreen_pepper.h
parenteef7d0a275d8f3aca3ca8c914a6989aaa204a1bf (diff)
downloadchromium_src-c26ad883dc1f62416070322edcaf3b5af191dd47.zip
chromium_src-c26ad883dc1f62416070322edcaf3b5af191dd47.tar.gz
chromium_src-c26ad883dc1f62416070322edcaf3b5af191dd47.tar.bz2
Move gpu client files to content_common, in content/common/gpu/client
BUG=99516 TEST=compiles Review URL: http://codereview.chromium.org/9340012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@120729 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/renderer/render_widget_fullscreen_pepper.h')
-rw-r--r--content/renderer/render_widget_fullscreen_pepper.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/content/renderer/render_widget_fullscreen_pepper.h b/content/renderer/render_widget_fullscreen_pepper.h
index 9179668..ede1819 100644
--- a/content/renderer/render_widget_fullscreen_pepper.h
+++ b/content/renderer/render_widget_fullscreen_pepper.h
@@ -6,9 +6,9 @@
#define CONTENT_RENDERER_RENDER_WIDGET_FULLSCREEN_PEPPER_H_
#include "base/memory/weak_ptr.h"
+#include "content/common/gpu/client/content_gl_context.h"
#include "content/renderer/pepper_parent_context_provider.h"
#include "content/renderer/render_widget_fullscreen.h"
-#include "content/renderer/gpu/renderer_gl_context.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebWidget.h"
#include "webkit/plugins/ppapi/fullscreen_container.h"
@@ -41,7 +41,7 @@ class RenderWidgetFullscreenPepper : public RenderWidgetFullscreen,
virtual webkit::ppapi::PluginDelegate::PlatformContext3D*
CreateContext3D() OVERRIDE;
- RendererGLContext* context() const { return context_; }
+ ContentGLContext* context() const { return context_; }
void SwapBuffers();
// Could be NULL when this widget is closing.
@@ -83,14 +83,14 @@ class RenderWidgetFullscreenPepper : public RenderWidgetFullscreen,
bool CheckCompositing();
// Called when the compositing context gets lost.
- void OnLostContext(RendererGLContext::ContextLostReason);
+ void OnLostContext(ContentGLContext::ContextLostReason);
- // Binding of RendererGLContext swapbuffers callback to
+ // Binding of ContentGLContext swapbuffers callback to
// RenderWidget::OnSwapBuffersCompleted.
- void OnSwapBuffersCompleteByRendererGLContext();
+ void OnSwapBuffersCompleteByContentGLContext();
// Implementation of PepperParentContextProvider.
- virtual RendererGLContext* GetParentContextForPlatformContext3D() OVERRIDE;
+ virtual ContentGLContext* GetParentContextForPlatformContext3D() OVERRIDE;
// URL that is responsible for this widget, passed to ggl::CreateViewContext.
GURL active_url_;
@@ -99,7 +99,7 @@ class RenderWidgetFullscreenPepper : public RenderWidgetFullscreen,
webkit::ppapi::PluginInstance* plugin_;
// GL context for compositing.
- RendererGLContext* context_;
+ ContentGLContext* context_;
unsigned int buffer_;
unsigned int program_;