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

Unified Diff: third_party/WebKit/public/web/WebContentSettingsClient.h

Issue 2628053003: Remove extension group from DOMWrapperWorld. (Closed)
Patch Set: Fix GCCallbackTest Created 3 years, 11 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 | « third_party/WebKit/Source/web/tests/WebFrameTest.cpp ('k') | third_party/WebKit/public/web/WebFrame.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/web/WebContentSettingsClient.h
diff --git a/third_party/WebKit/public/web/WebContentSettingsClient.h b/third_party/WebKit/public/web/WebContentSettingsClient.h
index 933c372209e1f8e020afcef3683678974868a121..b0ae806f4e1e7d93b0fadb165181fa314563ddf0 100644
--- a/third_party/WebKit/public/web/WebContentSettingsClient.h
+++ b/third_party/WebKit/public/web/WebContentSettingsClient.h
@@ -66,22 +66,6 @@ class WebContentSettingsClient {
return enabledPerSettings;
}
- // 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
- // WebLocalFrame::executeScriptInIsolatedWorld with that same extensionGroup
- // value.
- virtual bool allowScriptExtension(const WebString& extensionName,
- int extensionGroup) {
- return true;
- }
-
- virtual bool allowScriptExtension(const WebString& extensionName,
- int extensionGroup,
- int worldId) {
- return allowScriptExtension(extensionName, extensionGroup);
- }
-
// Controls whether HTML5 Web Storage is allowed for this frame.
// If local is true, then this is for local storage, otherwise it's for
// session storage.
« no previous file with comments | « third_party/WebKit/Source/web/tests/WebFrameTest.cpp ('k') | third_party/WebKit/public/web/WebFrame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698