Index: content/renderer/renderer_webkitplatformsupport_impl.h |
diff --git a/content/renderer/renderer_webkitplatformsupport_impl.h b/content/renderer/renderer_webkitplatformsupport_impl.h |
index e6f1eef5ce817be3ccdaa25273bbddb1acc7aa82..530e1a0d3e0d1de22a7b381529c5f76b85a0eb30 100644 |
--- a/content/renderer/renderer_webkitplatformsupport_impl.h |
+++ b/content/renderer/renderer_webkitplatformsupport_impl.h |
@@ -14,6 +14,10 @@ |
#include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBFactory.h" |
#include "third_party/WebKit/Source/WebKit/chromium/public/WebSharedWorkerRepository.h" |
+namespace cc { |
+class ContextProvider; |
+} |
+ |
namespace webkit_glue { |
class WebClipboardImpl; |
} |
@@ -100,6 +104,10 @@ class CONTENT_EXPORT RendererWebKitPlatformSupportImpl |
WebKit::WebMediaStreamCenterClient* client); |
virtual bool processMemorySizesInBytes( |
size_t* private_bytes, size_t* shared_bytes); |
+ virtual WebKit::WebGraphicsContext3D* createOffscreenGraphicsContext3D( |
+ const WebKit::WebGraphicsContext3D::Attributes& attributes); |
+ virtual WebKit::WebGraphicsContext3D* sharedOffscreenGraphicsContext3D(); |
+ virtual GrContext* sharedOffscreenGrContext(); |
// Disables the WebSandboxSupport implementation for testing. |
// Tests that do not set up a full sandbox environment should call |
@@ -113,9 +121,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; |
@@ -154,6 +159,8 @@ class CONTENT_EXPORT RendererWebKitPlatformSupportImpl |
scoped_ptr<WebKit::WebBlobRegistry> blob_registry_; |
scoped_ptr<GamepadSharedMemoryReader> gamepad_shared_memory_reader_; |
+ |
+ scoped_refptr<cc::ContextProvider> shared_offscreen_context_; |
}; |
} // namespace content |