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

Side by Side Diff: content/public/gpu/content_gpu_client.h

Issue 1641353003: GpuArcVideoService (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@arc-4-owen-ArcGpuVideoDecodeAccelerator
Patch Set: modify content gui client hook Created 4 years, 9 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_PUBLIC_GPU_CONTENT_GPU_CLIENT_H_ 5 #ifndef CONTENT_PUBLIC_GPU_CONTENT_GPU_CLIENT_H_
6 #define CONTENT_PUBLIC_GPU_CONTENT_GPU_CLIENT_H_ 6 #define CONTENT_PUBLIC_GPU_CONTENT_GPU_CLIENT_H_
7 7
8 #include "content/public/common/content_client.h" 8 #include "content/public/common/content_client.h"
9 9
10 namespace gpu {
11 struct GpuPreferences;
12 } // namespace gpu
13
10 namespace content { 14 namespace content {
11 15
12 class ServiceRegistry; 16 class ServiceRegistry;
13 17
14 // Embedder API for participating in gpu logic. 18 // Embedder API for participating in gpu logic.
15 class CONTENT_EXPORT ContentGpuClient { 19 class CONTENT_EXPORT ContentGpuClient {
16 public: 20 public:
17 virtual ~ContentGpuClient() {} 21 virtual ~ContentGpuClient() {}
18 22
19 // Allows client to register Mojo services in |registry| on the GPU process. 23 // Allows client to register Mojo services in |registry| on the GPU process.
20 // The registered services will be exposed to the browser process through 24 // The registered services will be exposed to the browser process through
21 // GpuProcessHost. 25 // GpuProcessHost.
22 virtual void RegisterMojoServices(ServiceRegistry* registry) {} 26 virtual void RegisterMojoServices(
27 ServiceRegistry* registry,
28 const gpu::GpuPreferences& gpu_preferences) {}
23 }; 29 };
24 30
25 } // namespace content 31 } // namespace content
26 32
27 #endif // CONTENT_PUBLIC_GPU_CONTENT_GPU_CLIENT_H_ 33 #endif // CONTENT_PUBLIC_GPU_CONTENT_GPU_CLIENT_H_
OLDNEW
« components/arc/common/video_accelerator.mojom ('K') | « content/gpu/gpu_child_thread.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698