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

Unified Diff: chrome/browser/ui/views/passwords/manage_passwords_bubble_view_browsertest.cc

Issue 394403003: Close the password bubble on the icon click. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rename the getter Created 6 years, 5 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: chrome/browser/ui/views/passwords/manage_passwords_bubble_view_browsertest.cc
diff --git a/chrome/browser/ui/views/passwords/manage_passwords_bubble_view_browsertest.cc b/chrome/browser/ui/views/passwords/manage_passwords_bubble_view_browsertest.cc
index 09eb0107a087e7dc890766cc8e4a6c554eb0ee4b..cceeb7057e3ddd330fd0c3a0e6ffa286e004e003 100644
--- a/chrome/browser/ui/views/passwords/manage_passwords_bubble_view_browsertest.cc
+++ b/chrome/browser/ui/views/passwords/manage_passwords_bubble_view_browsertest.cc
@@ -81,10 +81,11 @@ IN_PROC_BROWSER_TEST_F(ManagePasswordsBubbleViewTest,
SetupPendingPassword();
// Bubble should not be focused by default.
- EXPECT_FALSE(
- ManagePasswordsBubbleView::Bubble()->GetFocusManager()->GetFocusedView());
+ EXPECT_FALSE(ManagePasswordsBubbleView::manage_password_bubble()->
+ GetFocusManager()->GetFocusedView());
// Bubble can be active if user clicks it.
- EXPECT_TRUE(ManagePasswordsBubbleView::Bubble()->CanActivate());
+ EXPECT_TRUE(ManagePasswordsBubbleView::manage_password_bubble()->
+ CanActivate());
scoped_ptr<base::HistogramSamples> samples(
GetSamples(kDisplayDispositionMetric));

Powered by Google App Engine
This is Rietveld 408576698