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 ImageView; | 17 class ImageView; |
18 class Label; | 18 class Label; |
19 class Checkbox; | 19 class Checkbox; |
20 class CheckmarkThrobber; | 20 class MaterialThrobber; |
21 } | 21 } |
22 | 22 |
23 namespace autofill { | 23 namespace autofill { |
24 | 24 |
25 class DecoratedTextfield; | 25 class DecoratedTextfield; |
26 | 26 |
27 class CardUnmaskPromptViews : public CardUnmaskPromptView, | 27 class CardUnmaskPromptViews : public CardUnmaskPromptView, |
28 views::ComboboxListener, | 28 views::ComboboxListener, |
29 views::DialogDelegateView, | 29 views::DialogDelegateView, |
30 views::TextfieldController, | 30 views::TextfieldController, |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 YearComboboxModel year_combobox_model_; | 128 YearComboboxModel year_combobox_model_; |
129 | 129 |
130 // The error icon and label for most errors, which live beneath the inputs. | 130 // The error icon and label for most errors, which live beneath the inputs. |
131 views::ImageView* error_icon_; | 131 views::ImageView* error_icon_; |
132 views::Label* error_label_; | 132 views::Label* error_label_; |
133 | 133 |
134 FadeOutView* storage_row_; | 134 FadeOutView* storage_row_; |
135 views::Checkbox* storage_checkbox_; | 135 views::Checkbox* storage_checkbox_; |
136 | 136 |
137 FadeOutView* progress_overlay_; | 137 FadeOutView* progress_overlay_; |
138 views::CheckmarkThrobber* progress_throbber_; | 138 views::MaterialThrobber* progress_throbber_; |
139 views::Label* progress_label_; | 139 views::Label* progress_label_; |
140 | 140 |
141 gfx::SlideAnimation overlay_animation_; | 141 gfx::SlideAnimation overlay_animation_; |
142 | 142 |
143 base::WeakPtrFactory<CardUnmaskPromptViews> weak_ptr_factory_; | 143 base::WeakPtrFactory<CardUnmaskPromptViews> weak_ptr_factory_; |
144 | 144 |
145 DISALLOW_COPY_AND_ASSIGN(CardUnmaskPromptViews); | 145 DISALLOW_COPY_AND_ASSIGN(CardUnmaskPromptViews); |
146 }; | 146 }; |
147 | 147 |
148 } // namespace autofill | 148 } // namespace autofill |
149 | 149 |
150 #endif // CHROME_BROWSER_UI_VIEWS_AUTOFILL_CARD_UNMASK_PROMPT_VIEWS_H_ | 150 #endif // CHROME_BROWSER_UI_VIEWS_AUTOFILL_CARD_UNMASK_PROMPT_VIEWS_H_ |
OLD | NEW |