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

Side by Side Diff: components/payments/content/payment_request_dialog.h

Issue 2779283002: [Web Payments] Implement the CVC Unmask dialog. (Closed)
Patch Set: Update AutofillPaymentInstrument's credit_card_ after unmasking. 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 unified diff | Download patch
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_PAYMENTS_CONTENT_PAYMENT_REQUEST_DIALOG_H_ 5 #ifndef COMPONENTS_PAYMENTS_CONTENT_PAYMENT_REQUEST_DIALOG_H_
6 #define COMPONENTS_PAYMENTS_CONTENT_PAYMENT_REQUEST_DIALOG_H_ 6 #define COMPONENTS_PAYMENTS_CONTENT_PAYMENT_REQUEST_DIALOG_H_
7 7
8 #include "components/autofill/core/browser/payments/full_card_request.h"
9
8 namespace payments { 10 namespace payments {
9 11
10 // Used to interact with a cross-platform Payment Request dialog. 12 // Used to interact with a cross-platform Payment Request dialog.
11 class PaymentRequestDialog { 13 class PaymentRequestDialog {
12 public: 14 public:
13 virtual ~PaymentRequestDialog() {} 15 virtual ~PaymentRequestDialog() {}
14 16
15 virtual void ShowDialog() = 0; 17 virtual void ShowDialog() = 0;
16 18
17 virtual void CloseDialog() = 0; 19 virtual void CloseDialog() = 0;
18 20
19 virtual void ShowErrorMessage() = 0; 21 virtual void ShowErrorMessage() = 0;
22
23 virtual base::WeakPtr<autofill::payments::FullCardRequest::UIDelegate>
please use gerrit instead 2017/03/30 13:14:09 Need to include the weakptr header.
anthonyvd 2017/03/30 15:43:41 Done.
24 GetFullCardRequestUIDelegate() = 0;
20 }; 25 };
21 26
22 } // namespace payments 27 } // namespace payments
23 28
24 #endif // COMPONENTS_PAYMENTS_CONTENT_PAYMENT_REQUEST_DIALOG_H_ 29 #endif // COMPONENTS_PAYMENTS_CONTENT_PAYMENT_REQUEST_DIALOG_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698