Index: chrome/browser/ui/views/autofill/autofill_dialog_views.cc |
diff --git a/chrome/browser/ui/views/autofill/autofill_dialog_views.cc b/chrome/browser/ui/views/autofill/autofill_dialog_views.cc |
index 32dff53c14c4840ad145f0b026ff0686ee765b7a..eaf5d91f34fb887578d893d37328bfad037c3995 100644 |
--- a/chrome/browser/ui/views/autofill/autofill_dialog_views.cc |
+++ b/chrome/browser/ui/views/autofill/autofill_dialog_views.cc |
@@ -1152,6 +1152,12 @@ gfx::Size AutofillDialogViews::GetSize() const { |
return GetWidget() ? GetWidget()->GetRootView()->size() : gfx::Size(); |
} |
+void AutofillDialogViews::SetCvc(const base::string16& cvc) { |
Evan Stade
2013/06/20 03:15:53
this should be generic:
SetTextContentsOfSuggesti
Dan Beam
2013/06/20 16:22:53
does that mean we should eventually change GetCvc(
Evan Stade
2013/06/20 21:56:24
maybe
|
+ DCHECK(controller_->SectionIsActive(SECTION_CC)); |
+ GroupForSection(SECTION_CC)->suggested_info->decorated_textfield()-> |
+ textfield()->SetText(cvc); |
+} |
+ |
bool AutofillDialogViews::AcceleratorPressed( |
const ui::Accelerator& accelerator) { |
ui::KeyboardCode key = accelerator.key_code(); |