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

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

Issue 1141983002: Autofill - Also update instructions message when "New link?" is clicked. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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"
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 void SetRetriableErrorMessage(const base::string16& message); 113 void SetRetriableErrorMessage(const base::string16& message);
114 bool ExpirationDateIsValid() const; 114 bool ExpirationDateIsValid() const;
115 void SetInputsEnabled(bool enabled); 115 void SetInputsEnabled(bool enabled);
116 void ShowNewCardLink(); 116 void ShowNewCardLink();
117 void ClosePrompt(); 117 void ClosePrompt();
118 118
119 CardUnmaskPromptController* controller_; 119 CardUnmaskPromptController* controller_;
120 120
121 views::View* main_contents_; 121 views::View* main_contents_;
122 122
123 // Expository language at the top of the dialog.
124 views::Label* instructions_;
125
123 // The error label for permanent errors (where the user can't retry). 126 // The error label for permanent errors (where the user can't retry).
124 views::Label* permanent_error_label_; 127 views::Label* permanent_error_label_;
125 128
126 // Holds the cvc and expiration inputs. 129 // Holds the cvc and expiration inputs.
127 views::View* input_row_; 130 views::View* input_row_;
128 131
129 DecoratedTextfield* cvc_input_; 132 DecoratedTextfield* cvc_input_;
130 133
131 views::Combobox* month_input_; 134 views::Combobox* month_input_;
132 views::Combobox* year_input_; 135 views::Combobox* year_input_;
(...skipping 17 matching lines...) Expand all
150 gfx::SlideAnimation overlay_animation_; 153 gfx::SlideAnimation overlay_animation_;
151 154
152 base::WeakPtrFactory<CardUnmaskPromptViews> weak_ptr_factory_; 155 base::WeakPtrFactory<CardUnmaskPromptViews> weak_ptr_factory_;
153 156
154 DISALLOW_COPY_AND_ASSIGN(CardUnmaskPromptViews); 157 DISALLOW_COPY_AND_ASSIGN(CardUnmaskPromptViews);
155 }; 158 };
156 159
157 } // namespace autofill 160 } // namespace autofill
158 161
159 #endif // CHROME_BROWSER_UI_VIEWS_AUTOFILL_CARD_UNMASK_PROMPT_VIEWS_H_ 162 #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