2015-02-04 18:10:14 +00:00
|
|
|
diff --git web_dialog_view.cc web_dialog_view.cc
|
2015-07-23 20:06:56 -04:00
|
|
|
index 4b5e8b2..1501d0b 100644
|
2015-02-04 18:10:14 +00:00
|
|
|
--- web_dialog_view.cc
|
|
|
|
+++ web_dialog_view.cc
|
2015-04-23 13:03:42 +03:00
|
|
|
@@ -340,7 +340,9 @@ bool WebDialogView::ShouldCreateWebContents(
|
2015-07-23 20:06:56 -04:00
|
|
|
const std::string& frame_name,
|
2015-02-04 18:10:14 +00:00
|
|
|
const GURL& target_url,
|
|
|
|
const std::string& partition_id,
|
|
|
|
- content::SessionStorageNamespace* session_storage_namespace) {
|
|
|
|
+ content::SessionStorageNamespace* session_storage_namespace,
|
|
|
|
+ content::WebContentsView** view,
|
|
|
|
+ content::RenderViewHostDelegateView** delegate_view) {
|
|
|
|
if (delegate_)
|
|
|
|
return delegate_->HandleShouldCreateWebContents();
|
|
|
|
return true;
|
|
|
|
diff --git web_dialog_view.h web_dialog_view.h
|
2015-07-23 20:06:56 -04:00
|
|
|
index dc6598d..ce2616c 100644
|
2015-02-04 18:10:14 +00:00
|
|
|
--- web_dialog_view.h
|
|
|
|
+++ web_dialog_view.h
|
|
|
|
@@ -119,7 +119,9 @@ class WEBVIEW_EXPORT WebDialogView : public views::ClientView,
|
2015-07-23 20:06:56 -04:00
|
|
|
const std::string& frame_name,
|
2015-02-04 18:10:14 +00:00
|
|
|
const GURL& target_url,
|
|
|
|
const std::string& partition_id,
|
|
|
|
- content::SessionStorageNamespace* session_storage_namespace) override;
|
|
|
|
+ content::SessionStorageNamespace* session_storage_namespace,
|
|
|
|
+ content::WebContentsView** view,
|
|
|
|
+ content::RenderViewHostDelegateView** delegate_view) override;
|
|
|
|
|
|
|
|
private:
|
|
|
|
FRIEND_TEST_ALL_PREFIXES(WebDialogBrowserTest, WebContentRendered);
|