| 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_
|
|
|