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

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: Switch to base/metrics/field_trial_params.h API from variations:: 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..e81d68d2fd7e78e0f81d50085e436943510a1967 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,9 @@ bool AutofillPopupViewAndroid::RegisterAutofillPopupViewAndroid(JNIEnv* env) {
AutofillPopupView* AutofillPopupView::Create(
AutofillPopupController* controller) {
if (IsKeyboardAccessoryEnabled())
- return new AutofillKeyboardAccessoryView(controller);
+ return new AutofillKeyboardAccessoryView(
+ controller, GetKeyboardAccessoryAnimationDuration(),
+ ShouldLimitKeyboardAccessorySuggestionLabelWidth());
return new AutofillPopupViewAndroid(controller);
}

Powered by Google App Engine
This is Rietveld 408576698