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

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

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 #ifndef CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <queue> 9 #include <queue>
10 #include <string> 10 #include <string>
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 mojo::ScopedMessagePipeHandle handle); 256 mojo::ScopedMessagePipeHandle handle);
257 257
258 template <typename Interface> 258 template <typename Interface>
259 void ConnectTo(const base::StringPiece& service_name, 259 void ConnectTo(const base::StringPiece& service_name,
260 mojo::InterfacePtr<Interface>* ptr) { 260 mojo::InterfacePtr<Interface>* ptr) {
261 mojo::MessagePipe pipe; 261 mojo::MessagePipe pipe;
262 ptr->Bind(pipe.handle0.Pass()); 262 ptr->Bind(pipe.handle0.Pass());
263 ConnectTo(service_name, pipe.handle1.Pass()); 263 ConnectTo(service_name, pipe.handle1.Pass());
264 } 264 }
265 265
266 // Call this function to resume the navigation when it was deferred
267 // immediately after receiving response headers.
268 void ResumeResponseDeferredAtStart(const GlobalRequestID& request_id);
269
266 protected: 270 protected:
267 // A proxy for our IPC::Channel that lives on the IO thread (see 271 // A proxy for our IPC::Channel that lives on the IO thread (see
268 // browser_process.h) 272 // browser_process.h)
269 scoped_ptr<IPC::ChannelProxy> channel_; 273 scoped_ptr<IPC::ChannelProxy> channel_;
270 274
271 // True if fast shutdown has been performed on this RPH. 275 // True if fast shutdown has been performed on this RPH.
272 bool fast_shutdown_started_; 276 bool fast_shutdown_started_;
273 277
274 // True if we've posted a DeleteTask and will be deleted soon. 278 // True if we've posted a DeleteTask and will be deleted soon.
275 bool deleting_soon_; 279 bool deleting_soon_;
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
466 #if defined(OS_MACOSX) 470 #if defined(OS_MACOSX)
467 base::ScopedCFTypeRef<IOSurfaceRef> last_io_surface_; 471 base::ScopedCFTypeRef<IOSurfaceRef> last_io_surface_;
468 #endif 472 #endif
469 473
470 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); 474 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl);
471 }; 475 };
472 476
473 } // namespace content 477 } // namespace content
474 478
475 #endif // CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ 479 #endif // CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_message_filter.cc ('k') | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698