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

Unified Diff: content/browser/renderer_host/render_view_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: 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/renderer_host/render_view_host_impl.h
diff --git a/content/browser/renderer_host/render_view_host_impl.h b/content/browser/renderer_host/render_view_host_impl.h
index 0fc5b28d880583ba3db7d4d0b09c3f4f04c150d3..2f5b4af378ebdf79eba16ee989d1690f3cfb84d3 100644
--- a/content/browser/renderer_host/render_view_host_impl.h
+++ b/content/browser/renderer_host/render_view_host_impl.h
@@ -330,6 +330,11 @@ class CONTENT_EXPORT RenderViewHostImpl
// and cleared when we hear the response or commit.
void SetHasPendingCrossSiteRequest(bool has_pending_request);
+ // Sets whether this RenderViewHost has an outstanding transition request.
+ // This is called at the start of a provisional load for the main frame,
+ // and cleared when we hear the response or commit.
+ void SetHasPendingTransitionRequest(bool has_pending_request);
nasko 2014/05/28 22:59:00 Please don't add any more code to RenderViewHost,
shatch 2014/05/29 21:41:22 Done.
+
// Tells the renderer view to focus the first (last if reverse is true) node.
void SetInitialFocus(bool reverse);

Powered by Google App Engine
This is Rietveld 408576698