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.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/chromium/content/public/browser/content_browser_client.h b/chromium/content/public/browser/content_browser_client.h
index 1f5e8362f52..21687691706 100644
--- a/chromium/content/public/browser/content_browser_client.h
+++ b/chromium/content/public/browser/content_browser_client.h
@@ -48,6 +48,7 @@ class CryptoModuleBlockingPasswordDelegate;
}
namespace gfx {
+class GLShareGroup;
class ImageSkia;
}
@@ -563,6 +564,10 @@ class CONTENT_EXPORT ContentBrowserClient {
// Return NULL to use the default one for the platform to be created.
virtual LocationProvider* OverrideSystemLocationProvider();
+ // Allow an embedder to provide a share group reimplementation to connect renderer
+ // GL contexts with the root compositor.
+ virtual gfx::GLShareGroup* GetInProcessGpuShareGroup() { return 0; }
+
#if defined(OS_POSIX) && !defined(OS_MACOSX)
// Populates |mappings| with all files that need to be mapped before launching
// a child process.