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

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

Issue 14571003: Don't display drop down arrows in rAc dialog unless there is a suggestion (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: dont break android 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 | « no previous file | chrome/browser/ui/autofill/autofill_dialog_controller.h » ('j') | 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 c29a1d33959c6f7d7bf140b06115d421f886450c..48a36e94e039af5a0fc5ef68f0e92b296ad95445 100644
--- a/chrome/browser/ui/android/autofill/autofill_dialog_view_android.cc
+++ b/chrome/browser/ui/android/autofill/autofill_dialog_view_android.cc
@@ -145,7 +145,7 @@ void AutofillDialogViewAndroid::UpdateSection(DialogSection section) {
autofilled.obj());
}
- ui::MenuModel* menuModel = controller_->MenuModelForSection(section);
+ ui::MenuModel* menuModel = controller_->MenuModelForSectionHack(section);
const int itemCount = menuModel->GetItemCount();
ScopedJavaLocalRef<jobjectArray> menu_array =
Java_AutofillDialogGlue_createAutofillDialogMenuItemArray(env,
« no previous file with comments | « no previous file | chrome/browser/ui/autofill/autofill_dialog_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698