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

Side by Side Diff: content/common/gpu/client/command_buffer_proxy_impl.cc

Issue 15047014: Move child-common classes to content/common_child (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « content/common/content_message_generator.h ('k') | content/common/java_bridge_messages.h » ('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/common/gpu/client/command_buffer_proxy_impl.h" 5 #include "content/common/gpu/client/command_buffer_proxy_impl.h"
6 6
7 #include "base/callback.h" 7 #include "base/callback.h"
8 #include "base/debug/trace_event.h" 8 #include "base/debug/trace_event.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/process_util.h" 10 #include "base/process_util.h"
11 #include "base/shared_memory.h" 11 #include "base/shared_memory.h"
12 #include "base/stl_util.h" 12 #include "base/stl_util.h"
13 #include "content/common/child_process_messages.h" 13 #include "content/common/child_process_messages.h"
14 #include "content/common/gpu/gpu_memory_allocation.h"
15 #include "content/common/gpu/client/gpu_channel_host.h" 14 #include "content/common/gpu/client/gpu_channel_host.h"
16 #include "content/common/gpu/client/gpu_video_decode_accelerator_host.h" 15 #include "content/common/gpu/client/gpu_video_decode_accelerator_host.h"
16 #include "content/common/gpu/gpu_memory_allocation.h"
17 #include "content/common/gpu/gpu_messages.h" 17 #include "content/common/gpu/gpu_messages.h"
18 #include "content/common/plugin_messages.h"
19 #include "content/common/view_messages.h" 18 #include "content/common/view_messages.h"
20 #include "gpu/command_buffer/common/cmd_buffer_common.h" 19 #include "gpu/command_buffer/common/cmd_buffer_common.h"
21 #include "gpu/command_buffer/common/command_buffer_shared.h" 20 #include "gpu/command_buffer/common/command_buffer_shared.h"
22 #include "ui/gfx/size.h" 21 #include "ui/gfx/size.h"
23 22
24 namespace content { 23 namespace content {
25 24
26 CommandBufferProxyImpl::CommandBufferProxyImpl( 25 CommandBufferProxyImpl::CommandBufferProxyImpl(
27 GpuChannelHost* channel, 26 GpuChannelHost* channel,
28 int route_id) 27 int route_id)
(...skipping 515 matching lines...) Expand 10 before | Expand all | Expand 10 after
544 void CommandBufferProxyImpl::SendManagedMemoryStats( 543 void CommandBufferProxyImpl::SendManagedMemoryStats(
545 const GpuManagedMemoryStats& stats) { 544 const GpuManagedMemoryStats& stats) {
546 if (last_state_.error != gpu::error::kNoError) 545 if (last_state_.error != gpu::error::kNoError)
547 return; 546 return;
548 547
549 Send(new GpuCommandBufferMsg_SendClientManagedMemoryStats(route_id_, 548 Send(new GpuCommandBufferMsg_SendClientManagedMemoryStats(route_id_,
550 stats)); 549 stats));
551 } 550 }
552 551
553 } // namespace content 552 } // namespace content
OLDNEW
« no previous file with comments | « content/common/content_message_generator.h ('k') | content/common/java_bridge_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698