Chromium Code Reviews| 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..5f86a019905cd653cc585bf4d28fe3bf9efc6979 |
| --- /dev/null |
| +++ b/content/public/gpu/content_gpu_client.h |
| @@ -0,0 +1,25 @@ |
| +// 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() {} |
| + |
| + // Registers Mojo services. |
| + virtual void RegisterMojoServices(ServiceRegistry* registry) {} |
|
Owen Lin
2016/02/03 07:26:08
How about something like OnGpuThreadStarted(Servic
kcwu
2016/02/03 14:32:55
Done.
I added more description in the comment. For
|
| +}; |
| + |
| +} // namespace content |
| + |
| +#endif // CONTENT_PUBLIC_GPU_CONTENT_GPU_CLIENT_H_ |