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

Unified Diff: ios/web/web_state/web_state_delegate_stub.h

Issue 2074733002: Add public API for handling Javascript alerts and prompt. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Replace BOOL with bool in unittest. Created 4 years, 6 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/web_state/web_state_delegate_stub.h
diff --git a/ios/web/web_state/web_state_delegate_stub.h b/ios/web/web_state/web_state_delegate_stub.h
index b21ce349ccae05cd90e15ef65758f65dc3033f8f..7398dca818bb77daf468e865a0cb737079ef66d9 100644
--- a/ios/web/web_state/web_state_delegate_stub.h
+++ b/ios/web/web_state/web_state_delegate_stub.h
@@ -18,6 +18,8 @@
// ContextMenuParams reveived in |webState:handleContextMenu:| call.
// nullptr if that delegate method was not called.
@property(nonatomic, readonly) web::ContextMenuParams* contextMenuParams;
+// Whether |javaScriptDialogPresenterForWebState:| has been called or not.
+@property(nonatomic, readonly) BOOL javaScriptDialogPresenterRequested;
@end
#endif // IOS_WEB_WEB_STATE_WEB_STATE_DELEGATE_STUB_H_
« no previous file with comments | « ios/web/web_state/web_state_delegate_bridge_unittest.mm ('k') | ios/web/web_state/web_state_delegate_stub.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698