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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/payments/ui/PaymentRequestUI.java

Issue 1931233002: Implement PaymentRequestUpdateEvent (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@explicit-shipping
Patch Set: Rebase 1 Created 4 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/payments/ui/PaymentRequestUI.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/payments/ui/PaymentRequestUI.java b/chrome/android/java/src/org/chromium/chrome/browser/payments/ui/PaymentRequestUI.java
index 34a2dbd190d1a3c79dddf4caf15ac3805d3f6cf1..5b1886ca41b6e34cf1e791e0d8cab270b97083c1 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/payments/ui/PaymentRequestUI.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/payments/ui/PaymentRequestUI.java
@@ -204,6 +204,7 @@ public class PaymentRequestUI implements DialogInterface.OnDismissListener, View
activity.getString(R.string.payments_order_summary_label), this);
mShippingSummarySection = new ExtraTextSection(activity,
activity.getString(R.string.payments_shipping_summary_label), this);
+ mShippingSummarySection.setId(R.id.payments_shipping_section);
mShippingAddressSection = new OptionSection(activity,
activity.getString(R.string.payments_shipping_address_label),
activity.getString(R.string.payments_select_shipping_address_prompt), this);
@@ -364,6 +365,7 @@ public class PaymentRequestUI implements DialogInterface.OnDismissListener, View
public void updateShippingOptionsSection(SectionInformation section) {
mShippingOptionsSectionInformation = section;
mShippingOptionSection.update(section);
+ updatePayButtonEnabled();
}
private void updatePaymentMethodSection(SectionInformation section) {

Powered by Google App Engine
This is Rietveld 408576698