Index: chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc |
diff --git a/chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc b/chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc |
index fa0a5636e8daa3e5c3bf4edc70282b64243db81d..b2c1071730243abdc671061d87119efc10bc9ee4 100644 |
--- a/chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc |
+++ b/chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc |
@@ -538,14 +538,8 @@ void ManagePasswordsBubbleView::ShowBubble(content::WebContents* web_contents, |
manage_passwords_bubble_->AdjustForFullscreen( |
browser_view->GetBoundsInScreen()); |
} |
- manage_passwords_bubble_->GetWidget()->Show(); |
+ manage_passwords_bubble_->GetWidget()->ShowInactive(); |
manage_passwords_bubble_->SetArrowPaintType(views::BubbleBorder::PAINT_NONE); |
- // set_use_focusless(true) has adverse effect on Windows. |
- // 1) The bubble can't be the active window (which is not desired behavior). |
- // 2) The bubble doesn't get WM_LBUTTONDOWN event. Therefore, all the buttons |
- // get stuck. |
- // TODO(vasilii): remove this line once the bug in infrastructure is resolved. |
- manage_passwords_bubble_->set_use_focusless(false); |
} |
// static |
@@ -573,8 +567,6 @@ ManagePasswordsBubbleView::ManagePasswordsBubbleView( |
never_save_passwords_(false) { |
// Compensate for built-in vertical padding in the anchor view's image. |
set_anchor_view_insets(gfx::Insets(2, 0, 2, 0)); |
- // Don't focus by default. |
- set_use_focusless(true); |
if (anchor_view) |
anchor_view->SetActive(true); |
} |