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

Unified Diff: ios/web/web_state/web_state_delegate.mm

Issue 2642233004: Removed Form Resubmission callback from CRWWebDelegate. (Closed)
Patch Set: Added ShowRepostFormWarningWithNoDelegateMethod test Created 3 years, 11 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 | « ios/web/web_state/ui/crw_web_controller.mm ('k') | ios/web/web_state/web_state_delegate_bridge.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/web_state/web_state_delegate.mm
diff --git a/ios/web/web_state/web_state_delegate.mm b/ios/web/web_state/web_state_delegate.mm
index 7aeba30e5c973eb03ebe4bab58ce53eec2b0d8f8..879e6f7f7ac1d61c2097194f0e6e49ed61627798 100644
--- a/ios/web/web_state/web_state_delegate.mm
+++ b/ios/web/web_state/web_state_delegate.mm
@@ -30,6 +30,12 @@ bool WebStateDelegate::HandleContextMenu(WebState*, const ContextMenuParams&) {
return false;
}
+void WebStateDelegate::ShowRepostFormWarningDialog(
+ WebState*,
+ const base::Callback<void(bool)>& callback) {
+ callback.Run(true);
+}
+
JavaScriptDialogPresenter* WebStateDelegate::GetJavaScriptDialogPresenter(
WebState*) {
return nullptr;
« no previous file with comments | « ios/web/web_state/ui/crw_web_controller.mm ('k') | ios/web/web_state/web_state_delegate_bridge.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698