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

Unified Diff: extensions/renderer/web_ui_injection_host.h

Issue 942533003: Enable <webview>.executeScript outside of Apps and Extensions [1] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@decouple_brower_isolated_world_routingid_user_script_UserScriptSet_non_hostset_2
Patch Set: Created 5 years, 10 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: extensions/renderer/web_ui_injection_host.h
diff --git a/extensions/renderer/web_ui_injection_host.h b/extensions/renderer/web_ui_injection_host.h
index c81dd5d30ff5cb2bb7dd8a70c051159f127f8bec..a364b3d91fdc33a4ba8900c1b9bc5470871641fa 100644
--- a/extensions/renderer/web_ui_injection_host.h
+++ b/extensions/renderer/web_ui_injection_host.h
@@ -12,6 +12,8 @@ class WebUIInjectionHost : public InjectionHost {
WebUIInjectionHost(const HostID& host_id);
~WebUIInjectionHost() override;
+ static scoped_ptr<const InjectionHost> Create(const HostID& host_id);
+
private:
// InjectionHost:
std::string GetContentSecurityPolicy() const override;

Powered by Google App Engine
This is Rietveld 408576698