| 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 // Adds internationalized address input fields to |inputs|. The autofill field |
| 18 // types are specific to |address_type|. The |country_code| parameter controls |
| 19 // the fields and their names. The function adds at most 13 items to |inputs|. |
| 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 |