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 8633105ed1a..639998fa5d9 100644
--- a/chromium/content/public/browser/content_browser_client.h
+++ b/chromium/content/public/browser/content_browser_client.h
@@ -45,6 +45,7 @@ class FilePath;
}
namespace gfx {
+class GLShareGroup;
class ImageSkia;
}
@@ -582,6 +583,10 @@ class CONTENT_EXPORT ContentBrowserClient {
// information.
virtual VibrationProvider* OverrideVibrationProvider();
+ // 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.