| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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_EDITOR_VIEW_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_PAYMENTS_EDITOR_VIEW_CONTROLLER_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_PAYMENTS_EDITOR_VIEW_CONTROLLER_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_PAYMENTS_EDITOR_VIEW_CONTROLLER_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <memory> | 9 #include <memory> |
| 10 #include <tuple> | 10 #include <tuple> |
| 11 #include <unordered_map> | 11 #include <unordered_map> |
| 12 #include <utility> | 12 #include <utility> |
| 13 #include <vector> | 13 #include <vector> |
| 14 | 14 |
| 15 #include "base/macros.h" | 15 #include "base/macros.h" |
| 16 #include "base/memory/ptr_util.h" | 16 #include "base/memory/ptr_util.h" |
| 17 #include "base/strings/string16.h" | 17 #include "base/strings/string16.h" |
| 18 #include "chrome/browser/ui/views/payments/payment_request_sheet_controller.h" | 18 #include "chrome/browser/ui/views/payments/payment_request_sheet_controller.h" |
| 19 #include "chrome/browser/ui/views/payments/validation_delegate.h" | 19 #include "chrome/browser/ui/views/payments/validation_delegate.h" |
| 20 #include "components/autofill/core/browser/field_types.h" | 20 #include "components/autofill/core/browser/field_types.h" |
| 21 #include "ui/views/controls/button/vector_icon_button_delegate.h" | |
| 22 #include "ui/views/controls/combobox/combobox_listener.h" | 21 #include "ui/views/controls/combobox/combobox_listener.h" |
| 23 #include "ui/views/controls/textfield/textfield_controller.h" | 22 #include "ui/views/controls/textfield/textfield_controller.h" |
| 24 #include "ui/views/view.h" | 23 #include "ui/views/view.h" |
| 25 | 24 |
| 26 namespace ui { | 25 namespace ui { |
| 27 class ComboboxModel; | 26 class ComboboxModel; |
| 28 } | 27 } |
| 29 | 28 |
| 30 namespace views { | 29 namespace views { |
| 31 class GridLayout; | 30 class GridLayout; |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 154 ComboboxMap comboboxes_; | 153 ComboboxMap comboboxes_; |
| 155 // Tracks the relationship between a field and its error label. | 154 // Tracks the relationship between a field and its error label. |
| 156 ErrorLabelMap error_labels_; | 155 ErrorLabelMap error_labels_; |
| 157 | 156 |
| 158 DISALLOW_COPY_AND_ASSIGN(EditorViewController); | 157 DISALLOW_COPY_AND_ASSIGN(EditorViewController); |
| 159 }; | 158 }; |
| 160 | 159 |
| 161 } // namespace payments | 160 } // namespace payments |
| 162 | 161 |
| 163 #endif // CHROME_BROWSER_UI_VIEWS_PAYMENTS_EDITOR_VIEW_CONTROLLER_H_ | 162 #endif // CHROME_BROWSER_UI_VIEWS_PAYMENTS_EDITOR_VIEW_CONTROLLER_H_ |
| OLD | NEW |