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

Unified Diff: content/renderer/render_widget_fullscreen_pepper.h

Issue 12673002: pepper: Use the RenderThread's shared context as the parent context. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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
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 a20d53c9baa303831a9e11364cf39213f302f3a1..b2e021ae2a7f7aca356d17a33cb62f7602d59c70 100644
--- a/content/renderer/render_widget_fullscreen_pepper.h
+++ b/content/renderer/render_widget_fullscreen_pepper.h
@@ -9,7 +9,6 @@
#include "base/memory/weak_ptr.h"
#include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h"
#include "content/renderer/mouse_lock_dispatcher.h"
-#include "content/renderer/pepper/pepper_parent_context_provider.h"
#include "content/renderer/render_widget_fullscreen.h"
#include "third_party/WebKit/Source/Platform/chromium/public/WebGraphicsContext3D.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebWidget.h"
@@ -32,7 +31,6 @@ class WebGraphicsContext3DCommandBufferImpl;
class RenderWidgetFullscreenPepper :
public RenderWidgetFullscreen,
public webkit::ppapi::FullscreenContainer,
- public PepperParentContextProvider,
public WebGraphicsContext3DSwapBuffersClient {
public:
static RenderWidgetFullscreenPepper* Create(
@@ -54,8 +52,6 @@ class RenderWidgetFullscreenPepper :
virtual void DidChangeCursor(const WebKit::WebCursorInfo& cursor) OVERRIDE;
virtual webkit::ppapi::PluginDelegate::PlatformContext3D*
CreateContext3D() OVERRIDE;
- virtual void ReparentContext(
- webkit::ppapi::PluginDelegate::PlatformContext3D*) OVERRIDE;
// IPC::Listener implementation. This overrides the implementation
// in RenderWidgetFullscreen.
@@ -111,10 +107,6 @@ class RenderWidgetFullscreenPepper :
// and notify the browser.
bool CheckCompositing();
- // Implementation of PepperParentContextProvider.
- virtual WebGraphicsContext3DCommandBufferImpl*
- GetParentContextForPlatformContext3D() OVERRIDE;
-
// URL that is responsible for this widget, passed to ggl::CreateViewContext.
GURL active_url_;

Powered by Google App Engine
This is Rietveld 408576698