Index: content/public/browser/content_browser_client.h |
diff --git a/content/public/browser/content_browser_client.h b/content/public/browser/content_browser_client.h |
index 9a3c5a50004301b22e8fa1fb0db6c3c9ef673c5f..b390748732b1edf3c8dc681f4d15703cd2774ccf 100644 |
--- a/content/public/browser/content_browser_client.h |
+++ b/content/public/browser/content_browser_client.h |
@@ -336,14 +336,16 @@ class ContentBrowserClient { |
int notification_id) = 0; |
// Returns true if the given page is allowed to open a window of the given |
- // type. |
+ // type. If true is returned, |no_javascript_access| will indicate whether |
+ // the window that is created should be scriptable/in the same process. |
// This is called on the IO thread. |
virtual bool CanCreateWindow( |
const GURL& opener_url, |
const GURL& source_origin, |
WindowContainerType container_type, |
content::ResourceContext* context, |
- int render_process_id) = 0; |
+ int render_process_id, |
+ bool* no_javascript_access) = 0; |
// Returns a title string to use in the task manager for a process host with |
// the given URL, or the empty string to fall back to the default logic. |