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

Unified Diff: chrome/browser/ui/passwords/manage_passwords_icon.cc

Issue 1028243004: Hide the password bubble when the underlying ManagePasswordsUIController changes its state. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add a Mac test Created 5 years, 9 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/passwords/manage_passwords_icon.cc
diff --git a/chrome/browser/ui/passwords/manage_passwords_icon.cc b/chrome/browser/ui/passwords/manage_passwords_icon.cc
index cbe2855e812976e1ffaeaa06f7c5874061e33c89..6ebdda84322c5f122f743be33f7555d24ea0c6b0 100644
--- a/chrome/browser/ui/passwords/manage_passwords_icon.cc
+++ b/chrome/browser/ui/passwords/manage_passwords_icon.cc
@@ -28,6 +28,7 @@ void ManagePasswordsIcon::SetActive(bool active) {
void ManagePasswordsIcon::SetState(password_manager::ui::State state) {
if (state_ == state)
return;
+ OnChangingState();
state_ = state;
UpdateIDs();
UpdateVisibleUI();
« no previous file with comments | « chrome/browser/ui/passwords/manage_passwords_icon.h ('k') | chrome/browser/ui/passwords/manage_passwords_icon_mock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698