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

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

Issue 974323002: Componentize autofill dialog common code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add missing includes Created 5 years, 9 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_I18N_INPUT_H_ 5 #ifndef CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_I18N_INPUT_H_
6 #define CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_I18N_INPUT_H_ 6 #define CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_I18N_INPUT_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "base/strings/string16.h" 11 #include "base/strings/string16.h"
12 #include "chrome/browser/ui/autofill/autofill_dialog_common.h" 12 #include "chrome/browser/ui/autofill/autofill_dialog_common.h"
13 #include "chrome/browser/ui/autofill/autofill_dialog_types.h" 13 #include "chrome/browser/ui/autofill/autofill_dialog_types.h"
14 #include "components/autofill/core/browser/autofill_type.h" 14 #include "components/autofill/core/browser/autofill_type.h"
15 #include "components/autofill/core/browser/detail_input.h"
15 16
16 namespace autofill { 17 namespace autofill {
17 18
18 class AutofillProfile; 19 class AutofillProfile;
19 class CreditCard; 20 class CreditCard;
20 21
21 namespace i18ninput { 22 namespace i18ninput {
22 23
23 // Builds internationalized address input fields for |address_type| (e.g. 24 // Builds internationalized address input fields for |address_type| (e.g.
24 // billing or shipping) in |country_code| (e.g. "US" or "CH"). 25 // billing or shipping) in |country_code| (e.g. "US" or "CH").
(...skipping 16 matching lines...) Expand all
41 42
42 // As above, but for the address in |profile|. Region-aware, meaning that the 43 // As above, but for the address in |profile|. Region-aware, meaning that the
43 // exact set of required fields depends on the region. 44 // exact set of required fields depends on the region.
44 bool AddressHasCompleteAndVerifiedData(const AutofillProfile& profile, 45 bool AddressHasCompleteAndVerifiedData(const AutofillProfile& profile,
45 const std::string& app_locale); 46 const std::string& app_locale);
46 47
47 } // namespace i18ninput 48 } // namespace i18ninput
48 } // namespace autofill 49 } // namespace autofill
49 50
50 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_I18N_INPUT_H_ 51 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_I18N_INPUT_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc ('k') | chrome/browser/ui/autofill/autofill_dialog_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698