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

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

Issue 2649683002: [Payments] Improve the closing of the PR dialog. (Closed)
Patch Set: addressed comments from sky Created 3 years, 11 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_sheet_controller.h
diff --git a/chrome/browser/ui/views/payments/payment_request_sheet_controller.h b/chrome/browser/ui/views/payments/payment_request_sheet_controller.h
index e2f3da6d4b314b3b54106fb93974fbb78655e1d7..6b0ff5d5d1440d541f7c36ebf72986375fa16616 100644
--- a/chrome/browser/ui/views/payments/payment_request_sheet_controller.h
+++ b/chrome/browser/ui/views/payments/payment_request_sheet_controller.h
@@ -16,7 +16,7 @@ class View;
namespace payments {
-class PaymentRequestDialog;
+class PaymentRequestDialogView;
class PaymentRequest;
// The base class for objects responsible for the creation and event handling in
@@ -28,7 +28,7 @@ class PaymentRequestSheetController {
// |request| is also not owned by this and is guaranteed to outlive dialog.
// Neither |request| or |dialog| should be null.
PaymentRequestSheetController(PaymentRequest* request,
- PaymentRequestDialog* dialog)
+ PaymentRequestDialogView* dialog)
: request_(request), dialog_(dialog) {
DCHECK(request_);
DCHECK(dialog_);
@@ -43,13 +43,13 @@ class PaymentRequestSheetController {
// The dialog that contains and owns this object.
// Caller should not take ownership of the result.
- PaymentRequestDialog* dialog() { return dialog_; }
+ PaymentRequestDialogView* dialog() { return dialog_; }
private:
// Not owned. Will outlive this.
PaymentRequest* request_;
// Not owned. Will outlive this.
- PaymentRequestDialog* dialog_;
+ PaymentRequestDialogView* dialog_;
DISALLOW_COPY_AND_ASSIGN(PaymentRequestSheetController);
};

Powered by Google App Engine
This is Rietveld 408576698