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

Issue 25620002: [rac] Use i18n address inputs with --enable-autofill-address-i18n flag (Closed)

Created:
7 years, 2 months ago by please use gerrit instead
Modified:
7 years ago
Reviewers:
Evan Stade
CC:
chromium-reviews, benquan, Dane Wallinga, dyu1, estade+watch_chromium.org, Albert Bodenhamer, Ilya Sherman
Visibility:
Public.

Description

[rac] Use i18n address inputs with --enable-autofill-address-i18n flag If Chrome has --enable-autofill-address-i18n flag, then rac dialog will display an i18n-capable address input form. The form is not yet refreshed after the country/region selection changes. The visible change from this CL is that --enable-autofill-address-i18n flag will cause rac dialog to display a country dropdown for address input. BUG=247202

Patch Set 1 : #

Total comments: 6

Patch Set 2 : Static functions only #

Patch Set 3 : Separate i18n input file #

Total comments: 16

Patch Set 4 : Do not use extended initializer list #

Patch Set 5 : Avoid initializer list #

Unified diffs Side-by-side diffs Delta from patch set Stats (+441 lines, -17 lines) Patch
M chrome/browser/ui/autofill/autofill_dialog_common.h View 1 1 chunk +6 lines, -1 line 0 comments Download
M chrome/browser/ui/autofill/autofill_dialog_common.cc View 1 2 5 chunks +52 lines, -16 lines 0 comments Download
A chrome/browser/ui/autofill/autofill_dialog_i18n_input.h View 1 2 1 chunk +43 lines, -0 lines 0 comments Download
A chrome/browser/ui/autofill/autofill_dialog_i18n_input.cc View 1 2 3 4 1 chunk +263 lines, -0 lines 0 comments Download
A chrome/browser/ui/autofill/autofill_dialog_i18n_input_unittest.cc View 1 2 1 chunk +69 lines, -0 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
please use gerrit instead
Evan: PTAL.
7 years, 2 months ago (2013-10-01 22:42:19 UTC) #1
Evan Stade
https://codereview.chromium.org/25620002/diff/5001/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h File chrome/browser/ui/autofill/autofill_dialog_controller_impl.h (right): https://codereview.chromium.org/25620002/diff/5001/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h#newcode751 chrome/browser/ui/autofill/autofill_dialog_controller_impl.h:751: scoped_ptr<common::AutofillDialogInput> inputs_builder_; I don't see any reason for this ...
7 years, 2 months ago (2013-10-02 00:57:18 UTC) #2
please use gerrit instead
https://codereview.chromium.org/25620002/diff/5001/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h File chrome/browser/ui/autofill/autofill_dialog_controller_impl.h (right): https://codereview.chromium.org/25620002/diff/5001/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h#newcode751 chrome/browser/ui/autofill/autofill_dialog_controller_impl.h:751: scoped_ptr<common::AutofillDialogInput> inputs_builder_; On 2013/10/02 00:57:19, Evan Stade wrote: > ...
7 years, 2 months ago (2013-10-02 18:21:49 UTC) #3
Evan Stade
https://codereview.chromium.org/25620002/diff/5001/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h File chrome/browser/ui/autofill/autofill_dialog_controller_impl.h (right): https://codereview.chromium.org/25620002/diff/5001/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h#newcode751 chrome/browser/ui/autofill/autofill_dialog_controller_impl.h:751: scoped_ptr<common::AutofillDialogInput> inputs_builder_; On 2013/10/02 18:21:50, Rouslan Solomakhin wrote: > ...
7 years, 2 months ago (2013-10-02 20:27:18 UTC) #4
please use gerrit instead
On 2013/10/02 20:27:18, Evan Stade wrote: > what state is the object going to hold? ...
7 years, 2 months ago (2013-10-02 20:38:41 UTC) #5
please use gerrit instead
Evan: PTAL. The change increases the size of address_dialog_common.cc significantly. Perhaps I should split out ...
7 years, 2 months ago (2013-10-04 22:39:53 UTC) #6
Evan Stade
On 2013/10/04 22:39:53, Rouslan Solomakhin wrote: > Evan: PTAL. > > The change increases the ...
7 years, 2 months ago (2013-10-07 19:39:30 UTC) #7
please use gerrit instead
Evan: PTAL.
7 years, 2 months ago (2013-10-08 22:25:06 UTC) #8
Evan Stade
https://codereview.chromium.org/25620002/diff/43001/chrome/browser/ui/autofill/autofill_dialog_i18n_input.cc File chrome/browser/ui/autofill/autofill_dialog_i18n_input.cc (right): https://codereview.chromium.org/25620002/diff/43001/chrome/browser/ui/autofill/autofill_dialog_i18n_input.cc#newcode15 chrome/browser/ui/autofill/autofill_dialog_i18n_input.cc:15: // GuessCountry() uses only the application locale and should ...
7 years, 2 months ago (2013-10-08 23:44:51 UTC) #9
Evan Stade
7 years, 1 month ago (2013-11-18 19:39:46 UTC) #10
https://codereview.chromium.org/25620002/diff/43001/chrome/browser/ui/autofil...
File chrome/browser/ui/autofill/autofill_dialog_i18n_input.cc (right):

https://codereview.chromium.org/25620002/diff/43001/chrome/browser/ui/autofil...
chrome/browser/ui/autofill/autofill_dialog_i18n_input.cc:15: // GuessCountry()
uses only the application locale and should be improved to use
On 2013/10/08 23:44:51, Evan Stade wrote:
> link to the bug
> 
> also, we should probably look at the countries for (verified) autofill
profiles,
> if any exist.

note that I've been working on this, the code is LGTM'd but not yet committed.

Powered by Google App Engine
This is Rietveld 408576698