| 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 ae91771e009d189bead8613feb266fa8828ff17d..5f483cd6fb4d7318dcda4a8452e0ec4ad58f9018 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
|
| @@ -171,6 +171,11 @@ public class PaymentRequestUI implements DialogInterface.OnDismissListener, View
|
| void onPaymentRequestEditorValidationError();
|
|
|
| /**
|
| + * Called when an editor field text has changed.
|
| + */
|
| + void onPaymentRequestEditorTextUpdate();
|
| +
|
| + /**
|
| * Called when editor is dismissed.
|
| */
|
| void onPaymentRequestEditorDismissed();
|
| @@ -582,13 +587,9 @@ public class PaymentRequestUI implements DialogInterface.OnDismissListener, View
|
| }
|
| }
|
|
|
| - /**
|
| - * Displays the editor user interface for the given model.
|
| - *
|
| - * @param editorModel The description of the editor user interface to display.
|
| - */
|
| - public void showEditor(final EditorModel editorModel) {
|
| - mEditorView.show(editorModel);
|
| + /** @return The editor user interface. */
|
| + public EditorView getEditorView() {
|
| + return mEditorView;
|
| }
|
|
|
| /**
|
| @@ -1016,11 +1017,6 @@ public class PaymentRequestUI implements DialogInterface.OnDismissListener, View
|
| }
|
|
|
| @VisibleForTesting
|
| - public Dialog getEditorViewForTest() {
|
| - return mEditorView;
|
| - }
|
| -
|
| - @VisibleForTesting
|
| public ViewGroup getShippingAddressSectionForTest() {
|
| return mShippingAddressSection;
|
| }
|
|
|