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

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

Issue 2109573002: Revert of Refactor contact editor controller into its own class. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months 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 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;
}
« no previous file with comments | « chrome/android/java/src/org/chromium/chrome/browser/payments/ui/EditorView.java ('k') | chrome/android/java_sources.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698