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

Unified Diff: chrome/browser/ui/cocoa/ssl_client_certificate_selector_cocoa_browsertest.mm

Issue 11647017: Rename platform-independent ConstrainedWindow types to WebContentsModalDialog types (part 1) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: stage changes to preserve history Created 8 years 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: chrome/browser/ui/cocoa/ssl_client_certificate_selector_cocoa_browsertest.mm
diff --git a/chrome/browser/ui/cocoa/ssl_client_certificate_selector_cocoa_browsertest.mm b/chrome/browser/ui/cocoa/ssl_client_certificate_selector_cocoa_browsertest.mm
index befcbcce0a37e656bafe2b5d57fe9933174f35e6..6315c7133a7b995e025b22abd573470943af523d 100644
--- a/chrome/browser/ui/cocoa/ssl_client_certificate_selector_cocoa_browsertest.mm
+++ b/chrome/browser/ui/cocoa/ssl_client_certificate_selector_cocoa_browsertest.mm
@@ -33,7 +33,7 @@ IN_PROC_BROWSER_TEST_F(SSLClientCertificateSelectorCocoaTest, Basic) {
content::WebContents* web_contents = chrome::GetActiveWebContents(browser());
ConstrainedWindowTabHelper* constrained_window_tab_helper =
ConstrainedWindowTabHelper::FromWebContents(web_contents);
- EXPECT_EQ(0u, constrained_window_tab_helper->constrained_window_count());
+ EXPECT_EQ(0u, constrained_window_tab_helper->dialog_count());
net::X509Certificate* cert = NULL;
int count = 0;
@@ -47,11 +47,11 @@ IN_PROC_BROWSER_TEST_F(SSLClientCertificateSelectorCocoaTest, Basic) {
[selector displayForWebContents:web_contents];
content::RunAllPendingInMessageLoop();
EXPECT_TRUE([selector panel]);
- EXPECT_EQ(1u, constrained_window_tab_helper->constrained_window_count());
+ EXPECT_EQ(1u, constrained_window_tab_helper->dialog_count());
- constrained_window_tab_helper->CloseConstrainedWindows();
+ constrained_window_tab_helper->CloseAllDialogs();
content::RunAllPendingInMessageLoop();
- EXPECT_EQ(0u, constrained_window_tab_helper->constrained_window_count());
+ EXPECT_EQ(0u, constrained_window_tab_helper->dialog_count());
EXPECT_EQ(NULL, cert);
EXPECT_EQ(1, count);
« no previous file with comments | « chrome/browser/ui/cocoa/ssl_client_certificate_selector_cocoa.mm ('k') | chrome/browser/ui/constrained_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698