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

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

Issue 2815623004: Use common URL emphasizer for web payments. (Closed)
Patch Set: Rebase on top of master Created 3 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
« no previous file with comments | « chrome/android/java/src/org/chromium/chrome/browser/payments/ui/PaymentRequestUI.java ('k') | 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/PaymentRequestUiErrorView.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/payments/ui/PaymentRequestUiErrorView.java b/chrome/android/java/src/org/chromium/chrome/browser/payments/ui/PaymentRequestUiErrorView.java
index 135a3f9f08bef93c2707fd0ec5a24ce53e51815c..de7a8c568274bdfb946c2e88445fc977438ce1e3 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/payments/ui/PaymentRequestUiErrorView.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/payments/ui/PaymentRequestUiErrorView.java
@@ -28,11 +28,13 @@ public class PaymentRequestUiErrorView extends BoundedLinearLayout {
/**
* Initializes the view with the correct strings.
*
- * @param title Title of the webpage.
- * @param origin Origin of the webpage.
+ * @param title Title of the webpage.
+ * @param origin Origin of the webpage.
+ * @param securityLevel The security level of the page that invoked PaymentRequest.
*/
- public void initialize(String title, String origin) {
- ((PaymentRequestHeader) findViewById(R.id.header)).setTitleAndOrigin(title, origin);
+ public void initialize(String title, String origin, int securityLevel) {
+ ((PaymentRequestHeader) findViewById(R.id.header))
+ .setTitleAndOrigin(title, origin, securityLevel);
// Remove the close button, then expand the page information to take up the space formerly
// occupied by the X.
« no previous file with comments | « chrome/android/java/src/org/chromium/chrome/browser/payments/ui/PaymentRequestUI.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698