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

Unified Diff: chrome/browser/ui/android/autofill/autofill_dialog_view_android.cc

Issue 14801009: [rAc Android dialog] Logo, banner, text, alignment fixes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. Created 7 years, 8 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/ui/android/autofill/autofill_dialog_view_android.h ('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/autofill/autofill_dialog_view_android.cc
diff --git a/chrome/browser/ui/android/autofill/autofill_dialog_view_android.cc b/chrome/browser/ui/android/autofill/autofill_dialog_view_android.cc
index ef9da6ce40db9c1ef10a1e4d54ea9fe7a76d0f2d..3375ff7cbc9965e43ea87fa46ae61d16acd63d9d 100644
--- a/chrome/browser/ui/android/autofill/autofill_dialog_view_android.cc
+++ b/chrome/browser/ui/android/autofill/autofill_dialog_view_android.cc
@@ -104,7 +104,6 @@ void AutofillDialogViewAndroid::UpdateAccountChooser() {
ui::MenuModel* model = controller_->MenuModelForAccountChooser();
if (!model || controller_->ShouldShowSpinner()) {
account_names.push_back(controller_->AccountChooserText());
- selected_account_index = 0;
} else {
for (int i = 0; i < model->GetItemCount(); ++i) {
if (model->IsItemCheckedAt(i))
@@ -276,6 +275,14 @@ ScopedJavaLocalRef<jstring> AutofillDialogViewAndroid::GetSaveLocallyText(
controller_->SaveLocallyText());
}
+ScopedJavaLocalRef<jstring> AutofillDialogViewAndroid::GetLegalDocumentsText(
+ JNIEnv* env,
+ jobject obj) {
+ return base::android::ConvertUTF16ToJavaString(
+ env,
+ controller_->LegalDocumentsText());
+}
+
ScopedJavaLocalRef<jstring> AutofillDialogViewAndroid::GetProgressBarText(
JNIEnv* env,
jobject obj) {
« no previous file with comments | « chrome/browser/ui/android/autofill/autofill_dialog_view_android.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698