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

Unified Diff: public/web/WebFrameClient.h

Issue 319573008: Navigation transitions: Initiate navigation transition and send serialized markup to Chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@transitions_editing
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: public/web/WebFrameClient.h
diff --git a/public/web/WebFrameClient.h b/public/web/WebFrameClient.h
index ea97506265bad7b436a2303c62dd1747269e825e..d4e11e36ac902a87d0f0e78a0c8929ce97bcd0e4 100644
--- a/public/web/WebFrameClient.h
+++ b/public/web/WebFrameClient.h
@@ -180,6 +180,14 @@ public:
// The client may choose to alter the navigation policy. Otherwise,
// defaultPolicy should just be returned.
virtual WebNavigationPolicy decidePolicyForNavigation(
+ WebLocalFrame* frame, WebDataSource::ExtraData* extraData, const WebURLRequest& urlRequest, WebNavigationType navigationType,
+ WebNavigationPolicy defaultPolicy, bool isRedirect, bool isTransitionNavigation)
+ {
+ return decidePolicyForNavigation(frame, extraData, urlRequest, navigationType, defaultPolicy, isRedirect);
+ }
+
+ // DEPRECATED
+ virtual WebNavigationPolicy decidePolicyForNavigation(
WebLocalFrame*, WebDataSource::ExtraData*, const WebURLRequest&, WebNavigationType,
WebNavigationPolicy defaultPolicy, bool isRedirect) { return defaultPolicy; }
abarth-chromium 2014/06/13 17:18:31 This sort of change is begging for a struct instea
oystein (OOO til 10th of July) 2014/06/18 00:04:09 Done! I made the URL the only constructor paramete
@@ -211,6 +219,8 @@ public:
virtual void didCreateDataSource(WebLocalFrame*, WebDataSource*) { }
// A new provisional load has been started.
+ virtual void didStartProvisionalLoad(WebLocalFrame* localFrame, bool isTransitionNavigation) { didStartProvisionalLoad(localFrame); }
+ // DEPRECATED
virtual void didStartProvisionalLoad(WebLocalFrame*) { }
// The provisional load was redirected via a HTTP 3xx response.

Powered by Google App Engine
This is Rietveld 408576698