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

Side by Side Diff: content/gpu/gpu_child_thread.h

Issue 2797453002: Rename DisplayCompositor to MojoFrameSinkManager. (Closed)
Patch Set: Fix comments. Created 3 years, 8 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_GPU_GPU_CHILD_THREAD_H_ 5 #ifndef CONTENT_GPU_GPU_CHILD_THREAD_H_
6 #define CONTENT_GPU_GPU_CHILD_THREAD_H_ 6 #define CONTENT_GPU_GPU_CHILD_THREAD_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 // IPC::Listener implementation via ChildThreadImpl: 87 // IPC::Listener implementation via ChildThreadImpl:
88 void OnAssociatedInterfaceRequest( 88 void OnAssociatedInterfaceRequest(
89 const std::string& name, 89 const std::string& name,
90 mojo::ScopedInterfaceEndpointHandle handle) override; 90 mojo::ScopedInterfaceEndpointHandle handle) override;
91 91
92 // ui::mojom::GpuMain: 92 // ui::mojom::GpuMain:
93 void CreateGpuService(ui::mojom::GpuServiceRequest request, 93 void CreateGpuService(ui::mojom::GpuServiceRequest request,
94 ui::mojom::GpuHostPtr gpu_host, 94 ui::mojom::GpuHostPtr gpu_host,
95 const gpu::GpuPreferences& preferences, 95 const gpu::GpuPreferences& preferences,
96 mojo::ScopedSharedBufferHandle activity_flags) override; 96 mojo::ScopedSharedBufferHandle activity_flags) override;
97 void CreateDisplayCompositor( 97 void CreateFrameSinkManager(
98 cc::mojom::DisplayCompositorRequest request, 98 cc::mojom::FrameSinkManagerRequest request,
99 cc::mojom::DisplayCompositorClientPtr client) override; 99 cc::mojom::FrameSinkManagerClientPtr client) override;
100 100
101 // base::FieldTrialList::Observer: 101 // base::FieldTrialList::Observer:
102 void OnFieldTrialGroupFinalized(const std::string& trial_name, 102 void OnFieldTrialGroupFinalized(const std::string& trial_name,
103 const std::string& group_name) override; 103 const std::string& group_name) override;
104 104
105 void BindServiceFactoryRequest( 105 void BindServiceFactoryRequest(
106 service_manager::mojom::ServiceFactoryRequest request); 106 service_manager::mojom::ServiceFactoryRequest request);
107 107
108 gpu::GpuChannelManager* gpu_channel_manager() { 108 gpu::GpuChannelManager* gpu_channel_manager() {
109 return gpu_service_->gpu_channel_manager(); 109 return gpu_service_->gpu_channel_manager();
(...skipping 19 matching lines...) Expand all
129 AssociatedInterfaceRegistryImpl associated_interfaces_; 129 AssociatedInterfaceRegistryImpl associated_interfaces_;
130 std::unique_ptr<ui::GpuService> gpu_service_; 130 std::unique_ptr<ui::GpuService> gpu_service_;
131 mojo::AssociatedBinding<ui::mojom::GpuMain> gpu_main_binding_; 131 mojo::AssociatedBinding<ui::mojom::GpuMain> gpu_main_binding_;
132 132
133 DISALLOW_COPY_AND_ASSIGN(GpuChildThread); 133 DISALLOW_COPY_AND_ASSIGN(GpuChildThread);
134 }; 134 };
135 135
136 } // namespace content 136 } // namespace content
137 137
138 #endif // CONTENT_GPU_GPU_CHILD_THREAD_H_ 138 #endif // CONTENT_GPU_GPU_CHILD_THREAD_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698