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

Unified Diff: chrome/browser/ui/views/autofill/autofill_dialog_views.h

Issue 12893007: Implementing VERIFY_CVV required action. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/autofill/autofill_dialog_views.h
diff --git a/chrome/browser/ui/views/autofill/autofill_dialog_views.h b/chrome/browser/ui/views/autofill/autofill_dialog_views.h
index 162d02a23ff3fa3256285a532e5ab7bd99e4084a..0c941d3a6ca535485ee115530b043c8d1da2508a 100644
--- a/chrome/browser/ui/views/autofill/autofill_dialog_views.h
+++ b/chrome/browser/ui/views/autofill/autofill_dialog_views.h
@@ -288,6 +288,9 @@ class AutofillDialogViews : public AutofillDialogView,
AutofillDialogViews* autofill_dialog);
virtual ~SuggestionView();
+ // Whether this section is editable or not.
+ void SetEditable(bool editable);
+
// Sets the display text of the suggestion.
void SetSuggestionText(const string16& text);
@@ -312,6 +315,8 @@ class AutofillDialogViews : public AutofillDialogView,
views::View* label_container_;
// The input set by ShowTextfield.
DecoratedTextfield* decorated_;
+ // An "Edit" link that flips to editable inputs rather than suggestion text.
+ views::Link* edit_link_;
DISALLOW_COPY_AND_ASSIGN(SuggestionView);
};

Powered by Google App Engine
This is Rietveld 408576698