Index: ios/web/public/web_state/crw_web_user_interface_delegate.h |
diff --git a/ios/web/public/web_state/crw_web_user_interface_delegate.h b/ios/web/public/web_state/crw_web_user_interface_delegate.h |
index f293b2d2e35c358e4641ca4bfbfe7daaf88614f4..47cfa3ede9cc26dcbe734bbf7ddbe114131c8805 100644 |
--- a/ios/web/public/web_state/crw_web_user_interface_delegate.h |
+++ b/ios/web/public/web_state/crw_web_user_interface_delegate.h |
@@ -49,6 +49,10 @@ class GURL; |
completionHandler: |
(void (^)(NSString* input))completionHandler; |
+// Cancels any outstanding JavaScript dialogs requested by the functions above. |
+- (void)cancelJavaScriptDialogsForWebController: |
+ (CRWWebController*)webController; |
+ |
// Displays a context menu for DOM element. |point| and |view| represent the |
// location and UIView where the context menu was triggered by a user gesture. |
// |menuInfo| keys are defined in crw_context_menu_provider.h. |