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

Unified Diff: content/browser/mock_content_browser_client.cc

Issue 9837074: Make it so that allow_js_access: false can be used with background pages created by window.open. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix indentation. Created 8 years, 9 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: content/browser/mock_content_browser_client.cc
diff --git a/content/browser/mock_content_browser_client.cc b/content/browser/mock_content_browser_client.cc
index 84567851685e44a1df5ccfaebf146711b808f69b..1ce2fcdc0d25df1c4343ec771ea03e9c39dadabf 100644
--- a/content/browser/mock_content_browser_client.cc
+++ b/content/browser/mock_content_browser_client.cc
@@ -248,7 +248,9 @@ bool MockContentBrowserClient::CanCreateWindow(
const GURL& source_origin,
WindowContainerType container_type,
ResourceContext* context,
- int render_process_id) {
+ int render_process_id,
+ bool* no_javascript_access) {
+ *no_javascript_access = false;
return true;
}
« no previous file with comments | « content/browser/mock_content_browser_client.h ('k') | content/browser/renderer_host/render_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698