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

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

Issue 2815723002: [Web Payments] Add Spinners and timeout while waiting for UpdateWith (Closed)
Patch Set: Address comments. Created 3 years, 8 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/payment_sheet_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/payment_sheet_view_controller.h
diff --git a/chrome/browser/ui/views/payments/payment_sheet_view_controller.h b/chrome/browser/ui/views/payments/payment_sheet_view_controller.h
index 430b04ca10f79fe0037b848a630b597d22b80029..bf202f2119edc97eb2c4936d883f35b3ba1756ac 100644
--- a/chrome/browser/ui/views/payments/payment_sheet_view_controller.h
+++ b/chrome/browser/ui/views/payments/payment_sheet_view_controller.h
@@ -30,6 +30,7 @@ class PaymentSheetViewController : public PaymentRequestSheetController,
// PaymentRequestSpec::Observer:
void OnInvalidSpecProvided() override {}
+ void OnStartUpdating(PaymentRequestSpec::UpdateReason reason) override;
void OnSpecUpdated() override;
// PaymentRequestState::Observer:
@@ -57,6 +58,7 @@ class PaymentSheetViewController : public PaymentRequestSheetController,
views::Button* pay_button_;
const int widest_name_column_view_width_;
+ PaymentRequestSpec::UpdateReason current_update_reason_;
DISALLOW_COPY_AND_ASSIGN(PaymentSheetViewController);
};
« no previous file with comments | « no previous file | chrome/browser/ui/views/payments/payment_sheet_view_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698