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

Unified Diff: content/public/gpu/content_gpu_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/gpu/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/gpu/content_gpu_client.h
diff --git a/content/public/gpu/content_gpu_client.h b/content/public/gpu/content_gpu_client.h
new file mode 100644
index 0000000000000000000000000000000000000000..3b0095b1f941bafa60f0c9bc41e0cc2082a4408e
--- /dev/null
+++ b/content/public/gpu/content_gpu_client.h
@@ -0,0 +1,27 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CONTENT_PUBLIC_GPU_CONTENT_GPU_CLIENT_H_
+#define CONTENT_PUBLIC_GPU_CONTENT_GPU_CLIENT_H_
+
+#include "content/public/common/content_client.h"
+
+namespace content {
+
+class ServiceRegistry;
+
+// Embedder API for participating in gpu logic.
+class CONTENT_EXPORT ContentGpuClient {
+ public:
+ virtual ~ContentGpuClient() {}
+
+ // Allows client to register Mojo services in |registry| on the GPU process.
+ // The registered services will be exposed to the browser process through
+ // GpuProcessHost.
+ virtual void RegisterMojoServices(ServiceRegistry* registry) {}
+};
+
+} // namespace content
+
+#endif // CONTENT_PUBLIC_GPU_CONTENT_GPU_CLIENT_H_
« no previous file with comments | « content/public/gpu/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698