| Index: ios/web_view/public/cwv_ui_delegate.h
|
| diff --git a/ios/web_view/public/cwv_ui_delegate.h b/ios/web_view/public/cwv_ui_delegate.h
|
| index 6aa3cffd206c7f9aea652f16fe0e6d6e8e25a179..44baff72c0f45bf72be1408e6be46844138ffa3a 100644
|
| --- a/ios/web_view/public/cwv_ui_delegate.h
|
| +++ b/ios/web_view/public/cwv_ui_delegate.h
|
| @@ -25,6 +25,32 @@
|
| inView:(UIView*)view
|
| userGestureLocation:(CGPoint)location;
|
|
|
| +// Instructs the delegate to show UI in response to window.alert JavaScript
|
| +// call.
|
| +- (void)webView:(CWVWebView*)webView
|
| + runJavaScriptAlertPanelWithMessage:(NSString*)message
|
| + pageURL:(NSURL*)URL
|
| + completionHandler:(void (^)(void))completionHandler;
|
| +
|
| +// Instructs the delegate to show UI in response to
|
| +// window.confirm JavaScript call.
|
| +- (void)webView:(CWVWebView*)webView
|
| + runJavaScriptConfirmPanelWithMessage:(NSString*)message
|
| + pageURL:(NSURL*)URL
|
| + completionHandler:(void (^)(BOOL))completionHandler;
|
| +
|
| +// Instructs the delegate to show UI in response to window.prompt
|
| +// JavaScript call.
|
| +- (void)webView:(CWVWebView*)webView
|
| + runJavaScriptTextInputPanelWithPrompt:(NSString*)prompt
|
| + defaultText:(NSString*)defaultText
|
| + pageURL:(NSURL*)URL
|
| + completionHandler:
|
| + (void (^)(NSString*))completionHandler;
|
| +
|
| +// Instructs the delegate to cancel all current javascript prompts.
|
| +- (void)cancelDialogsForWebView:(CWVWebView*)webView;
|
| +
|
| @end
|
|
|
| #endif // IOS_WEB_VIEW_PUBLIC_CWV_UI_DELEGATE_H_
|
|
|