Index: ui/views/controls/webview/web_dialog_view.h |
diff --git a/ui/views/controls/webview/web_dialog_view.h b/ui/views/controls/webview/web_dialog_view.h |
index 3640184d5dfcfc65c461796eb5c50cf375e43f65..ce69cfc7968e8273090d43c5a70024b544cdd836 100644 |
--- a/ui/views/controls/webview/web_dialog_view.h |
+++ b/ui/views/controls/webview/web_dialog_view.h |
@@ -111,6 +111,15 @@ class WEBVIEW_EXPORT WebDialogView : public views::ClientView, |
void BeforeUnloadFired(content::WebContents* tab, |
bool proceed, |
bool* proceed_to_fire_unload) override; |
+ bool ShouldCreateWebContents( |
+ content::WebContents* web_contents, |
+ int route_id, |
+ int main_frame_route_id, |
+ WindowContainerType window_container_type, |
+ const base::string16& frame_name, |
+ const GURL& target_url, |
+ const std::string& partition_id, |
+ content::SessionStorageNamespace* session_storage_namespace) override; |
private: |
FRIEND_TEST_ALL_PREFIXES(WebDialogBrowserTest, WebContentRendered); |