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

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 deaf8ba3767564ac2ae2ee920704c5b525be8fd1..e768a7e6bf0eb2b56934581ce120c34f919ba9af 100644
--- a/chrome/browser/ui/views/autofill/autofill_dialog_views.h
+++ b/chrome/browser/ui/views/autofill/autofill_dialog_views.h
@@ -281,6 +281,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);
@@ -305,6 +308,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