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

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

Issue 1964323002: Reland: Test dismissing CVC prompt for PaymentRequest (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 e03ce067026049c877e8af3a9d5547ab03c63c12..998258846b46168b4caa8cd7c961949869efbe1f 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
@@ -130,6 +130,11 @@ public class PaymentRequestUI implements DialogInterface.OnDismissListener, View
void onPaymentRequestReadyToPay(PaymentRequestUI ui);
/**
+ * Called when the result UI is showing.
+ */
+ void onPaymentRequestResultReady(PaymentRequestUI ui);
+
+ /**
* Called when the UI is gone.
*/
void onPaymentRequestDismiss();
@@ -352,6 +357,7 @@ public class PaymentRequestUI implements DialogInterface.OnDismissListener, View
if (callback != null) callback.run();
}
});
+ if (mObserverForTest != null) mObserverForTest.onPaymentRequestResultReady(this);
}
/**

Powered by Google App Engine
This is Rietveld 408576698