Chromium Code Reviews| 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; |