| 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 828 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 839 int RenderProcessHostImpl::GetNextRoutingID() { | 839 int RenderProcessHostImpl::GetNextRoutingID() { |
| 840 return widget_helper_->GetNextRoutingID(); | 840 return widget_helper_->GetNextRoutingID(); |
| 841 } | 841 } |
| 842 | 842 |
| 843 | 843 |
| 844 void RenderProcessHostImpl::ResumeDeferredNavigation( | 844 void RenderProcessHostImpl::ResumeDeferredNavigation( |
| 845 const GlobalRequestID& request_id) { | 845 const GlobalRequestID& request_id) { |
| 846 widget_helper_->ResumeDeferredNavigation(request_id); | 846 widget_helper_->ResumeDeferredNavigation(request_id); |
| 847 } | 847 } |
| 848 | 848 |
| 849 void RenderProcessHostImpl::ResumeResponseDeferredAtStart( |
| 850 const GlobalRequestID& request_id) { |
| 851 widget_helper_->ResumeResponseDeferredAtStart(request_id); |
| 852 } |
| 853 |
| 849 void RenderProcessHostImpl::NotifyTimezoneChange() { | 854 void RenderProcessHostImpl::NotifyTimezoneChange() { |
| 850 Send(new ViewMsg_TimezoneChange()); | 855 Send(new ViewMsg_TimezoneChange()); |
| 851 } | 856 } |
| 852 | 857 |
| 853 void RenderProcessHostImpl::AddRoute( | 858 void RenderProcessHostImpl::AddRoute( |
| 854 int32 routing_id, | 859 int32 routing_id, |
| 855 IPC::Listener* listener) { | 860 IPC::Listener* listener) { |
| 856 listeners_.AddWithID(listener, routing_id); | 861 listeners_.AddWithID(listener, routing_id); |
| 857 } | 862 } |
| 858 | 863 |
| (...skipping 1215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2074 mojo::ScopedMessagePipeHandle handle) { | 2079 mojo::ScopedMessagePipeHandle handle) { |
| 2075 mojo_activation_required_ = true; | 2080 mojo_activation_required_ = true; |
| 2076 MaybeActivateMojo(); | 2081 MaybeActivateMojo(); |
| 2077 | 2082 |
| 2078 mojo::AllocationScope scope; | 2083 mojo::AllocationScope scope; |
| 2079 mojo_application_host_->shell_client()->AcceptConnection(service_name, | 2084 mojo_application_host_->shell_client()->AcceptConnection(service_name, |
| 2080 handle.Pass()); | 2085 handle.Pass()); |
| 2081 } | 2086 } |
| 2082 | 2087 |
| 2083 } // namespace content | 2088 } // namespace content |
| OLD | NEW |