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

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

Issue 387703004: Navigation transitions: Parse out transition-entering-stylesheet link headers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove TransitionLayerData in unit tests Created 6 years, 5 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/render_frame_host_delegate.h
diff --git a/content/browser/frame_host/render_frame_host_delegate.h b/content/browser/frame_host/render_frame_host_delegate.h
index 4d53936c113471097272f1a2bf54cc42ce78bd80..39ab081915da6ee5bd0531a9fcac8d5f600367a6 100644
--- a/content/browser/frame_host/render_frame_host_delegate.h
+++ b/content/browser/frame_host/render_frame_host_delegate.h
@@ -10,6 +10,7 @@
#include "content/common/content_export.h"
#include "content/public/common/javascript_message_type.h"
#include "content/public/common/media_stream_request.h"
+#include "net/http/http_response_headers.h"
class GURL;
@@ -21,6 +22,7 @@ namespace content {
class RenderFrameHost;
class WebContents;
struct ContextMenuParams;
+struct TransitionLayerData;
jochen (gone - plz use gerrit) 2014/07/24 09:05:27 nit. not required anymore
Zhen Wang 2014/07/24 15:29:55 Done.
// An interface implemented by an object interested in knowing about the state
// of the RenderFrameHost.
@@ -58,7 +60,9 @@ class CONTENT_EXPORT RenderFrameHostDelegate {
// Notification that the navigation on the main frame is blocked waiting
// for transition to occur.
- virtual void DidDeferAfterResponseStarted() {}
+ virtual void DidDeferAfterResponseStarted(
+ const scoped_refptr<net::HttpResponseHeaders>& headers,
+ const GURL& url) {}
// Used to query whether the navigation transition will be handled.
virtual bool WillHandleDeferAfterResponseStarted();

Powered by Google App Engine
This is Rietveld 408576698