| 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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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* pane_; |
| 120 views::View* content_view_; | 120 views::View* content_view_; |
| 121 | 121 |
| 122 // Hold on to the ScrollView because it must be explicitly laid out in some |
| 123 // cases. |
| 124 std::unique_ptr<views::ScrollView> scroll_; |
| 125 |
| 122 DISALLOW_COPY_AND_ASSIGN(PaymentRequestSheetController); | 126 DISALLOW_COPY_AND_ASSIGN(PaymentRequestSheetController); |
| 123 }; | 127 }; |
| 124 | 128 |
| 125 } // namespace payments | 129 } // namespace payments |
| 126 | 130 |
| 127 #endif // CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_SHEET_CONTROLLER_H_ | 131 #endif // CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_SHEET_CONTROLLER_H_ |
| OLD | NEW |