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

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

Issue 2092083003: Refactor contact editor controller into its own class. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Match payments UI size even on large screens. 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 ae91771e009d189bead8613feb266fa8828ff17d..7e15a3aa3a0c7679777eff70241a2317ab5be038 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,13 +582,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 +1012,6 @@ public class PaymentRequestUI implements DialogInterface.OnDismissListener, View
}
@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