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

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

Issue 440903002: Password "key" icon in the omnibox should be focusable. If the bubble is open then it automatically… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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.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 55dfde9866b8dc7c182eaf618b12be396523e038..2c50fcfbb2e09d0541717c804a703f586ab0ba51 100644
--- a/chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc
+++ b/chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc
@@ -560,6 +560,13 @@ void ManagePasswordsBubbleView::CloseBubble() {
}
// static
+void ManagePasswordsBubbleView::ActivateBubble() {
+ if (!IsShowing())
+ return;
+ manage_passwords_bubble_->GetWidget()->Activate();
+}
+
+// static
bool ManagePasswordsBubbleView::IsShowing() {
// The bubble may be in the process of closing.
return (manage_passwords_bubble_ != NULL) &&

Powered by Google App Engine
This is Rietveld 408576698