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

Unified Diff: extensions/renderer/default_dispatcher_delegate.cc

Issue 498513002: Respect the clipboardRead and clipboardWrite permissions in content scripts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address more comments Created 6 years, 3 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/default_dispatcher_delegate.h ('k') | extensions/renderer/dispatcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/renderer/default_dispatcher_delegate.cc
diff --git a/extensions/renderer/default_dispatcher_delegate.cc b/extensions/renderer/default_dispatcher_delegate.cc
index 326ee70ec4bc6f8f7e842fba08184a9c42c2f554..25af678cf670d80bcfa4212307083dbe4e8cf1fd 100644
--- a/extensions/renderer/default_dispatcher_delegate.cc
+++ b/extensions/renderer/default_dispatcher_delegate.cc
@@ -19,9 +19,15 @@ scoped_ptr<ScriptContext> DefaultDispatcherDelegate::CreateScriptContext(
const v8::Handle<v8::Context>& v8_context,
blink::WebFrame* frame,
const Extension* extension,
- Feature::Context context_type) {
- return make_scoped_ptr(
- new ScriptContext(v8_context, frame, extension, context_type));
+ Feature::Context context_type,
+ const Extension* effective_extension,
+ Feature::Context effective_context_type) {
+ return make_scoped_ptr(new ScriptContext(v8_context,
+ frame,
+ extension,
+ context_type,
+ effective_extension,
+ effective_context_type));
}
} // namespace extensions
« no previous file with comments | « extensions/renderer/default_dispatcher_delegate.h ('k') | extensions/renderer/dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698