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

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

Issue 2923433002: Move ExecuteScript method from WebFrame to WebLocalFrame. (Closed)
Patch Set: Tweaked a comment in WebViewPlugin::WebViewHelper::main_frame [as suggested in CR feedback] 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
« no previous file with comments | « third_party/WebKit/public/web/WebFrame.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « third_party/WebKit/public/web/WebFrame.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698