diff options
author | hanxi <hanxi@chromium.org> | 2015-03-09 13:46:59 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-03-09 20:47:49 +0000 |
commit | 79f7a57302cae3f7afcd53c6dff542e32bada999 (patch) | |
tree | ffa0c8be372fff6f9c02f7a83e05928cb6472c65 /extensions/renderer/web_ui_injection_host.cc | |
parent | 7b41c6561705c1645d65313d116f35c582bd6247 (diff) | |
download | chromium_src-79f7a57302cae3f7afcd53c6dff542e32bada999.zip chromium_src-79f7a57302cae3f7afcd53c6dff542e32bada999.tar.gz chromium_src-79f7a57302cae3f7afcd53c6dff542e32bada999.tar.bz2 |
Enable <webview>.executeScript outside of Apps and Extensions [1]
This patch enables javascript code injection like <webview>.executeScript({code: ...}), but does not include file injection like <webview>.executeScript({file: ...}). File injection will be in another patch.
BUG=434081
Review URL: https://codereview.chromium.org/942533003
Cr-Commit-Position: refs/heads/master@{#319727}
Diffstat (limited to 'extensions/renderer/web_ui_injection_host.cc')
-rw-r--r-- | extensions/renderer/web_ui_injection_host.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/extensions/renderer/web_ui_injection_host.cc b/extensions/renderer/web_ui_injection_host.cc index 334358a..5c6e117 100644 --- a/extensions/renderer/web_ui_injection_host.cc +++ b/extensions/renderer/web_ui_injection_host.cc @@ -12,7 +12,6 @@ WebUIInjectionHost::WebUIInjectionHost(const HostID& host_id) WebUIInjectionHost::~WebUIInjectionHost() { } - std::string WebUIInjectionHost::GetContentSecurityPolicy() const { return std::string(); } |