OLD | NEW |
---|---|
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 // Represents the browser side of the browser <--> renderer communication | 5 // Represents the browser side of the browser <--> renderer communication |
6 // channel. There will be one RenderProcessHost per renderer process. | 6 // channel. There will be one RenderProcessHost per renderer process. |
7 | 7 |
8 #include "content/browser/renderer_host/render_process_host_impl.h" | 8 #include "content/browser/renderer_host/render_process_host_impl.h" |
9 | 9 |
10 #if defined(OS_WIN) | 10 #if defined(OS_WIN) |
(...skipping 1116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1127 } | 1127 } |
1128 | 1128 |
1129 void RenderProcessHostImpl::SurfaceUpdated(int32 surface_id) { | 1129 void RenderProcessHostImpl::SurfaceUpdated(int32 surface_id) { |
1130 if (!gpu_message_filter_) | 1130 if (!gpu_message_filter_) |
1131 return; | 1131 return; |
1132 BrowserThread::PostTask(BrowserThread::IO, FROM_HERE, base::Bind( | 1132 BrowserThread::PostTask(BrowserThread::IO, FROM_HERE, base::Bind( |
1133 &GpuMessageFilter::SurfaceUpdated, | 1133 &GpuMessageFilter::SurfaceUpdated, |
1134 gpu_message_filter_, | 1134 gpu_message_filter_, |
1135 surface_id)); | 1135 surface_id)); |
1136 } | 1136 } |
1137 | 1137 |
ananta
2012/07/23 17:04:44
Remove extra newline.
jam
2012/07/23 17:34:32
Done.
| |
1138 | |
1139 void RenderProcessHostImpl::ResumeRequestsForView(int route_id) { | |
1140 widget_helper_->ResumeRequestsForView(route_id); | |
1141 } | |
1142 | |
1138 IPC::ChannelProxy* RenderProcessHostImpl::GetChannel() { | 1143 IPC::ChannelProxy* RenderProcessHostImpl::GetChannel() { |
1139 return channel_.get(); | 1144 return channel_.get(); |
1140 } | 1145 } |
1141 | 1146 |
1142 RenderProcessHost::RenderWidgetHostsIterator | 1147 RenderProcessHost::RenderWidgetHostsIterator |
1143 RenderProcessHostImpl::GetRenderWidgetHostsIterator() { | 1148 RenderProcessHostImpl::GetRenderWidgetHostsIterator() { |
1144 return RenderWidgetHostsIterator(&render_widget_hosts_); | 1149 return RenderWidgetHostsIterator(&render_widget_hosts_); |
1145 } | 1150 } |
1146 | 1151 |
1147 bool RenderProcessHostImpl::FastShutdownForPageCount(size_t count) { | 1152 bool RenderProcessHostImpl::FastShutdownForPageCount(size_t count) { |
(...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1502 int32 route_id, | 1507 int32 route_id, |
1503 int32 gpu_process_host_id) { | 1508 int32 gpu_process_host_id) { |
1504 TRACE_EVENT0("renderer_host", | 1509 TRACE_EVENT0("renderer_host", |
1505 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); | 1510 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); |
1506 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, | 1511 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, |
1507 gpu_process_host_id, | 1512 gpu_process_host_id, |
1508 0); | 1513 0); |
1509 } | 1514 } |
1510 | 1515 |
1511 } // namespace content | 1516 } // namespace content |
OLD | NEW |