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

Unified Diff: content/public/browser/web_contents_observer.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: Changes from review. 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 side-by-side diff with in-line comments
Download patch
Index: content/public/browser/web_contents_observer.h
diff --git a/content/public/browser/web_contents_observer.h b/content/public/browser/web_contents_observer.h
index da9e8239d688412d1bc617f5e35d01c2e6b55b77..f39e56a37c96517a77339d946d6b03dfa430a5dd 100644
--- a/content/public/browser/web_contents_observer.h
+++ b/content/public/browser/web_contents_observer.h
@@ -246,6 +246,10 @@ class CONTENT_EXPORT WebContentsObserver : public IPC::Listener,
virtual void DidStartLoading(RenderViewHost* render_view_host) {}
virtual void DidStopLoading(RenderViewHost* render_view_host) {}
+ // This method is invoked when the request is deferred immediately after
+ // receiving response headers.
+ virtual void DidDeferAfterResponseStarted() {}
jam 2014/06/10 05:54:56 similarly, since this notification is only consume
shatch 2014/06/10 20:20:24 I thought this was needed this to make its way to
jam 2014/06/11 02:00:21 WebContentsImpl can call the ContentViewCoreImpl m
shatch 2014/06/14 00:41:37 Ah great, thanks! Moved this to call ContentViewCo
+
// When WebContents::Stop() is called, the WebContents stops loading and then
// invokes this method. If there are ongoing navigations, their respective
// failure methods will also be invoked.
« content/public/browser/web_contents.h ('K') | « content/public/browser/web_contents.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698