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 7e15a3aa3a0c7679777eff70241a2317ab5be038..ae91771e009d189bead8613feb266fa8828ff17d 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 |
@@ -582,9 +582,13 @@ |
} |
} |
- /** @return The editor user interface. */ |
- public EditorView getEditorView() { |
- return mEditorView; |
+ /** |
+ * 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); |
} |
/** |
@@ -1012,6 +1016,11 @@ |
} |
@VisibleForTesting |
+ public Dialog getEditorViewForTest() { |
+ return mEditorView; |
+ } |
+ |
+ @VisibleForTesting |
public ViewGroup getShippingAddressSectionForTest() { |
return mShippingAddressSection; |
} |