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

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

Issue 2779283002: [Web Payments] Implement the CVC Unmask dialog. (Closed)
Patch Set: Make CvcUnmaskViewController the UIDelegate for FullCardRequest. 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
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 8c1738e68cb69d0296b5dd317db34aae7e38c179..a1fb2da2600ed6882f5fda8af45ad5154b9f6e25 100644
--- a/chrome/browser/ui/views/payments/payment_request_dialog_view.h
+++ b/chrome/browser/ui/views/payments/payment_request_dialog_view.h
@@ -68,7 +68,7 @@ class PaymentRequestDialogView : public views::DialogDelegateView,
bool ShouldShowCloseButton() const override;
int GetDialogButtons() const override;
- // payments::PaymentRequestDialog
+ // PaymentRequestDialog
void ShowDialog() override;
void CloseDialog() override;
void ShowErrorMessage() override;
@@ -84,6 +84,11 @@ class PaymentRequestDialogView : public views::DialogDelegateView,
void ShowShippingAddressEditor();
void EditorViewUpdated();
+ void ShowCvcUnmaskPrompt(
+ const autofill::CreditCard& credit_card,
+ base::WeakPtr<autofill::payments::FullCardRequest::ResultDelegate>
+ result_delegate) override;
+
ViewStack* view_stack_for_testing() { return &view_stack_; }
private:

Powered by Google App Engine
This is Rietveld 408576698