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

Unified Diff: public/web/WebLocalFrame.h

Issue 1156473002: Refactor FrameLoader loading interface (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Addressed comments Created 5 years, 7 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
« public/web/WebFrameLoadType.h ('K') | « public/web/WebFrameLoadType.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebLocalFrame.h
diff --git a/public/web/WebLocalFrame.h b/public/web/WebLocalFrame.h
index 88fac0d805a58bc390c56ba4f4fb843ebd5e728b..9506786fdbe92b998a632c7c043da75280e66847 100644
--- a/public/web/WebLocalFrame.h
+++ b/public/web/WebLocalFrame.h
@@ -60,6 +60,16 @@ public:
// Navigation Ping --------------------------------------------------------
virtual void sendPings(const WebNode& linkNode, const WebURL& destinationURL) = 0;
+ // Navigation ----------------------------------------------------------
+
+ // Returns a WebURLRequest corresponding to the load of the WebHistoryItem.
+ virtual WebURLRequest requestFromHistoryItem(const WebHistoryItem&, WebURLRequest::CachePolicy)
+ const = 0;
+
+ // Returns a WebURLRequest corresponding to the reload of the current
+ // HistoryItem.
+ virtual WebURLRequest requestForReload(WebFrameLoadType,
+ const WebURL& overrideURL = WebURL()) const = 0;
// Navigation State -------------------------------------------------------
« public/web/WebFrameLoadType.h ('K') | « public/web/WebFrameLoadType.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698