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

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

Issue 2789093002: [Payments] Desktop: implement shipping address/option change (Closed)
Patch Set: compile fix Created 3 years, 9 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
« no previous file with comments | « no previous file | chrome/browser/ui/views/payments/order_summary_view_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/payments/order_summary_view_controller.h
diff --git a/chrome/browser/ui/views/payments/order_summary_view_controller.h b/chrome/browser/ui/views/payments/order_summary_view_controller.h
index 40ba093f9cdac0b83606e76196a98ef847b62735..b62e3cf454eec9f1d2b33b8dbba570b039212ce9 100644
--- a/chrome/browser/ui/views/payments/order_summary_view_controller.h
+++ b/chrome/browser/ui/views/payments/order_summary_view_controller.h
@@ -7,6 +7,7 @@
#include "base/macros.h"
#include "chrome/browser/ui/views/payments/payment_request_sheet_controller.h"
+#include "components/payments/content/payment_request_spec.h"
#include "components/payments/content/payment_request_state.h"
namespace views {
@@ -15,13 +16,12 @@ class Button;
namespace payments {
-class PaymentRequestSpec;
-class PaymentRequestState;
class PaymentRequestDialogView;
// The PaymentRequestSheetController subtype for the Order Summary screen of the
// Payment Request flow.
class OrderSummaryViewController : public PaymentRequestSheetController,
+ public PaymentRequestSpec::Observer,
public PaymentRequestState::Observer {
public:
// Does not take ownership of the arguments, which should outlive this object.
@@ -30,6 +30,10 @@ class OrderSummaryViewController : public PaymentRequestSheetController,
PaymentRequestDialogView* dialog);
~OrderSummaryViewController() override;
+ // PaymentRequestSpec::Observer:
+ void OnInvalidSpecProvided() override {}
+ void OnSpecUpdated() override;
+
// PaymentRequestState::Observer:
void OnSelectedInformationChanged() override;
« no previous file with comments | « no previous file | chrome/browser/ui/views/payments/order_summary_view_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698