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

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

Issue 2874933008: Adds animation as feature variation to keyboard accessory. (Closed)
Patch Set: Merge forward Created 3 years, 7 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
Index: chrome/browser/ui/android/autofill/autofill_popup_view_android.cc
diff --git a/chrome/browser/ui/android/autofill/autofill_popup_view_android.cc b/chrome/browser/ui/android/autofill/autofill_popup_view_android.cc
index 9eda253c35ce8175d657380f7e0aeae055a9d134..bfe6f7abe52980a08e31038710092e6b2e3c5a30 100644
--- a/chrome/browser/ui/android/autofill/autofill_popup_view_android.cc
+++ b/chrome/browser/ui/android/autofill/autofill_popup_view_android.cc
@@ -183,7 +183,10 @@ bool AutofillPopupViewAndroid::RegisterAutofillPopupViewAndroid(JNIEnv* env) {
AutofillPopupView* AutofillPopupView::Create(
AutofillPopupController* controller) {
if (IsKeyboardAccessoryEnabled())
- return new AutofillKeyboardAccessoryView(controller);
+ return new AutofillKeyboardAccessoryView(
+ controller, GetKeyboardAccessoryAnimationDuration(),
+ ShouldLimitKeyboardAccessorySuggestionLabelWidth(),
+ IsHintBeforeKeyboardAccessorySuggestions());
return new AutofillPopupViewAndroid(controller);
}

Powered by Google App Engine
This is Rietveld 408576698