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 a910906060b1ab554d9a5e1af2b1e307adfebe16..cbf159ec5a84c4f293c45ee523105350ffec8248 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); |