| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CONTENT_PUBLIC_GPU_CONTENT_GPU_CLIENT_H_ |
| 6 #define CONTENT_PUBLIC_GPU_CONTENT_GPU_CLIENT_H_ |
| 7 |
| 8 #include "content/public/common/content_client.h" |
| 9 |
| 10 namespace content { |
| 11 |
| 12 class ServiceRegistry; |
| 13 |
| 14 // Embedder API for participating in gpu logic. |
| 15 class CONTENT_EXPORT ContentGpuClient { |
| 16 public: |
| 17 virtual ~ContentGpuClient() {} |
| 18 |
| 19 // Allows client to register Mojo services in |registry| on the GPU process. |
| 20 // The registered services will be exposed to the browser process through |
| 21 // GpuProcessHost. |
| 22 virtual void RegisterMojoServices(ServiceRegistry* registry) {} |
| 23 }; |
| 24 |
| 25 } // namespace content |
| 26 |
| 27 #endif // CONTENT_PUBLIC_GPU_CONTENT_GPU_CLIENT_H_ |
| OLD | NEW |