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

Unified Diff: ui/android/java/src/org/chromium/ui/autofill/AutofillPopup.java

Issue 2103243002: Factor out ContentViewAndroidDelegate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments Created 4 years, 5 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: ui/android/java/src/org/chromium/ui/autofill/AutofillPopup.java
diff --git a/ui/android/java/src/org/chromium/ui/autofill/AutofillPopup.java b/ui/android/java/src/org/chromium/ui/autofill/AutofillPopup.java
index d66fcffcbf400538a17e9feb365a7180a51f0e30..df8414ad1e0d17b7dd32d560c00199a1c3b666ff 100644
--- a/ui/android/java/src/org/chromium/ui/autofill/AutofillPopup.java
+++ b/ui/android/java/src/org/chromium/ui/autofill/AutofillPopup.java
@@ -40,12 +40,14 @@ public class AutofillPopup extends DropdownPopupWindow implements AdapterView.On
/**
* Creates an AutofillWindow with specified parameters.
* @param context Application context.
+ * @param anchorView View anchored for popup.
+ * @param anchorWidth Width of the anchor view.
* @param viewAndroidDelegate View delegate used to add and remove views.
* @param autofillDelegate An object that handles the calls to the native AutofillPopupView.
*/
- public AutofillPopup(Context context, ViewAndroidDelegate viewAndroidDelegate,
- AutofillDelegate autofillDelegate) {
- super(context, viewAndroidDelegate);
+ public AutofillPopup(Context context, View anchorView, float anchorWidth,
+ ViewAndroidDelegate viewAndroidDelegate, AutofillDelegate autofillDelegate) {
+ super(context, anchorView, anchorWidth, viewAndroidDelegate);
mContext = context;
mAutofillDelegate = autofillDelegate;

Powered by Google App Engine
This is Rietveld 408576698