Chromium Code Reviews| 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 // Registers Mojo services. | |
| 20 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
| |
| 21 }; | |
| 22 | |
| 23 } // namespace content | |
| 24 | |
| 25 #endif // CONTENT_PUBLIC_GPU_CONTENT_GPU_CLIENT_H_ | |
| OLD | NEW |