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

Unified Diff: chrome/browser/ui/views/payments/payment_request_dialog_view.h

Issue 2676663002: [Payments] Implements the credit card editor for Desktop UI (Closed)
Patch Set: formatting Created 3 years, 10 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/browser/ui/views/payments/payment_request_dialog_view.h
diff --git a/chrome/browser/ui/views/payments/payment_request_dialog_view.h b/chrome/browser/ui/views/payments/payment_request_dialog_view.h
index f6751de848cdde7dcf94324237e2ac00fefcb550..9d70cef9e4b4e3d27c0805538bb7b85a1b8584c3 100644
--- a/chrome/browser/ui/views/payments/payment_request_dialog_view.h
+++ b/chrome/browser/ui/views/payments/payment_request_dialog_view.h
@@ -35,6 +35,12 @@ class PaymentRequestDialogView : public views::DialogDelegateView,
virtual void OnDialogOpened() = 0;
virtual void OnOrderSummaryOpened() = 0;
+
+ virtual void OnPaymentMethodOpened() = 0;
+
+ virtual void OnCreditCardEditorOpened() = 0;
+
+ virtual void OnBackNavigation() = 0;
};
// Build a Dialog around the PaymentRequest object. |observer| is used to
@@ -60,6 +66,9 @@ class PaymentRequestDialogView : public views::DialogDelegateView,
void ShowOrderSummary();
void ShowShippingListSheet();
void ShowPaymentMethodSheet();
+ void ShowCreditCardEditor();
+
+ ViewStack* view_stack_for_testing() { return &view_stack_; }
private:
void ShowInitialPaymentSheet();

Powered by Google App Engine
This is Rietveld 408576698