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

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

Issue 2779283002: [Web Payments] Implement the CVC Unmask dialog. (Closed)
Patch Set: BUILD 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
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 a8558e15aa7f8fcb5ba751524e9eb10dbe0d1d0a..85db90324b11253965d6d63cadcc8c9bc9a1d168 100644
--- a/chrome/browser/ui/views/payments/payment_request_dialog_view.h
+++ b/chrome/browser/ui/views/payments/payment_request_dialog_view.h
@@ -55,6 +55,8 @@ class PaymentRequestDialogView : public views::DialogDelegateView,
virtual void OnErrorMessageShown() = 0;
virtual void OnSpecDoneUpdating() = 0;
+
+ virtual void OnCvcPromptShown() = 0;
};
// Build a Dialog around the PaymentRequest object. |observer| is used to
@@ -92,6 +94,12 @@ class PaymentRequestDialogView : public views::DialogDelegateView,
void ShowShippingAddressEditor();
void EditorViewUpdated();
+ void ShowCvcUnmaskPrompt(
+ const autofill::CreditCard& credit_card,
+ base::WeakPtr<autofill::payments::FullCardRequest::ResultDelegate>
+ result_delegate,
+ content::WebContents* web_contents) override;
+
ViewStack* view_stack_for_testing() { return &view_stack_; }
private:

Powered by Google App Engine
This is Rietveld 408576698