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

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

Issue 1823763003: Move more files to gpu/ipc/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed GYP build 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
« no previous file with comments | « content/gpu/gpu_child_thread.h ('k') | gpu/gpu_ipc_common.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 300 matching lines...) Expand 10 before | Expand all | Expand 10 after
311 void GpuChildThread::DidDestroyOffscreenContext(const GURL& active_url) { 311 void GpuChildThread::DidDestroyOffscreenContext(const GURL& active_url) {
312 Send(new GpuHostMsg_DidDestroyOffscreenContext(active_url)); 312 Send(new GpuHostMsg_DidDestroyOffscreenContext(active_url));
313 } 313 }
314 314
315 void GpuChildThread::DidLoseContext(bool offscreen, 315 void GpuChildThread::DidLoseContext(bool offscreen,
316 gpu::error::ContextLostReason reason, 316 gpu::error::ContextLostReason reason,
317 const GURL& active_url) { 317 const GURL& active_url) {
318 Send(new GpuHostMsg_DidLoseContext(offscreen, reason, active_url)); 318 Send(new GpuHostMsg_DidLoseContext(offscreen, reason, active_url));
319 } 319 }
320 320
321 void GpuChildThread::GpuMemoryUmaStats(const GPUMemoryUmaStats& params) { 321 void GpuChildThread::GpuMemoryUmaStats(const gpu::GPUMemoryUmaStats& params) {
322 Send(new GpuHostMsg_GpuMemoryUmaStats(params)); 322 Send(new GpuHostMsg_GpuMemoryUmaStats(params));
323 } 323 }
324 324
325 void GpuChildThread::RemoveSubscription(int32_t client_id, 325 void GpuChildThread::RemoveSubscription(int32_t client_id,
326 unsigned int target) { 326 unsigned int target) {
327 Send(new GpuHostMsg_RemoveSubscription(client_id, target)); 327 Send(new GpuHostMsg_RemoveSubscription(client_id, target));
328 } 328 }
329 329
330 #if defined(OS_MACOSX) 330 #if defined(OS_MACOSX)
331 void GpuChildThread::SendAcceleratedSurfaceBuffersSwapped( 331 void GpuChildThread::SendAcceleratedSurfaceBuffersSwapped(
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
562 562
563 void GpuChildThread::BindProcessControlRequest( 563 void GpuChildThread::BindProcessControlRequest(
564 mojo::InterfaceRequest<mojom::ProcessControl> request) { 564 mojo::InterfaceRequest<mojom::ProcessControl> request) {
565 DVLOG(1) << "GPU: Binding ProcessControl request"; 565 DVLOG(1) << "GPU: Binding ProcessControl request";
566 DCHECK(process_control_); 566 DCHECK(process_control_);
567 process_control_bindings_.AddBinding(process_control_.get(), 567 process_control_bindings_.AddBinding(process_control_.get(),
568 std::move(request)); 568 std::move(request));
569 } 569 }
570 570
571 } // namespace content 571 } // namespace content
OLDNEW
« no previous file with comments | « content/gpu/gpu_child_thread.h ('k') | gpu/gpu_ipc_common.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698