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

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

Issue 14129005: Remove "Use billing for shipping" checkbox in favor of item in suggestions menu. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 30f1901b0b59e50dd6140404da64c5fcdf4cc2b3..f8536672ec31b4e88cb38fbe161b90e981ccc14a 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,22 +22,18 @@ public class AutofillDialogGlue implements AutofillDialogDelegate,
private final AutofillDialog mAutofillDialog;
private final AutofillDialogAccountHelper mAccountHelper;
- public AutofillDialogGlue(int nativeAutofillDialogViewAndroid, NativeWindow nativeWindow,
- String useBillingForShippingText) {
+ public AutofillDialogGlue(int nativeAutofillDialogViewAndroid, NativeWindow nativeWindow) {
mNativeDialogPopup = nativeAutofillDialogViewAndroid;
mAccountHelper = new AutofillDialogAccountHelper(this, nativeWindow.getContext());
- mAutofillDialog = new AutofillDialog(
- nativeWindow.getContext(), this, useBillingForShippingText);
+ mAutofillDialog = new AutofillDialog(nativeWindow.getContext(), this);
mAutofillDialog.show();
}
@CalledByNative
private static AutofillDialogGlue create(int nativeAutofillDialogViewAndroid,
- NativeWindow nativeWindow,
- String useBillingForShippingText) {
- return new AutofillDialogGlue(nativeAutofillDialogViewAndroid, nativeWindow,
- useBillingForShippingText);
+ NativeWindow nativeWindow) {
+ return new AutofillDialogGlue(nativeAutofillDialogViewAndroid, nativeWindow);
}
/**
@@ -99,14 +95,6 @@ public class AutofillDialogGlue implements AutofillDialogDelegate,
}
/**
- * @see AutofillDialog#shouldUseBillingForShipping()
- */
- @CalledByNative
- private boolean shouldUseBillingForShipping() {
- return mAutofillDialog.shouldUseBillingForShipping();
- }
-
- /**
* @see AutofillDialog#shouldSaveDetailsLocally()
*/
@CalledByNative

Powered by Google App Engine
This is Rietveld 408576698