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

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

Issue 394403003: Close the password bubble on the icon click. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added a test 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_icon_view.cc
diff --git a/chrome/browser/ui/views/passwords/manage_passwords_icon_view.cc b/chrome/browser/ui/views/passwords/manage_passwords_icon_view.cc
index 42457d001978e73f58b838eedd5bac30851dd331..7a9179dcf299fabf4438445ef5bc32e27d3b6674 100644
--- a/chrome/browser/ui/views/passwords/manage_passwords_icon_view.cc
+++ b/chrome/browser/ui/views/passwords/manage_passwords_icon_view.cc
@@ -68,3 +68,7 @@ bool ManagePasswordsIconView::IsBubbleShowing() const {
void ManagePasswordsIconView::OnExecuting(
BubbleIconView::ExecuteSource source) {
}
+
+void ManagePasswordsIconView::OnMousePressSuppressed() {
Peter Kasting 2014/07/22 18:55:18 Instead of adding a new virtual method with the so
vasilii 2014/07/23 09:22:53 Done.
+ ManagePasswordsBubbleView::CloseBubble();
+}

Powered by Google App Engine
This is Rietveld 408576698