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

Unified Diff: content/browser/web_contents/web_contents_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: Created 6 years, 7 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/browser/web_contents/web_contents_impl.h
diff --git a/content/browser/web_contents/web_contents_impl.h b/content/browser/web_contents/web_contents_impl.h
index 8278efbefb179207529d871450e75c25602ab472..2492563178ccfb0190548b04921ff488e0bb6c3d 100644
--- a/content/browser/web_contents/web_contents_impl.h
+++ b/content/browser/web_contents/web_contents_impl.h
@@ -313,6 +313,11 @@ class CONTENT_EXPORT WebContentsImpl
virtual void RemoveOverlayView() OVERRIDE;
#endif
+ // Notifies the main frame that it can continue navigation (if it was deferred
+ // immediately at first response).
+ virtual void ResumeResponseDeferredAtStart() OVERRIDE;
+
nasko 2014/05/28 22:59:00 nit: extra blank line
shatch 2014/05/29 21:41:22 Done.
+
// Implementation of PageNavigator.
virtual WebContents* OpenURL(const OpenURLParams& params) OVERRIDE;
@@ -328,6 +333,7 @@ class CONTENT_EXPORT WebContentsImpl
virtual void DidStartLoading(RenderFrameHost* render_frame_host,
bool to_different_document) OVERRIDE;
virtual void SwappedOut(RenderFrameHost* render_frame_host) OVERRIDE;
+ virtual void DidDeferAfterResponseStarted() OVERRIDE;
virtual void WorkerCrashed(RenderFrameHost* render_frame_host) OVERRIDE;
virtual void ShowContextMenu(RenderFrameHost* render_frame_host,
const ContextMenuParams& params) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698