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

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

Issue 63053003: Ask libaddressinput for address components to use in requestAutocomplete(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tests Created 7 years 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
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698