summaryrefslogtreecommitdiff
path: root/chromium/content/public/browser/content_browser_client.h
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@theqtcompany.com>2016-08-04 18:07:02 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2018-05-23 13:31:33 +0200
commitf5884c47c29bc65e6ce78b790a782e5ecf17e3b6 (patch)
tree1c2d29ec59eaca328c17b0c7342336752a48853b /chromium/content/public/browser/content_browser_client.h
parente6fbb0a33e5d34bcdace02c0eef046a47b563fe8 (diff)
downloadqtwebengine-chromium-f5884c47c29bc65e6ce78b790a782e5ecf17e3b6.tar.gz
Add accessors and seams for the Qt delegated renderer integration.
This is needed to fetch the MessageLoop, the MailboxManager and the SyncPointManager of the GPU in-process host. And fetch the right shared context for the in GPU thread. Change-Id: I7f38e32b2df11da5b046f16643841d34260c11fb Reviewed-by: Michael BrĂ¼ning <michael.bruning@theqtcompany.com> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
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();