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

Unified Diff: WebKit/chromium/public/WebFrameClient.h

Issue 3453022: Merge 68061 - 2010-09-22 Matt Perry <mpcomplete@chromium.org>... (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/517/
Patch Set: Created 10 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 | « WebKit/chromium/ChangeLog ('k') | WebKit/chromium/public/WebScriptController.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: WebKit/chromium/public/WebFrameClient.h
===================================================================
--- WebKit/chromium/public/WebFrameClient.h (revision 68288)
+++ WebKit/chromium/public/WebFrameClient.h (working copy)
@@ -301,7 +301,14 @@
// scripts.
virtual void didCreateIsolatedScriptContext(WebFrame*) { }
+ // Controls whether the given script extension should run in a new script
+ // context in this frame. If extensionGroup is 0, the script context is the
+ // frame's main context. Otherwise, it is a context created by
+ // WebFrame::executeScriptInIsolatedWorld with that same extensionGroup
+ // value.
+ virtual bool allowScriptExtension(WebFrame*, const WebString& extensionName, int extensionGroup) { return true; }
+
// Geometry notifications ----------------------------------------------
// The frame's document finished the initial layout of a page.
« no previous file with comments | « WebKit/chromium/ChangeLog ('k') | WebKit/chromium/public/WebScriptController.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698