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

Unified Diff: content/public/common/content_client.h

Issue 1646853002: Add embedder api for participating in gpu logic (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix crash in tests Created 4 years, 10 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 | « content/public/browser/gpu_service_registry.cc ('k') | content/public/common/content_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/content_client.h
diff --git a/content/public/common/content_client.h b/content/public/common/content_client.h
index 9d51d5ba83d4cf5a458f84137d963d39063c7c40..5bd865d9412287a8e38627be0d897ccd7399f792 100644
--- a/content/public/common/content_client.h
+++ b/content/public/common/content_client.h
@@ -42,6 +42,7 @@ namespace content {
class ContentBrowserClient;
class ContentClient;
+class ContentGpuClient;
class ContentPluginClient;
class ContentRendererClient;
class ContentUtilityClient;
@@ -72,6 +73,7 @@ class CONTENT_EXPORT ContentClient {
virtual ~ContentClient();
ContentBrowserClient* browser() { return browser_; }
+ ContentGpuClient* gpu() { return gpu_; }
ContentPluginClient* plugin() { return plugin_; }
ContentRendererClient* renderer() { return renderer_; }
ContentUtilityClient* utility() { return utility_; }
@@ -159,6 +161,8 @@ class CONTENT_EXPORT ContentClient {
// The embedder API for participating in browser logic.
ContentBrowserClient* browser_;
+ // The embedder API for participating in gpu logic.
+ ContentGpuClient* gpu_;
// The embedder API for participating in plugin logic.
ContentPluginClient* plugin_;
// The embedder API for participating in renderer logic.
« no previous file with comments | « content/public/browser/gpu_service_registry.cc ('k') | content/public/common/content_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698