| 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_SHEET_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_SHEET_CONTROLLER_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_SHEET_CONTROLLER_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_SHEET_CONTROLLER_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 // | EXTRA VIEW | PAY | CANCEL | <-- footer | 109 // | EXTRA VIEW | PAY | CANCEL | <-- footer |
| 110 // +---------------------------+ | 110 // +---------------------------+ |
| 111 std::unique_ptr<views::View> CreatePaymentView(); | 111 std::unique_ptr<views::View> CreatePaymentView(); |
| 112 | 112 |
| 113 // All these are not owned. Will outlive this. | 113 // All these are not owned. Will outlive this. |
| 114 PaymentRequestSpec* spec_; | 114 PaymentRequestSpec* spec_; |
| 115 PaymentRequestState* state_; | 115 PaymentRequestState* state_; |
| 116 PaymentRequestDialogView* dialog_; | 116 PaymentRequestDialogView* dialog_; |
| 117 | 117 |
| 118 // This view is owned by its encompassing ScrollView. | 118 // This view is owned by its encompassing ScrollView. |
| 119 views::View* pane_; |
| 119 views::View* content_view_; | 120 views::View* content_view_; |
| 120 | 121 |
| 121 DISALLOW_COPY_AND_ASSIGN(PaymentRequestSheetController); | 122 DISALLOW_COPY_AND_ASSIGN(PaymentRequestSheetController); |
| 122 }; | 123 }; |
| 123 | 124 |
| 124 } // namespace payments | 125 } // namespace payments |
| 125 | 126 |
| 126 #endif // CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_SHEET_CONTROLLER_H_ | 127 #endif // CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_SHEET_CONTROLLER_H_ |
| OLD | NEW |