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 0f9bdc606655aec9d9e645e4ce0103d71ade73c2..b7730fcd34fe377d8aa78401ef8d5570d1756b4e 100644 |
--- a/third_party/WebKit/public/web/WebLocalFrame.h |
+++ b/third_party/WebKit/public/web/WebLocalFrame.h |
@@ -687,6 +687,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. |