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

Unified Diff: extensions/renderer/programmatic_script_injector.h

Issue 348313003: Create withheld permissions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Latest master Created 6 years, 5 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
« no previous file with comments | « extensions/renderer/dispatcher.cc ('k') | extensions/renderer/programmatic_script_injector.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/renderer/programmatic_script_injector.h
diff --git a/extensions/renderer/programmatic_script_injector.h b/extensions/renderer/programmatic_script_injector.h
index caeb51a72d36058f4187ff77a1253489cd295a71..9afb88dee735be192a1822925ba6297f1d8e1a3d 100644
--- a/extensions/renderer/programmatic_script_injector.h
+++ b/extensions/renderer/programmatic_script_injector.h
@@ -32,6 +32,7 @@ class ProgrammaticScriptInjector : public ScriptInjector {
private:
// ScriptInjector implementation.
+ virtual UserScript::InjectionType script_type() const OVERRIDE;
virtual bool ShouldExecuteInChildFrames() const OVERRIDE;
virtual bool ShouldExecuteInMainWorld() const OVERRIDE;
virtual bool IsUserGesture() const OVERRIDE;
@@ -40,10 +41,11 @@ class ProgrammaticScriptInjector : public ScriptInjector {
UserScript::RunLocation run_location) const OVERRIDE;
virtual bool ShouldInjectCss(
UserScript::RunLocation run_location) const OVERRIDE;
- virtual AccessType CanExecuteOnFrame(const Extension* extension,
- blink::WebFrame* web_frame,
- int tab_id,
- const GURL& top_url) const OVERRIDE;
+ virtual PermissionsData::AccessType CanExecuteOnFrame(
+ const Extension* extension,
+ blink::WebFrame* web_frame,
+ int tab_id,
+ const GURL& top_url) const OVERRIDE;
virtual std::vector<blink::WebScriptSource> GetJsSources(
UserScript::RunLocation run_location) const OVERRIDE;
virtual std::vector<std::string> GetCssSources(
« no previous file with comments | « extensions/renderer/dispatcher.cc ('k') | extensions/renderer/programmatic_script_injector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698