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

Unified Diff: extensions/shell/browser/shell_extension_system.h

Issue 959413003: Implement <webview>.addContentScript/removeContentScript API [1] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make the API work before the first navigation of guest. Created 5 years, 9 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/shell/browser/shell_extension_system.h
diff --git a/extensions/shell/browser/shell_extension_system.h b/extensions/shell/browser/shell_extension_system.h
index 80c2bc1bcbc7616d93f21e86c8618858a6e9dabf..7f4110e58210146595030bf32acbecf3dbd53a18 100644
--- a/extensions/shell/browser/shell_extension_system.h
+++ b/extensions/shell/browser/shell_extension_system.h
@@ -30,6 +30,7 @@ class LazyBackgroundTaskQueue;
class ProcessManager;
class RendererStartupHelper;
class SharedUserScriptMaster;
+class WebViewContentScriptManager;
// A simplified version of ExtensionSystem for app_shell. Allows
// app_shell to skip initialization of services it doesn't need.
@@ -66,6 +67,7 @@ class ShellExtensionSystem : public ExtensionSystem {
ErrorConsole* error_console() override;
InstallVerifier* install_verifier() override;
QuotaService* quota_service() override;
+ WebViewContentScriptManager* web_view_content_script_manager() override;
void RegisterExtensionWithRequestContexts(
const Extension* extension) override;
void UnregisterExtensionWithRequestContexts(

Powered by Google App Engine
This is Rietveld 408576698