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

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

Issue 2109673002: Add 'x' button to the signin promo in the password bubble. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 d3da44b02c1dbef02dc4a072bce45e8dd585a994..10dcaab05e6cd3d179df85e44a71977cfe4ab3b8 100644
--- a/chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc
+++ b/chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc
@@ -815,7 +815,8 @@ bool ManagePasswordsBubbleView::ShouldShowWindowTitle() const {
}
bool ManagePasswordsBubbleView::ShouldShowCloseButton() const {
- return model_.state() == password_manager::ui::PENDING_PASSWORD_STATE;
+ return model_.state() == password_manager::ui::PENDING_PASSWORD_STATE ||
+ model_.state() == password_manager::ui::CHROME_SIGN_IN_PROMO_STATE;
}
void ManagePasswordsBubbleView::Refresh() {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698