Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(266)

Side by Side Diff: chrome/browser/ui/views/autofill/card_unmask_prompt_views.h

Issue 1005603003: [views] Add checkmark throbber to card unmasking prompt (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/ui/views/autofill/card_unmask_prompt_views.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/views/autofill/card_unmask_prompt_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698