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

Unified Diff: content/public/browser/web_contents.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.h
diff --git a/content/public/browser/web_contents.h b/content/public/browser/web_contents.h
index 8a717b86dd9212e5a6b2539348155a13d8a45511..e062131873fafef92add7b08b1138550d96a27ca 100644
--- a/content/public/browser/web_contents.h
+++ b/content/public/browser/web_contents.h
@@ -347,6 +347,14 @@ class WebContents : public PageNavigator,
// Reloads the focused frame.
virtual void ReloadFocusedFrame(bool ignore_cache) = 0;
+ // Notifies the TransitionRequestManager that the main frame navigation is
+ // a transition navigation.
+ virtual void SetHasPendingTransitionRequest(bool has_pending_transition) = 0;
jam 2014/06/10 05:54:56 is the only caller of this the test? if so, it sho
shatch 2014/06/10 20:20:24 The intention was for the java side to control the
+
+ // Notifies the main frame that it can continue navigation (if it was deferred
+ // immediately at first response).
+ virtual void ResumeResponseDeferredAtStart() = 0;
+
// Editing commands ----------------------------------------------------------
virtual void Undo() = 0;

Powered by Google App Engine
This is Rietveld 408576698