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

Unified Diff: ios/web/public/web_state/web_state_delegate.h

Issue 2642233004: Removed Form Resubmission callback from CRWWebDelegate. (Closed)
Patch Set: Self review 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
Index: ios/web/public/web_state/web_state_delegate.h
diff --git a/ios/web/public/web_state/web_state_delegate.h b/ios/web/public/web_state/web_state_delegate.h
index d5f1590cacf2d6c4cc158273c83a2f4962c5437b..450fb80cc2e8b2488bd8cb4ae5ca8df0dffa72ba 100644
--- a/ios/web/public/web_state/web_state_delegate.h
+++ b/ios/web/public/web_state/web_state_delegate.h
@@ -39,6 +39,12 @@ class WebStateDelegate {
virtual bool HandleContextMenu(WebState* source,
const ContextMenuParams& params);
+ // Requests the repost form confirmation dialog. Clients must call callback
marq (ping after 24h) 2017/01/23 08:18:28 nit: |callback|.
Eugene But (OOO till 7-30) 2017/01/23 19:48:33 Done.
+ // with true to allow repost and with false to cancel the repost.
+ virtual void ShowRepostFormWarningDialog(
+ WebState* source,
+ const base::Callback<void(bool)>& callback);
+
// Returns a pointer to a service to manage dialogs. May return nullptr in
// which case dialogs aren't shown.
// TODO(crbug.com/622084): Find better place for this method.

Powered by Google App Engine
This is Rietveld 408576698