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

Unified Diff: ios/web/public/test/fakes/test_web_state_observer.mm

Issue 2755013002: Removed webControllerDidSuppressDialog: callback. (Closed)
Patch Set: Self review Created 3 years, 9 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/test/fakes/test_web_state_observer.mm
diff --git a/ios/web/public/test/fakes/test_web_state_observer.mm b/ios/web/public/test/fakes/test_web_state_observer.mm
index 67c2992d3407e96e995db78a7cea652a0aa47801..fa9f746ec87cd6f31cc95c0801bc24935039548f 100644
--- a/ios/web/public/test/fakes/test_web_state_observer.mm
+++ b/ios/web/public/test/fakes/test_web_state_observer.mm
@@ -96,6 +96,12 @@ void TestWebStateObserver::DidChangeVisibleSecurityState() {
did_change_visible_security_state_info_->web_state = web_state();
}
+void TestWebStateObserver::DidSuppressDialog() {
+ did_suppress_dialog_info_ =
+ base::MakeUnique<web::TestDidSuppressDialogInfo>();
+ did_suppress_dialog_info_->web_state = web_state();
+}
+
void TestWebStateObserver::DocumentSubmitted(const std::string& form_name,
bool user_initiated) {
submit_document_info_ = base::MakeUnique<web::TestSubmitDocumentInfo>();
« no previous file with comments | « ios/web/public/test/fakes/test_web_state_observer.h ('k') | ios/web/public/test/fakes/test_web_state_observer_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698