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

Unified Diff: content/common/webkitplatformsupport_impl.h

Issue 10386145: Add the necessary plumbing mechanisms to ensure proper WebGL support inside the <browser> tag, whic… (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 7 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 | « no previous file | content/common/webkitplatformsupport_impl.cc » ('j') | ppapi/proxy/ppb_graphics_3d_proxy.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/webkitplatformsupport_impl.h
diff --git a/content/common/webkitplatformsupport_impl.h b/content/common/webkitplatformsupport_impl.h
index c190ae630ac881fc7aa44ed5b19f08d421404926..0998be9824acfb9c223fd67aff156b5326a5e911 100644
--- a/content/common/webkitplatformsupport_impl.h
+++ b/content/common/webkitplatformsupport_impl.h
@@ -12,6 +12,10 @@
class GpuChannelHostFactory;
+namespace WebKit {
+ class WebView;
+}
+
namespace content {
// This is a specialization of WebKitPlatformSupportImpl that implements the
@@ -35,7 +39,8 @@ class CONTENT_EXPORT WebKitPlatformSupportImpl
WebKit::WebSocketStreamHandle* handle,
webkit_glue::WebSocketStreamHandleDelegate* delegate) OVERRIDE;
virtual WebKit::WebGraphicsContext3D* createOffscreenGraphicsContext3D(
- const WebKit::WebGraphicsContext3D::Attributes& attributes);
+ const WebKit::WebGraphicsContext3D::Attributes& attributes,
+ WebKit::WebView* webView);
piman 2012/05/15 20:59:17 NAK, the offscreen contexts are shared between web
(scshunt) 2012/05/16 16:39:43 See the WebKit bug thread for some discussion of t
piman 2012/05/16 17:12:00 This is flawed. See the discussion there. I don't
Fady Samuel 2012/05/16 17:40:54 I agree, let's split this up into two cls. As for
protected:
virtual GpuChannelHostFactory* GetGpuChannelHostFactory();
« no previous file with comments | « no previous file | content/common/webkitplatformsupport_impl.cc » ('j') | ppapi/proxy/ppb_graphics_3d_proxy.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698