Chromium Code Reviews| 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); |
| }; |