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

Side by Side Diff: chrome/browser/ui/autofill/autofill_dialog_controller_impl.h

Issue 157093002: rAc - hardcode wallet billing address to US in i18n mode (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync Created 6 years, 10 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_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_ 5 #ifndef CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_
6 #define CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_ 6 #define CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_
7 7
8 #include <set> 8 #include <set>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after
434 const SuggestionsMenuModel* SuggestionsMenuModelForSection( 434 const SuggestionsMenuModel* SuggestionsMenuModelForSection(
435 DialogSection section) const; 435 DialogSection section) const;
436 // And the reverse. 436 // And the reverse.
437 DialogSection SectionForSuggestionsMenuModel( 437 DialogSection SectionForSuggestionsMenuModel(
438 const SuggestionsMenuModel& model); 438 const SuggestionsMenuModel& model);
439 439
440 // Gets the CountryComboboxModel for |section|. 440 // Gets the CountryComboboxModel for |section|.
441 CountryComboboxModel* CountryComboboxModelForSection(DialogSection section); 441 CountryComboboxModel* CountryComboboxModelForSection(DialogSection section);
442 442
443 // Clears and builds the inputs in |section| for |country_name|. 443 // Clears and builds the inputs in |section| for |country_name|.
444 // When |should_clobber| is false, and the view's country value matches
445 // |country_name|, the inputs won't be rebuilt.
444 bool RebuildInputsForCountry(DialogSection section, 446 bool RebuildInputsForCountry(DialogSection section,
445 const base::string16& country_name, 447 const base::string16& country_name,
446 bool should_clobber); 448 bool should_clobber);
447 449
448 // Suggested text and icons for sections. Suggestion text is used to show an 450 // Suggested text and icons for sections. Suggestion text is used to show an
449 // abridged overview of the currently used suggestion. Extra text is used when 451 // abridged overview of the currently used suggestion. Extra text is used when
450 // part of a section is suggested but part must be manually input (e.g. during 452 // part of a section is suggested but part must be manually input (e.g. during
451 // a CVC challenge or when using Autofill's CC section [never stores CVC]). 453 // a CVC challenge or when using Autofill's CC section [never stores CVC]).
452 bool SuggestionTextForSection(DialogSection section, 454 bool SuggestionTextForSection(DialogSection section,
453 base::string16* vertically_compact, 455 base::string16* vertically_compact,
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after
797 base::string16 submitted_cardholder_name_; 799 base::string16 submitted_cardholder_name_;
798 800
799 base::WeakPtrFactory<AutofillDialogControllerImpl> weak_ptr_factory_; 801 base::WeakPtrFactory<AutofillDialogControllerImpl> weak_ptr_factory_;
800 802
801 DISALLOW_COPY_AND_ASSIGN(AutofillDialogControllerImpl); 803 DISALLOW_COPY_AND_ASSIGN(AutofillDialogControllerImpl);
802 }; 804 };
803 805
804 } // namespace autofill 806 } // namespace autofill
805 807
806 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_ 808 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698