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

Side by Side Diff: chrome/browser/ui/views/autofill/autofill_dialog_views.h

Issue 23756007: [rac] Show amex specific cvc hint (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move icon dependency logic into controller for testability Created 7 years, 3 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_DIALOG_VIEWS_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_DIALOG_VIEWS_H_
6 #define CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_DIALOG_VIEWS_H_ 6 #define CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_DIALOG_VIEWS_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/memory/scoped_vector.h" 10 #include "base/memory/scoped_vector.h"
(...skipping 578 matching lines...) Expand 10 before | Expand all | Expand 10 after
589 // NULL. 589 // NULL.
590 views::Textfield* TextfieldForInput(const DetailInput& input); 590 views::Textfield* TextfieldForInput(const DetailInput& input);
591 591
592 // Gets the combobox view that is shown for the given DetailInput model, or 592 // Gets the combobox view that is shown for the given DetailInput model, or
593 // NULL. 593 // NULL.
594 views::Combobox* ComboboxForInput(const DetailInput& input); 594 views::Combobox* ComboboxForInput(const DetailInput& input);
595 595
596 // Called when the details container changes in size or position. 596 // Called when the details container changes in size or position.
597 void DetailsContainerBoundsChanged(); 597 void DetailsContainerBoundsChanged();
598 598
599 // Gets the decorated textfield view that is shown for the given
600 // ServerFieldType in the given DetailsGroup, or NULL.
601 DecoratedTextfield* DecoratedTextfieldForServerFieldType(
602 const DetailsGroup* group,
603 ServerFieldType type) const;
604
599 // The delegate that drives this view. Weak pointer, always non-NULL. 605 // The delegate that drives this view. Weak pointer, always non-NULL.
600 AutofillDialogViewDelegate* const delegate_; 606 AutofillDialogViewDelegate* const delegate_;
601 607
602 // The preferred size of the view, cached to avoid needless recomputation. 608 // The preferred size of the view, cached to avoid needless recomputation.
603 gfx::Size preferred_size_; 609 gfx::Size preferred_size_;
604 610
605 // The current number of unmatched calls to UpdatesStarted. 611 // The current number of unmatched calls to UpdatesStarted.
606 int updates_scope_; 612 int updates_scope_;
607 613
608 // True when there's been a call to ContentsPreferredSizeChanged() suppressed 614 // True when there's been a call to ContentsPreferredSizeChanged() suppressed
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
681 687
682 // Delegate for the sign-in dialog's webview. 688 // Delegate for the sign-in dialog's webview.
683 scoped_ptr<AutofillDialogSignInDelegate> sign_in_delegate_; 689 scoped_ptr<AutofillDialogSignInDelegate> sign_in_delegate_;
684 690
685 DISALLOW_COPY_AND_ASSIGN(AutofillDialogViews); 691 DISALLOW_COPY_AND_ASSIGN(AutofillDialogViews);
686 }; 692 };
687 693
688 } // namespace autofill 694 } // namespace autofill
689 695
690 #endif // CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_DIALOG_VIEWS_H_ 696 #endif // CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_DIALOG_VIEWS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698