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

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

Issue 2526943003: [Payments] Remove country from shipping label in bottom and fullsheet. (Closed)
Patch Set: Moved assertion 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/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 5556cd458070f2f982c2d6b22b7c0e750a292f11..65540b079af0822311152ff17743a04b632b634a 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
@@ -947,6 +947,16 @@ public class PaymentRequestUI implements DialogInterface.OnDismissListener, View
&& !mIsClientCheckingSelection;
}
+ /**
+ * Sets the observer to be called when the shipping address section gains or loses focus.
+ *
+ * @param observer The observer to notify.
+ */
+ public void setShippingAddressSectionFocusChangedObserver(
+ OptionSection.FocusChangedObserver observer) {
+ mShippingAddressSection.setOptionSectionFocusChangedObserver(observer);
+ }
+
private void expand(PaymentRequestSection section) {
if (!mIsShowingEditDialog) {
// Container now takes the full height of the screen, animating towards it.

Powered by Google App Engine
This is Rietveld 408576698