Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(413)

Unified Diff: ios/web_view/internal/cwv_web_view.mm

Issue 2760143002: Update ios/web_view/shell UIDelegate implementation. (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ios/web_view/shell/shell_view_controller.m » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web_view/internal/cwv_web_view.mm
diff --git a/ios/web_view/internal/cwv_web_view.mm b/ios/web_view/internal/cwv_web_view.mm
index 08fb97d0cad8000af7e293c22ba15bca521b574e..44574ef2a297964588ed65bcad3e05d74a6f6be3 100644
--- a/ios/web_view/internal/cwv_web_view.mm
+++ b/ios/web_view/internal/cwv_web_view.mm
@@ -79,6 +79,10 @@
base::MakeUnique<ios_web_view::WebViewWebStatePolicyDecider>(
_webState.get(), self);
+ _javaScriptDialogPresenter =
+ base::MakeUnique<ios_web_view::WebViewJavaScriptDialogPresenter>(
+ self, nullptr);
+
// Initialize Translate.
ios_web_view::WebViewTranslateClient::CreateForWebState(_webState.get());
}
« no previous file with comments | « no previous file | ios/web_view/shell/shell_view_controller.m » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698