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

Unified Diff: extensions/browser/guest_view/web_view/web_view_content_script_manager.h

Issue 1056533002: Implement <webview>.addContentScript/removeContentScript API [2] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@webview_addremove_contentscripts_2
Patch Set: Created 5 years, 8 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/browser/guest_view/web_view/web_view_content_script_manager.h
diff --git a/extensions/browser/guest_view/web_view/web_view_content_script_manager.h b/extensions/browser/guest_view/web_view/web_view_content_script_manager.h
index a46baed46582976500cf750592f3f3f43a290aa9..77c72a937172b7bd7be61cba1cc7e0d2c6f37c18 100644
--- a/extensions/browser/guest_view/web_view/web_view_content_script_manager.h
+++ b/extensions/browser/guest_view/web_view/web_view_content_script_manager.h
@@ -38,6 +38,7 @@ class WebViewContentScriptManager : public base::SupportsUserData::Data {
// Adds content scripts for the guest specified by the |embedder_web_contents,
// view_instance_id|.
void AddContentScripts(content::WebContents* embedder_web_contents,
+ int embedder_routing_id,
int view_instance_id,
const HostID& host_id,
const std::set<UserScript>& user_scripts);

Powered by Google App Engine
This is Rietveld 408576698