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

Unified Diff: chrome/browser/ui/android/infobars/update_password_infobar.cc

Issue 2298733003: Removing Nope button in Update password prompt according to mocks. (Closed)
Patch Set: Remove Cancel Created 4 years, 3 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 | « chrome/browser/password_manager/update_password_infobar_delegate_android.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/android/infobars/update_password_infobar.cc
diff --git a/chrome/browser/ui/android/infobars/update_password_infobar.cc b/chrome/browser/ui/android/infobars/update_password_infobar.cc
index 395915639cde2fc274058c9aa80917255be3c8d8..aae6f3dfdb4d34a78418ea2ee4435cf50bc4eb9e 100644
--- a/chrome/browser/ui/android/infobars/update_password_infobar.cc
+++ b/chrome/browser/ui/android/infobars/update_password_infobar.cc
@@ -34,8 +34,6 @@ UpdatePasswordInfoBar::CreateRenderInfoBar(JNIEnv* env) {
static_cast<UpdatePasswordInfoBarDelegate*>(delegate());
ScopedJavaLocalRef<jstring> ok_button_text = ConvertUTF16ToJavaString(
env, GetTextFor(ConfirmInfoBarDelegate::BUTTON_OK));
- ScopedJavaLocalRef<jstring> cancel_button_text = ConvertUTF16ToJavaString(
- env, GetTextFor(ConfirmInfoBarDelegate::BUTTON_CANCEL));
ScopedJavaLocalRef<jstring> message_text =
ConvertUTF16ToJavaString(env, update_password_delegate->GetMessageText());
@@ -53,8 +51,7 @@ UpdatePasswordInfoBar::CreateRenderInfoBar(JNIEnv* env) {
env, GetEnumeratedIconId(),
base::android::ToJavaArrayOfStrings(env, usernames), message_text,
update_password_delegate->message_link_range().start(),
- update_password_delegate->message_link_range().end(), ok_button_text,
- cancel_button_text));
+ update_password_delegate->message_link_range().end(), ok_button_text));
java_infobar_.Reset(env, infobar.obj());
return infobar;
« no previous file with comments | « chrome/browser/password_manager/update_password_infobar_delegate_android.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698