| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_DIALOG_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_DIALOG_VIEW_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_DIALOG_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_DIALOG_VIEW_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <memory> | 9 #include <memory> |
| 10 | 10 |
| 11 #include "base/macros.h" | 11 #include "base/macros.h" |
| 12 #include "chrome/browser/ui/views/payments/view_stack.h" | 12 #include "chrome/browser/ui/views/payments/view_stack.h" |
| 13 #include "components/payments/payment_request_dialog.h" | 13 #include "components/payments/content/payment_request_dialog.h" |
| 14 #include "ui/views/window/dialog_delegate.h" | 14 #include "ui/views/window/dialog_delegate.h" |
| 15 | 15 |
| 16 namespace payments { | 16 namespace payments { |
| 17 | 17 |
| 18 class PaymentRequest; | 18 class PaymentRequest; |
| 19 class PaymentRequestSheetController; | 19 class PaymentRequestSheetController; |
| 20 | 20 |
| 21 // Maps views owned by PaymentRequestDialogView::view_stack_ to their | 21 // Maps views owned by PaymentRequestDialogView::view_stack_ to their |
| 22 // controller. PaymentRequestDialogView is responsible for listening for those | 22 // controller. PaymentRequestDialogView is responsible for listening for those |
| 23 // views being removed from the hierarchy and delete the associated controllers. | 23 // views being removed from the hierarchy and delete the associated controllers. |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 | 88 |
| 89 // May be null. | 89 // May be null. |
| 90 ObserverForTest* observer_for_testing_; | 90 ObserverForTest* observer_for_testing_; |
| 91 | 91 |
| 92 DISALLOW_COPY_AND_ASSIGN(PaymentRequestDialogView); | 92 DISALLOW_COPY_AND_ASSIGN(PaymentRequestDialogView); |
| 93 }; | 93 }; |
| 94 | 94 |
| 95 } // namespace payments | 95 } // namespace payments |
| 96 | 96 |
| 97 #endif // CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_DIALOG_VIEW_H_ | 97 #endif // CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_DIALOG_VIEW_H_ |
| OLD | NEW |