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

Unified Diff: content/renderer/mojo_main_runner.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 | « components/printing/renderer/print_web_view_helper.cc ('k') | content/renderer/mojo_main_runner.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/mojo_main_runner.h
diff --git a/content/renderer/mojo_main_runner.h b/content/renderer/mojo_main_runner.h
index c138c4266139d8ad2afbe903bf4c427ef1cb3dba..f8087bfed3087848127d9cfaea506b5372f4d3a6 100644
--- a/content/renderer/mojo_main_runner.h
+++ b/content/renderer/mojo_main_runner.h
@@ -9,7 +9,7 @@
#include "gin/runner.h"
namespace blink {
-class WebFrame;
+class WebLocalFrame;
}
namespace content {
@@ -18,7 +18,8 @@ namespace content {
class MojoMainRunner : public gin::Runner {
public:
// Does not take ownership of ContextHolder.
- MojoMainRunner(blink::WebFrame* frame, gin::ContextHolder* context_holder);
+ MojoMainRunner(blink::WebLocalFrame* frame,
+ gin::ContextHolder* context_holder);
~MojoMainRunner() override;
// Runner overrides:
@@ -32,7 +33,7 @@ class MojoMainRunner : public gin::Runner {
private:
// Frame to execute script in.
- blink::WebFrame* frame_;
+ blink::WebLocalFrame* frame_;
// Created by blink bindings to V8.
gin::ContextHolder* context_holder_;
« no previous file with comments | « components/printing/renderer/print_web_view_helper.cc ('k') | content/renderer/mojo_main_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698