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

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 634ca66330626f2003f0ff2b3cffa58515c6709c..463d62ef8a942f6c0be29094f19f3f1138bc649f 100644
--- a/chrome/browser/ui/views/autofill/autofill_dialog_views.h
+++ b/chrome/browser/ui/views/autofill/autofill_dialog_views.h
@@ -253,6 +253,9 @@ class AutofillDialogViews : public AutofillDialogView,
// Sets whether mouse events should be forwarded to |proxy_button_|.
void SetForwardMouseEvents(bool forward);
+ // Refreshes the state of the section container and updates its appearance.
+ void Refresh();
+
// views::View implementation.
virtual void OnMouseMoved(const ui::MouseEvent& event) OVERRIDE;
virtual void OnMouseEntered(const ui::MouseEvent& event) OVERRIDE;
@@ -270,6 +273,9 @@ class AutofillDialogViews : public AutofillDialogView,
// When true, mouse events will be forwarded to |proxy_button_|.
bool forward_mouse_events_;
+ // Whether this section is currently active.
+ bool active_;
Evan Stade 2013/03/27 02:39:38 don't need this
Dan Beam 2013/03/27 02:50:36 Done.
+
DISALLOW_COPY_AND_ASSIGN(SectionContainer);
};
@@ -281,6 +287,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 +314,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