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

Unified Diff: third_party/WebKit/public/web/WebLocalFrame.h

Issue 2940863005: Move loading methods from WebFrame to WebLocalFrame. (Closed)
Patch Set: Fixing build problems introduced by rebasing... Created 3 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: third_party/WebKit/public/web/WebLocalFrame.h
diff --git a/third_party/WebKit/public/web/WebLocalFrame.h b/third_party/WebKit/public/web/WebLocalFrame.h
index ffaacf9351e472d8a44de9d8e6ab7f61402cb8cd..cc4d81868b2930e33a3ea69ea2858cb9512624a3 100644
--- a/third_party/WebKit/public/web/WebLocalFrame.h
+++ b/third_party/WebKit/public/web/WebLocalFrame.h
@@ -686,6 +686,19 @@ class WebLocalFrame : public WebFrame {
// frame is attached to a document.
virtual std::unique_ptr<WebURLLoader> CreateURLLoader() = 0;
+ // Reload the current document.
+ // Note: reload() and reloadWithOverrideURL() will be deprecated.
+ // Do not use these APIs any more, but use loadRequest() instead.
+ virtual void Reload(WebFrameLoadType) = 0;
+
+ // This is used for situations where we want to reload a different URL because
+ // of a redirect.
+ virtual void ReloadWithOverrideURL(const WebURL& override_url,
+ WebFrameLoadType) = 0;
+
+ // Load the given URL.
+ virtual void LoadRequest(const WebURLRequest&) = 0;
+
// Geometry -----------------------------------------------------------------
// If set to false, do not draw scrollbars on this frame's view.

Powered by Google App Engine
This is Rietveld 408576698