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

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

Issue 2461443002: [Payments] Remove the X in payments request processing UI. (Closed)
Patch Set: Created 4 years, 2 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698