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 239facbbe1765e129726c00303af7fff7e0fa76d..875b58eaf182c00e4783c0e90bceefbf311e6e30 100644 |
--- a/third_party/WebKit/public/web/WebLocalFrame.h |
+++ b/third_party/WebKit/public/web/WebLocalFrame.h |
@@ -34,6 +34,7 @@ class WebInputMethodController; |
class WebRange; |
class WebScriptExecutionCallback; |
class WebTextCheckClient; |
+class WebURLLoader; |
enum class WebCachePolicy; |
enum class WebSandboxFlags; |
enum class WebTreeScopeType; |
@@ -540,6 +541,11 @@ class WebLocalFrame : public WebFrame { |
// Returns the WebInputMethodController associated with this local frame. |
virtual WebInputMethodController* GetInputMethodController() const = 0; |
+ // Loading ------------------------------------------------------------------ |
+ // Creates and returns a loader. This function can be called only when this |
+ // frame is attached to a document. |
+ virtual std::unique_ptr<WebURLLoader> CreateURLLoader() = 0; |
+ |
protected: |
explicit WebLocalFrame(WebTreeScopeType scope) : WebFrame(scope) {} |