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

Unified Diff: content/browser/frame_host/navigator.h

Issue 358973005: Navigation transitions: Pass is_transition_navigation flag up to the embedder (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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/browser/frame_host/navigator.h
diff --git a/content/browser/frame_host/navigator.h b/content/browser/frame_host/navigator.h
index a64edeb717b830fc5ec4c5ffbe7134e4a89cc41e..0d98c496ecb27e8bcc138a5c9e3ed4f5b63aea95 100644
--- a/content/browser/frame_host/navigator.h
+++ b/content/browser/frame_host/navigator.h
@@ -43,7 +43,8 @@ class CONTENT_EXPORT Navigator : public base::RefCounted<Navigator> {
// The RenderFrameHostImpl started a provisional load.
virtual void DidStartProvisionalLoad(RenderFrameHostImpl* render_frame_host,
int parent_routing_id,
- const GURL& url) {};
+ const GURL& url,
+ bool is_transition_navigation) {};
// The RenderFrameHostImpl has failed a provisional load.
virtual void DidFailProvisionalLoadWithError(
@@ -103,7 +104,8 @@ class CONTENT_EXPORT Navigator : public base::RefCounted<Navigator> {
const Referrer& referrer,
WindowOpenDisposition disposition,
bool should_replace_current_entry,
- bool user_gesture) {}
+ bool user_gesture,
+ bool is_transition_navigation) {}
// The RenderFrameHostImpl wants to transfer the request to a new renderer.
// |redirect_chain| contains any redirect URLs (excluding |url|) that happened
@@ -117,7 +119,8 @@ class CONTENT_EXPORT Navigator : public base::RefCounted<Navigator> {
WindowOpenDisposition disposition,
const GlobalRequestID& transferred_global_request_id,
bool should_replace_current_entry,
- bool user_gesture) {}
+ bool user_gesture,
+ bool is_transition_navigation) {}
protected:
friend class base::RefCounted<Navigator>;

Powered by Google App Engine
This is Rietveld 408576698