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

Unified Diff: content/renderer/renderer_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: no ifdefs 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/renderer/renderer_webkitplatformsupport_impl.h
diff --git a/content/renderer/renderer_webkitplatformsupport_impl.h b/content/renderer/renderer_webkitplatformsupport_impl.h
index 41100dd99801818144fb617cf3fd5c6a92b3c862..735f7b2876a065b138b362546e575720b7201134 100644
--- a/content/renderer/renderer_webkitplatformsupport_impl.h
+++ b/content/renderer/renderer_webkitplatformsupport_impl.h
@@ -98,6 +98,9 @@ class CONTENT_EXPORT RendererWebKitPlatformSupportImpl
const WebKit::WebString& locale);
virtual bool processMemorySizesInBytes(
size_t* private_bytes, size_t* shared_bytes);
+ virtual WebKit::WebGraphicsContext3D* createOffscreenGraphicsContext3D(
+ const WebKit::WebGraphicsContext3D::Attributes& attributes);
+ virtual WebKit::WebGraphicsContext3D* sharedOffscreenGraphicsContext3D();
// Disables the WebSandboxSupport implementation for testing.
// Tests that do not set up a full sandbox environment should call
@@ -111,9 +114,6 @@ class CONTENT_EXPORT RendererWebKitPlatformSupportImpl
// Set WebGamepads to return when sampleGamepads() is invoked.
static void SetMockGamepadsForTesting(const WebKit::WebGamepads& pads);
- protected:
- virtual GpuChannelHostFactory* GetGpuChannelHostFactory() OVERRIDE;
-
private:
bool CheckPreparsedJsCachingEnabled() const;

Powered by Google App Engine
This is Rietveld 408576698