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

Side by Side Diff: content/browser/renderer_host/render_process_host_impl.cc

Issue 297973002: Navigation transitions: Block first response until after transitions have run. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 6 years, 6 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
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 // 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 889 matching lines...) Expand 10 before | Expand all | Expand 10 after
900 int RenderProcessHostImpl::GetNextRoutingID() { 900 int RenderProcessHostImpl::GetNextRoutingID() {
901 return widget_helper_->GetNextRoutingID(); 901 return widget_helper_->GetNextRoutingID();
902 } 902 }
903 903
904 904
905 void RenderProcessHostImpl::ResumeDeferredNavigation( 905 void RenderProcessHostImpl::ResumeDeferredNavigation(
906 const GlobalRequestID& request_id) { 906 const GlobalRequestID& request_id) {
907 widget_helper_->ResumeDeferredNavigation(request_id); 907 widget_helper_->ResumeDeferredNavigation(request_id);
908 } 908 }
909 909
910 void RenderProcessHostImpl::ResumeResponseDeferredAtStart(
911 const GlobalRequestID& request_id) {
912 widget_helper_->ResumeResponseDeferredAtStart(request_id);
913 }
914
910 void RenderProcessHostImpl::NotifyTimezoneChange() { 915 void RenderProcessHostImpl::NotifyTimezoneChange() {
911 Send(new ViewMsg_TimezoneChange()); 916 Send(new ViewMsg_TimezoneChange());
912 } 917 }
913 918
914 void RenderProcessHostImpl::AddRoute( 919 void RenderProcessHostImpl::AddRoute(
915 int32 routing_id, 920 int32 routing_id,
916 IPC::Listener* listener) { 921 IPC::Listener* listener) {
917 listeners_.AddWithID(listener, routing_id); 922 listeners_.AddWithID(listener, routing_id);
918 } 923 }
919 924
(...skipping 1448 matching lines...) Expand 10 before | Expand all | Expand 10 after
2368 void RenderProcessHostImpl::GpuMemoryBufferAllocated( 2373 void RenderProcessHostImpl::GpuMemoryBufferAllocated(
2369 IPC::Message* reply, 2374 IPC::Message* reply,
2370 const gfx::GpuMemoryBufferHandle& handle) { 2375 const gfx::GpuMemoryBufferHandle& handle) {
2371 DCHECK_CURRENTLY_ON(BrowserThread::UI); 2376 DCHECK_CURRENTLY_ON(BrowserThread::UI);
2372 ChildProcessHostMsg_SyncAllocateGpuMemoryBuffer::WriteReplyParams(reply, 2377 ChildProcessHostMsg_SyncAllocateGpuMemoryBuffer::WriteReplyParams(reply,
2373 handle); 2378 handle);
2374 Send(reply); 2379 Send(reply);
2375 } 2380 }
2376 2381
2377 } // namespace content 2382 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_process_host_impl.h ('k') | content/browser/renderer_host/render_widget_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698