OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_AUTOFILL_CARD_UNMASK_PROMPT_VIEWS_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_AUTOFILL_CARD_UNMASK_PROMPT_VIEWS_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_AUTOFILL_CARD_UNMASK_PROMPT_VIEWS_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_AUTOFILL_CARD_UNMASK_PROMPT_VIEWS_H_ |
7 | 7 |
8 #include "chrome/browser/ui/autofill/autofill_dialog_models.h" | 8 #include "chrome/browser/ui/autofill/autofill_dialog_models.h" |
9 #include "chrome/browser/ui/autofill/card_unmask_prompt_view.h" | 9 #include "chrome/browser/ui/autofill/card_unmask_prompt_view.h" |
10 #include "ui/gfx/animation/animation_delegate.h" | 10 #include "ui/gfx/animation/animation_delegate.h" |
11 #include "ui/gfx/animation/slide_animation.h" | 11 #include "ui/gfx/animation/slide_animation.h" |
12 #include "ui/views/controls/combobox/combobox_listener.h" | 12 #include "ui/views/controls/combobox/combobox_listener.h" |
13 #include "ui/views/controls/textfield/textfield_controller.h" | 13 #include "ui/views/controls/textfield/textfield_controller.h" |
14 #include "ui/views/window/dialog_delegate.h" | 14 #include "ui/views/window/dialog_delegate.h" |
15 | 15 |
16 namespace views { | 16 namespace views { |
17 class Label; | 17 class Label; |
18 class Checkbox; | 18 class Checkbox; |
| 19 class CheckmarkThrobber; |
19 } | 20 } |
20 | 21 |
21 namespace autofill { | 22 namespace autofill { |
22 | 23 |
23 class DecoratedTextfield; | 24 class DecoratedTextfield; |
24 | 25 |
25 class CardUnmaskPromptViews : public CardUnmaskPromptView, | 26 class CardUnmaskPromptViews : public CardUnmaskPromptView, |
26 views::ComboboxListener, | 27 views::ComboboxListener, |
27 views::DialogDelegateView, | 28 views::DialogDelegateView, |
28 views::TextfieldController, | 29 views::TextfieldController, |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 MonthComboboxModel month_combobox_model_; | 126 MonthComboboxModel month_combobox_model_; |
126 YearComboboxModel year_combobox_model_; | 127 YearComboboxModel year_combobox_model_; |
127 | 128 |
128 // The error label for most errors, which lives beneath the inputs. | 129 // The error label for most errors, which lives beneath the inputs. |
129 views::Label* error_label_; | 130 views::Label* error_label_; |
130 | 131 |
131 FadeOutView* storage_row_; | 132 FadeOutView* storage_row_; |
132 views::Checkbox* storage_checkbox_; | 133 views::Checkbox* storage_checkbox_; |
133 | 134 |
134 FadeOutView* progress_overlay_; | 135 FadeOutView* progress_overlay_; |
| 136 views::CheckmarkThrobber* progress_throbber_; |
135 views::Label* progress_label_; | 137 views::Label* progress_label_; |
136 | 138 |
137 gfx::SlideAnimation overlay_animation_; | 139 gfx::SlideAnimation overlay_animation_; |
138 | 140 |
139 base::WeakPtrFactory<CardUnmaskPromptViews> weak_ptr_factory_; | 141 base::WeakPtrFactory<CardUnmaskPromptViews> weak_ptr_factory_; |
140 | 142 |
141 DISALLOW_COPY_AND_ASSIGN(CardUnmaskPromptViews); | 143 DISALLOW_COPY_AND_ASSIGN(CardUnmaskPromptViews); |
142 }; | 144 }; |
143 | 145 |
144 } // namespace autofill | 146 } // namespace autofill |
145 | 147 |
146 #endif // CHROME_BROWSER_UI_VIEWS_AUTOFILL_CARD_UNMASK_PROMPT_VIEWS_H_ | 148 #endif // CHROME_BROWSER_UI_VIEWS_AUTOFILL_CARD_UNMASK_PROMPT_VIEWS_H_ |
OLD | NEW |