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

Unified Diff: content/common/webkitplatformsupport_impl.h

Issue 12212100: Provide shared context to Platform API in renderer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: CreateOffscreenContext() Created 7 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
Index: content/common/webkitplatformsupport_impl.h
diff --git a/content/common/webkitplatformsupport_impl.h b/content/common/webkitplatformsupport_impl.h
index 889fb753da73c7a6828c2cd6a6f5c007650c4594..67cba13b8e3d8e630124cae54fa67a998dac90f5 100644
--- a/content/common/webkitplatformsupport_impl.h
+++ b/content/common/webkitplatformsupport_impl.h
@@ -11,7 +11,6 @@
#include "webkit/glue/webkitplatformsupport_impl.h"
namespace content {
-class GpuChannelHostFactory;
// This is a specialization of WebKitPlatformSupportImpl that implements the
// embedder functions in terms of ContentClient.
@@ -35,14 +34,13 @@ class CONTENT_EXPORT WebKitPlatformSupportImpl
virtual webkit_glue::WebSocketStreamHandleBridge* CreateWebSocketBridge(
WebKit::WebSocketStreamHandle* handle,
webkit_glue::WebSocketStreamHandleDelegate* delegate) OVERRIDE;
- virtual WebKit::WebGraphicsContext3D* createOffscreenGraphicsContext3D(
- const WebKit::WebGraphicsContext3D::Attributes& attributes);
+ // Override the offscreen context creation for the renderer.
static void SetOffscreenContextFactoryForTest(
OffscreenContextFactory factory);
protected:
- virtual GpuChannelHostFactory* GetGpuChannelHostFactory();
+ static OffscreenContextFactory* OffscreenContextFactoryForTest();
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698