summaryrefslogtreecommitdiff
path: root/chromium/content/public/browser/content_browser_client.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/content/public/browser/content_browser_client.h')
-rw-r--r--chromium/content/public/browser/content_browser_client.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/chromium/content/public/browser/content_browser_client.h b/chromium/content/public/browser/content_browser_client.h
index 63cb3851db0..d456708668d 100644
--- a/chromium/content/public/browser/content_browser_client.h
+++ b/chromium/content/public/browser/content_browser_client.h
@@ -69,6 +69,10 @@ namespace gfx {
class ImageSkia;
}
+namespace gl {
+class GLShareGroup;
+}
+
namespace media {
class AudioLogFactory;
class AudioManager;
@@ -740,6 +744,10 @@ class CONTENT_EXPORT ContentBrowserClient {
std::vector<std::unique_ptr<storage::FileSystemBackend>>*
additional_backends) {}
+ // Allow an embedder to provide a share group reimplementation to connect renderer
+ // GL contexts with the root compositor.
+ virtual gl::GLShareGroup* GetInProcessGpuShareGroup() { return 0; }
+
// Creates a new DevToolsManagerDelegate. The caller owns the returned value.
// It's valid to return nullptr.
virtual DevToolsManagerDelegate* GetDevToolsManagerDelegate();