diff options
author | zhenw@chromium.org <zhenw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-07-24 22:22:08 +0000 |
---|---|---|
committer | zhenw@chromium.org <zhenw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-07-24 22:22:08 +0000 |
commit | 6f2ac77a4b95f3e6d0406161c65912e769ef3145 (patch) | |
tree | c146c9fa97558a928f4dd3600bb84006097d1249 /content/browser/web_contents/web_contents_impl.h | |
parent | e5dc52f13f6608d8fad23f736c9219f8ea7087a8 (diff) | |
download | chromium_src-6f2ac77a4b95f3e6d0406161c65912e769ef3145.zip chromium_src-6f2ac77a4b95f3e6d0406161c65912e769ef3145.tar.gz chromium_src-6f2ac77a4b95f3e6d0406161c65912e769ef3145.tar.bz2 |
Navigation transitions: Parse out transition-entering-stylesheet link headers.
transition-entering-stylesheet is parsed out from the response header of the incoming page and passed to the Java side.
Design doc: https://docs.google.com/a/chromium.org/document/d/17jg1RRL3RI969cLwbKBIcoGDsPwqaEdBxafGNYGwiY4/edit#
Implementation details: https://docs.google.com/a/chromium.org/document/d/1kREPtFJaeLoDKwrfmrYTD7DHCdxX1RzFBga2gNY8lyE/edit#heading=h.bng2kpmyvxq5
BUG=370696
Review URL: https://codereview.chromium.org/387703004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@285391 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/web_contents/web_contents_impl.h')
-rw-r--r-- | content/browser/web_contents/web_contents_impl.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/content/browser/web_contents/web_contents_impl.h b/content/browser/web_contents/web_contents_impl.h index 895ad19..f608962 100644 --- a/content/browser/web_contents/web_contents_impl.h +++ b/content/browser/web_contents/web_contents_impl.h @@ -33,6 +33,7 @@ #include "content/public/common/resource_type.h" #include "content/public/common/three_d_api_types.h" #include "net/base/load_states.h" +#include "net/http/http_response_headers.h" #include "third_party/WebKit/public/web/WebDragOperation.h" #include "ui/gfx/rect_f.h" #include "ui/gfx/size.h" @@ -328,7 +329,9 @@ 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 DidDeferAfterResponseStarted( + const scoped_refptr<net::HttpResponseHeaders>& headers, + const GURL& url) OVERRIDE; virtual bool WillHandleDeferAfterResponseStarted() OVERRIDE; virtual void WorkerCrashed(RenderFrameHost* render_frame_host) OVERRIDE; virtual void ShowContextMenu(RenderFrameHost* render_frame_host, |