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

Unified Diff: ios/chrome/browser/ui/dialogs/dialog_presenter_unittest.mm

Issue 2936643003: Allow cancelling the currently-presented dialog. (Closed)
Patch Set: fix compilation Created 3 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
« no previous file with comments | « ios/chrome/browser/ui/dialogs/dialog_presenter.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/ui/dialogs/dialog_presenter_unittest.mm
diff --git a/ios/chrome/browser/ui/dialogs/dialog_presenter_unittest.mm b/ios/chrome/browser/ui/dialogs/dialog_presenter_unittest.mm
index 2a566bf9b0e389edf4b0a1bc5d1a937df14f586c..2bd6df4fd3fc499072b401d0e03915c8e8f71ccf 100644
--- a/ios/chrome/browser/ui/dialogs/dialog_presenter_unittest.mm
+++ b/ios/chrome/browser/ui/dialogs/dialog_presenter_unittest.mm
@@ -120,7 +120,7 @@ - (void)dialogPresenter:(DialogPresenter*)presenter
// showing the dialog for |webState2|.
[presenter().presentedDialogCoordinator stop];
[presenter()
- buttonWasTappedForCoordinator:presenter().presentedDialogCoordinator];
+ dialogCoordinatorWasStopped:presenter().presentedDialogCoordinator];
EXPECT_EQ(2U, delegate().presentedWebStates.size());
EXPECT_EQ(&webState1, delegate().presentedWebStates.front());
EXPECT_EQ(&webState2, delegate().presentedWebStates.back());
« no previous file with comments | « ios/chrome/browser/ui/dialogs/dialog_presenter.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698