| 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 #include <algorithm> | 10 #include <algorithm> |
| (...skipping 499 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 510 // at this stage. | 510 // at this stage. |
| 511 child_process_launcher_.reset(new ChildProcessLauncher( | 511 child_process_launcher_.reset(new ChildProcessLauncher( |
| 512 #if defined(OS_WIN) | 512 #if defined(OS_WIN) |
| 513 FilePath(), | 513 FilePath(), |
| 514 #elif defined(OS_POSIX) | 514 #elif defined(OS_POSIX) |
| 515 renderer_prefix.empty(), | 515 renderer_prefix.empty(), |
| 516 base::EnvironmentVector(), | 516 base::EnvironmentVector(), |
| 517 channel_->TakeClientFileDescriptor(), | 517 channel_->TakeClientFileDescriptor(), |
| 518 #endif | 518 #endif |
| 519 cmd_line, | 519 cmd_line, |
| 520 GetID(), |
| 520 this)); | 521 this)); |
| 521 | 522 |
| 522 fast_shutdown_started_ = false; | 523 fast_shutdown_started_ = false; |
| 523 } | 524 } |
| 524 | 525 |
| 525 is_initialized_ = true; | 526 is_initialized_ = true; |
| 526 return true; | 527 return true; |
| 527 } | 528 } |
| 528 | 529 |
| 529 void RenderProcessHostImpl::CreateMessageFilters() { | 530 void RenderProcessHostImpl::CreateMessageFilters() { |
| (...skipping 1056 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1586 const gfx::Size& size, | 1587 const gfx::Size& size, |
| 1587 int32 gpu_process_host_id) { | 1588 int32 gpu_process_host_id) { |
| 1588 TRACE_EVENT0("renderer_host", | 1589 TRACE_EVENT0("renderer_host", |
| 1589 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); | 1590 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); |
| 1590 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, | 1591 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, |
| 1591 gpu_process_host_id, | 1592 gpu_process_host_id, |
| 1592 0); | 1593 0); |
| 1593 } | 1594 } |
| 1594 | 1595 |
| 1595 } // namespace content | 1596 } // namespace content |
| OLD | NEW |