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

Unified Diff: extensions/renderer/dispatcher_delegate.h

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/dispatcher.cc ('k') | extensions/renderer/module_system_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/renderer/dispatcher_delegate.h
diff --git a/extensions/renderer/dispatcher_delegate.h b/extensions/renderer/dispatcher_delegate.h
index ba5ee60a7d875e12a08185b9cf929b4209b19527..0337082018274a092b3a3c19f87a774f53789b89 100644
--- a/extensions/renderer/dispatcher_delegate.h
+++ b/extensions/renderer/dispatcher_delegate.h
@@ -36,7 +36,9 @@ class DispatcherDelegate {
const v8::Handle<v8::Context>& v8_context,
blink::WebFrame* frame,
const Extension* extension,
- Feature::Context context_type) = 0;
+ Feature::Context context_type,
+ const Extension* effective_extension,
+ Feature::Context effective_context_type) = 0;
// Initializes origin permissions for a newly created extension context.
virtual void InitOriginPermissions(const Extension* extension,
« no previous file with comments | « extensions/renderer/dispatcher.cc ('k') | extensions/renderer/module_system_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698