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 ead2f680d11f066d9c7883ee17ff27b36ba7c0ae..0e7ac509b37c9af1e6e7ed4a096fc5fb367d95a6 100644 |
--- a/third_party/WebKit/public/web/WebLocalFrame.h |
+++ b/third_party/WebKit/public/web/WebLocalFrame.h |
@@ -266,6 +266,10 @@ class WebLocalFrame : public WebFrame { |
int page_index) = 0; |
// Scripting -------------------------------------------------------------- |
+ |
+ // Executes script in the context of the current page. |
+ virtual void ExecuteScript(const WebScriptSource&) = 0; |
+ |
// Executes script in the context of the current page and returns the value |
// that the script evaluated to with callback. Script execution can be |
// suspend. |
@@ -568,6 +572,7 @@ class WebLocalFrame : public WebFrame { |
virtual WebInputMethodController* GetInputMethodController() = 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; |