Index: content/shell/shell_content_browser_client.h |
diff --git a/content/shell/shell_content_browser_client.h b/content/shell/shell_content_browser_client.h |
index 06f6516ec48dca4b5b9cc21c52977a5b2e24656a..7d72e75a919d852e3d12cbd53b5e7d74ab704374 100644 |
--- a/content/shell/shell_content_browser_client.h |
+++ b/content/shell/shell_content_browser_client.h |
@@ -39,6 +39,13 @@ class ShellContentBrowserClient : public ContentBrowserClient { |
virtual std::string GetDefaultDownloadName() OVERRIDE; |
virtual WebContentsViewDelegate* GetWebContentsViewDelegate( |
WebContents* web_contents) OVERRIDE; |
+ virtual bool CanCreateWindow( |
+ const GURL& opener_url, |
+ const GURL& source_origin, |
+ WindowContainerType container_type, |
+ ResourceContext* context, |
+ int render_process_id, |
+ bool* no_javascript_access) OVERRIDE; |
#if defined(OS_ANDROID) |
virtual void GetAdditionalMappedFilesForChildProcess( |