OLD | NEW |
(Empty) | |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_I18N_INPUT_H_ |
| 6 #define CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_I18N_INPUT_H_ |
| 7 |
| 8 #include "chrome/browser/ui/autofill/autofill_dialog_common.h" |
| 9 #include "chrome/browser/ui/autofill/autofill_dialog_types.h" |
| 10 |
| 11 namespace autofill { |
| 12 namespace i18ninput { |
| 13 |
| 14 // Returns true if the internationalized address input is enabled. |
| 15 bool Enabled(); |
| 16 |
| 17 // Builds internationalized address input fields for |country_code| and adds |
| 18 // them (at most 13) to |inputs|. |address_type| is which kind of address to |
| 19 // build (e.g. billing or shipping). |
| 20 void BuildAddressInputs(common::AddressType address_type, |
| 21 const std::string& country_code, |
| 22 DetailInputs* inputs); |
| 23 |
| 24 } // namespace i18ninput |
| 25 } // namespace autofill |
| 26 |
| 27 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_I18N_INPUT_H_ |
OLD | NEW |