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

Unified Diff: chrome/browser/ui/autofill/country_combobox_model.h

Issue 172783003: rAc: don't show countries with partially supported address fields for now. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: compile 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/autofill/country_combobox_model.h
diff --git a/chrome/browser/ui/autofill/country_combobox_model.h b/chrome/browser/ui/autofill/country_combobox_model.h
index 4165df89933cc4687d99b7209dcfa25ae0dda0d6..327c268d18f8b10b4bcde2fd37c6335f2ae0aefc 100644
--- a/chrome/browser/ui/autofill/country_combobox_model.h
+++ b/chrome/browser/ui/autofill/country_combobox_model.h
@@ -21,7 +21,10 @@ class PersonalDataManager;
// A model for countries to be used to enter addresses.
class CountryComboboxModel : public ui::ComboboxModel {
public:
- explicit CountryComboboxModel(const PersonalDataManager& manager);
+ // When |show_partially_supported_countries| is false, countries with
+ // semi-supported address components (e.g. dependent locality) will be hidden.
+ CountryComboboxModel(const PersonalDataManager& manager,
+ bool show_partially_supported_countries);
virtual ~CountryComboboxModel();
// ui::ComboboxModel implementation:

Powered by Google App Engine
This is Rietveld 408576698