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

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

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 #include "content/gpu/gpu_child_thread.h" 5 #include "content/gpu/gpu_child_thread.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 193
194 if (GetContentClient()->gpu()) { // NULL in tests. 194 if (GetContentClient()->gpu()) { // NULL in tests.
195 GetContentClient()->gpu()->ExposeInterfacesToBrowser(GetInterfaceRegistry(), 195 GetContentClient()->gpu()->ExposeInterfacesToBrowser(GetInterfaceRegistry(),
196 gpu_preferences); 196 gpu_preferences);
197 GetContentClient()->gpu()->ConsumeInterfacesFromBrowser(GetConnector()); 197 GetContentClient()->gpu()->ConsumeInterfacesFromBrowser(GetConnector());
198 } 198 }
199 199
200 GetInterfaceRegistry()->ResumeBinding(); 200 GetInterfaceRegistry()->ResumeBinding();
201 } 201 }
202 202
203 void GpuChildThread::CreateDisplayCompositor( 203 void GpuChildThread::CreateFrameSinkManager(
204 cc::mojom::DisplayCompositorRequest request, 204 cc::mojom::FrameSinkManagerRequest request,
205 cc::mojom::DisplayCompositorClientPtr client) { 205 cc::mojom::FrameSinkManagerClientPtr client) {
206 NOTREACHED(); 206 NOTREACHED();
207 } 207 }
208 208
209 void GpuChildThread::BindServiceFactoryRequest( 209 void GpuChildThread::BindServiceFactoryRequest(
210 service_manager::mojom::ServiceFactoryRequest request) { 210 service_manager::mojom::ServiceFactoryRequest request) {
211 DVLOG(1) << "GPU: Binding service_manager::mojom::ServiceFactoryRequest"; 211 DVLOG(1) << "GPU: Binding service_manager::mojom::ServiceFactoryRequest";
212 DCHECK(service_factory_); 212 DCHECK(service_factory_);
213 service_factory_bindings_.AddBinding(service_factory_.get(), 213 service_factory_bindings_.AddBinding(service_factory_.get(),
214 std::move(request)); 214 std::move(request));
215 } 215 }
216 216
217 } // namespace content 217 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698