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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillDialogGlue.java

Issue 13851002: Add a checkbox for using the billing address for shipping (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Nit fixes 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
Index: chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillDialogGlue.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillDialogGlue.java b/chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillDialogGlue.java
index d64cc46b0bffab0bffb13e7b99adb44c644a093d..c22fd338768050a12e0cec2856c0af2d574e7f10 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillDialogGlue.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillDialogGlue.java
@@ -22,18 +22,22 @@ public class AutofillDialogGlue implements AutofillDialogDelegate,
private final AutofillDialog mAutofillDialog;
private final AutofillDialogAccountHelper mAccountHelper;
- public AutofillDialogGlue(int nativeAutofillDialogViewAndroid, NativeWindow nativeWindow) {
+ public AutofillDialogGlue(int nativeAutofillDialogViewAndroid, NativeWindow nativeWindow,
+ String useBillingForShippingText) {
mNativeDialogPopup = nativeAutofillDialogViewAndroid;
mAccountHelper = new AutofillDialogAccountHelper(this, nativeWindow.getContext());
- mAutofillDialog = new AutofillDialog(nativeWindow.getContext(), this);
+ mAutofillDialog = new AutofillDialog(
+ nativeWindow.getContext(), this, useBillingForShippingText);
mAutofillDialog.show();
}
@CalledByNative
private static AutofillDialogGlue create(int nativeAutofillDialogViewAndroid,
- NativeWindow nativeWindow) {
- return new AutofillDialogGlue(nativeAutofillDialogViewAndroid, nativeWindow);
+ NativeWindow nativeWindow,
+ String useBillingForShippingText) {
+ return new AutofillDialogGlue(nativeAutofillDialogViewAndroid, nativeWindow,
+ useBillingForShippingText);
}
/**

Powered by Google App Engine
This is Rietveld 408576698