| 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.
|
|
|