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

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

Issue 2628053003: Remove extension group from DOMWrapperWorld. (Closed)
Patch Set: 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
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.

Powered by Google App Engine
This is Rietveld 408576698