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

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

Issue 25620002: [rac] Use i18n address inputs with --enable-autofill-address-i18n flag (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 2 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 | 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_INPUT_STATIC_H_
6 #define CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_INPUT_STATIC_H_
7
8 #include "chrome/browser/ui/autofill/autofill_dialog_input.h"
9
10 namespace autofill {
11 namespace common {
12
13 // An implementation of AutofillDialogInput with static fields. This
14 // implementation does not allow changing the country/region field. Do not
15 // instantiate this object directly. Use AutofillDialogInput::BuildInstance()
16 // instead.
17 class AutofillDialogInputStatic : public AutofillDialogInput {
18 public:
19 AutofillDialogInputStatic();
20 virtual ~AutofillDialogInputStatic();
21
22 // AutofillDialogInput implementation.
23 virtual void BuildInputsForSection(DialogSection dialog_section,
24 DetailInputs* inputs) OVERRIDE;
25 virtual void BuildInputsForSection(DialogSection dialog_section,
26 const std::string& selected_country_region,
27 DetailInputs* inputs) OVERRIDE;
28
29 private:
30 DISALLOW_COPY_AND_ASSIGN(AutofillDialogInputStatic);
31 };
32
33 } // namespace common
34 } // namespace autofill
35
36 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_INPUT_STATIC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698