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

Unified Diff: extensions/renderer/script_injector.h

Issue 492133002: Renderer changes for wiring up shared memory with declarative injection (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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/script_injector.h
diff --git a/extensions/renderer/script_injector.h b/extensions/renderer/script_injector.h
index 9b4aca96b9d479b39652b54aa21de60d538f9629..dc35ba3d9f0abd29fce8684da81754d388fba97e 100644
--- a/extensions/renderer/script_injector.h
+++ b/extensions/renderer/script_injector.h
@@ -40,6 +40,9 @@ class ScriptInjector {
// Returns the script type of this particular injection.
virtual UserScript::InjectionType script_type() const = 0;
+ // Returns true if the injector refers to a declarative content script.
+ virtual bool is_declarative() const = 0;
Devlin 2014/08/21 17:06:16 Why?
Mark Dittmer 2014/08/23 12:21:39 ditto (comment in programmatic_script_injector.h)
+
// Returns true if the script should execute in child frames.
virtual bool ShouldExecuteInChildFrames() const = 0;

Powered by Google App Engine
This is Rietveld 408576698