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

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

Issue 2526943003: [Payments] Remove country from shipping label in bottom and fullsheet. (Closed)
Patch Set: Created 4 years, 1 month 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/PaymentOption.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/payments/ui/PaymentOption.java b/chrome/android/java/src/org/chromium/chrome/browser/payments/ui/PaymentOption.java
index 0a6a63a71613789a07c09588477a0b1aaa632a2e..54a566dd53e1a917068792ef97b3dcca43dc0c8f 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/payments/ui/PaymentOption.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/payments/ui/PaymentOption.java
@@ -13,6 +13,20 @@ import javax.annotation.Nullable;
* method.
*/
public class PaymentOption implements Completable {
+ /**
+ * Observer to be notified when the view containing a PaymentOption changes focus state.
+ */
+ public interface OptionSectionFocusChangedDelegate {
please use gerrit instead 2016/11/23 21:40:50 Observers are usually named *Observer. The differe
sebsg 2016/11/25 15:55:20 Done.
+ /*
+ * Called when a view that lists payment options gets or loses focus.
+ *
+ * @param dataType The type of the data contained in the section.
+ * @param willFocus Whether the section is getting the focus.
+ */
+ void onOptionSectionFocusChanged(
+ @PaymentRequestUI.DataType int dataType, boolean willFocus);
+ }
+
protected boolean mIsComplete;
protected boolean mIsEditable;
protected String mEditMessage;

Powered by Google App Engine
This is Rietveld 408576698