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

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

Issue 2561373002: [Payment Request] Keep selection for edited item when canceling editors (Closed)
Patch Set: move id to xml Created 4 years 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/PaymentRequestSection.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/payments/ui/PaymentRequestSection.java b/chrome/android/java/src/org/chromium/chrome/browser/payments/ui/PaymentRequestSection.java
index a8ecda78d5d419c8a0f2725082bc8f0a41b59b80..4579b54cbc1bb8f497002f3bcfdbdb7e99c2d8f3 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/payments/ui/PaymentRequestSection.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/payments/ui/PaymentRequestSection.java
@@ -893,6 +893,11 @@ public abstract class PaymentRequestSection extends LinearLayout implements View
}
}
+ /** Returns whether this OptionRow's RadioButton is checked. */
+ public boolean isChecked() {
+ return ((RadioButton) mButton).isChecked();
+ }
+
/** Change the label for the row. */
public void setLabel(int stringId) {
setLabel(getContext().getString(stringId));

Powered by Google App Engine
This is Rietveld 408576698