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

Unified Diff: chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc

Issue 101383006: Fix glitch that allows both "Loading..." and "[x] Save details in Chrome" to (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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 | chrome/browser/ui/views/autofill/autofill_dialog_views.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc
diff --git a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc
index d29a0dcdab428bdc279550c1f28eded742031b86..d922477f494a9414e583e3fb175d3ef70b28277b 100644
--- a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc
+++ b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc
@@ -2014,14 +2014,12 @@ void AutofillDialogControllerImpl::SignInLinkClicked() {
handling_use_wallet_link_click_ = true;
account_chooser_model_->SelectWalletAccount(0);
FetchWalletCookie();
- view_->UpdateAccountChooser();
} else if (signin_registrar_.IsEmpty()) {
// Start sign in.
waiting_for_explicit_sign_in_response_ = true;
content::Source<content::NavigationController> source(view_->ShowSignIn());
signin_registrar_.Add(
this, content::NOTIFICATION_NAV_ENTRY_COMMITTED, source);
- view_->UpdateAccountChooser();
GetMetricLogger().LogDialogUiEvent(
AutofillMetrics::DIALOG_UI_SIGNIN_SHOWN);
@@ -2029,6 +2027,9 @@ void AutofillDialogControllerImpl::SignInLinkClicked() {
waiting_for_explicit_sign_in_response_ = false;
HideSignIn();
}
+
+ view_->UpdateAccountChooser();
+ view_->UpdateButtonStrip();
}
void AutofillDialogControllerImpl::NotificationCheckboxStateChanged(
« no previous file with comments | « no previous file | chrome/browser/ui/views/autofill/autofill_dialog_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698