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

Unified Diff: chrome/renderer/chrome_render_view_observer.h

Issue 8872053: Add world_id parameter to ExtensionDispatcher::AllowScriptExecution(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix compile Created 9 years 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 | « no previous file | chrome/renderer/chrome_render_view_observer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/chrome_render_view_observer.h
diff --git a/chrome/renderer/chrome_render_view_observer.h b/chrome/renderer/chrome_render_view_observer.h
index 4cb21e0f4d55693c5cce5510b485cdd24f3d4515..fe97f5d1ab2f1f53338802cb0dbb9eff1893ba7b 100644
--- a/chrome/renderer/chrome_render_view_observer.h
+++ b/chrome/renderer/chrome_render_view_observer.h
@@ -96,6 +96,10 @@ class ChromeRenderViewObserver : public content::RenderViewObserver,
virtual bool allowScriptExtension(WebKit::WebFrame* frame,
const WebKit::WebString& extension_name,
int extension_group) OVERRIDE;
+ virtual bool allowScriptExtension(WebKit::WebFrame* frame,
+ const WebKit::WebString& extension_name,
+ int extension_group,
+ int world_id);
virtual bool allowStorage(WebKit::WebFrame* frame, bool local) OVERRIDE;
virtual bool allowReadFromClipboard(WebKit::WebFrame* frame,
bool default_value) OVERRIDE;
« no previous file with comments | « no previous file | chrome/renderer/chrome_render_view_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698