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

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

Issue 2923433002: Move ExecuteScript method from WebFrame to WebLocalFrame. (Closed)
Patch Set: Created 3 years, 7 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 ead2f680d11f066d9c7883ee17ff27b36ba7c0ae..1fb4b456edddb85eb342ec685210a1ea18aa94b6 100644
--- a/third_party/WebKit/public/web/WebLocalFrame.h
+++ b/third_party/WebKit/public/web/WebLocalFrame.h
@@ -577,6 +577,11 @@ class WebLocalFrame : public WebFrame {
// If set to false, do not draw scrollbars on this frame's view.
virtual void SetCanHaveScrollbars(bool) = 0;
+ // Scripting ----------------------------------------------------------
+
+ // Executes script in the context of the current page.
+ virtual void ExecuteScript(const WebScriptSource&) = 0;
dcheng 2017/06/04 10:37:22 Since there's already a scripting section on line
Łukasz Anforowicz 2017/06/05 17:10:57 Ooops. Thanks for catching this.
+
protected:
explicit WebLocalFrame(WebTreeScopeType scope) : WebFrame(scope) {}

Powered by Google App Engine
This is Rietveld 408576698