Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3007)

Unified Diff: content/renderer/render_widget_fullscreen_pepper.h

Issue 9340012: Move gpu client files to content_common, in content/common/gpu/client (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove unneeded enums Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | content/renderer/render_widget_fullscreen_pepper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_widget_fullscreen_pepper.h
diff --git a/content/renderer/render_widget_fullscreen_pepper.h b/content/renderer/render_widget_fullscreen_pepper.h
index 9179668645450da361742d7ec46a3f017299efca..ede1819d2674ab33ef6240edb2b9a212b857aecc 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_;
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | content/renderer/render_widget_fullscreen_pepper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698