| 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 53f2b839e7578426f0079c4a42269344b5923187..73bc19f3770220567d33c22b6e29e5dda319108a 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
|
| @@ -808,12 +808,17 @@ public class PaymentRequestUI implements DialogInterface.OnDismissListener, View
|
| }
|
|
|
| /**
|
| - * Called when the user has sent the payment information to the website, which is now processing
|
| - * the payment.
|
| + * Called when the user has clicked on pay. The message is shown while the payment information
|
| + * is processed right until a confimation from the merchant is received.
|
| */
|
| public void showProcessingMessage() {
|
| assert mIsProcessingPayClicked;
|
| mIsProcessingPayClicked = false;
|
| +
|
| + // The payment cannot be cancelled at that point, do not show a close button.
|
| + mCloseButton.setClickable(false);
|
| + mCloseButton.setVisibility(View.INVISIBLE);
|
| +
|
| changeSpinnerVisibility(true);
|
| mDialog.show();
|
| }
|
|
|