| 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 |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 // the PaymentRequest object always outlives this one, the pointer should | 82 // the PaymentRequest object always outlives this one, the pointer should |
| 83 // always be valid even though there is no direct ownership relationship | 83 // always be valid even though there is no direct ownership relationship |
| 84 // between the two. | 84 // between the two. |
| 85 PaymentRequest* request_; | 85 PaymentRequest* request_; |
| 86 ControllerMap controller_map_; | 86 ControllerMap controller_map_; |
| 87 ViewStack view_stack_; | 87 ViewStack view_stack_; |
| 88 | 88 |
| 89 // May be null. | 89 // May be null. |
| 90 ObserverForTest* observer_for_testing_; | 90 ObserverForTest* observer_for_testing_; |
| 91 | 91 |
| 92 // Used when the dialog is being closed to avoid re-entrancy into the |
| 93 // controller_map_. |
| 94 bool being_closed_; |
| 95 |
| 92 DISALLOW_COPY_AND_ASSIGN(PaymentRequestDialogView); | 96 DISALLOW_COPY_AND_ASSIGN(PaymentRequestDialogView); |
| 93 }; | 97 }; |
| 94 | 98 |
| 95 } // namespace payments | 99 } // namespace payments |
| 96 | 100 |
| 97 #endif // CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_DIALOG_VIEW_H_ | 101 #endif // CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_DIALOG_VIEW_H_ |
| OLD | NEW |