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

Issue 2709093006: Adding new shipping address editor view to payment flow. (Closed)

Created:
3 years, 10 months ago by MAD
Modified:
3 years, 9 months ago
Reviewers:
Mathieu, anthonyvd
CC:
blundell+watchlist_chromium.org, browser-components-watch_chromium.org, chromium-reviews, dbeam+watch-options_chromium.org, droger+watchlist_chromium.org, estade+watch_chromium.org, mathp+autofillwatch_chromium.org, michaelpg+watch-options_chromium.org, rogerm+autofillwatch_chromium.org, rouslan+autofill_chromium.org, sdefresne+watchlist_chromium.org, sebsg+autofillwatch_chromium.org, srahim+watch_chromium.org, tfarina, vabr+watchlistautofill_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Adding new shipping address editor view to payment flow. BUG=703758 Review-Url: https://codereview.chromium.org/2709093006 Cr-Commit-Position: refs/heads/master@{#458983} Committed: https://chromium.googlesource.com/chromium/src/+/e3602142ccdc1689eb297c43e1f5e8d27f680776

Patch Set 1 : pre-vacation incomplete and not clean snapshot... ;-) #

Patch Set 2 : REbase #

Patch Set 3 : Moved RegionComboboxModel to other CL and fixed lint errors. #

Patch Set 4 : Extracted more code in other CLs #

Patch Set 5 : Almost working version #

Patch Set 6 : Working version #

Total comments: 40

Patch Set 7 : Rebase and bot error fixes #

Total comments: 8

Patch Set 8 : CR comments 1 #

Total comments: 10

Patch Set 9 : CR Comments 2 #

Patch Set 10 : Rebase #

Patch Set 11 : Bot failure fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+646 lines, -53 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 4 5 6 7 8 9 2 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/ui/BUILD.gn View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/payments/editor_view_controller.h View 1 2 3 4 5 6 7 8 9 5 chunks +23 lines, -8 lines 0 comments Download
M chrome/browser/ui/views/payments/editor_view_controller.cc View 1 2 3 4 5 6 7 8 4 chunks +51 lines, -31 lines 0 comments Download
M chrome/browser/ui/views/payments/payment_request_browsertest_base.h View 1 2 3 4 5 6 7 8 5 chunks +10 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/payments/payment_request_browsertest_base.cc View 1 2 3 4 5 6 7 8 4 chunks +30 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/payments/payment_request_dialog_view.h View 1 2 3 4 5 6 7 8 2 chunks +8 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/payments/payment_request_dialog_view.cc View 1 2 3 4 5 6 7 8 3 chunks +18 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/payments/payment_request_dialog_view_ids.h View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/payments/profile_list_view_controller.h View 1 2 3 4 5 6 7 8 9 2 chunks +8 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/payments/profile_list_view_controller.cc View 1 2 3 4 5 6 7 8 9 4 chunks +75 lines, -0 lines 0 comments Download
A chrome/browser/ui/views/payments/shipping_address_editor_view_controller.h View 1 2 3 4 5 6 7 8 1 chunk +89 lines, -0 lines 0 comments Download
A chrome/browser/ui/views/payments/shipping_address_editor_view_controller.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +316 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/payments/view_stack.cc View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -0 lines 0 comments Download
M components/autofill/core/browser/autofill_manager.cc View 1 2 3 4 5 1 chunk +0 lines, -2 lines 0 comments Download
M components/autofill/core/browser/country_combobox_model.h View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M components/autofill/core/browser/personal_data_manager.h View 1 2 3 4 5 5 chunks +2 lines, -8 lines 0 comments Download

Messages

Total messages: 45 (32 generated)
MAD
This has all the basic functionality but is missing the stuff listed below. Still, I ...
3 years, 9 months ago (2017-03-20 20:37:39 UTC) #3
Mathieu
Adding Anthony as a views owner. I will look into the libphonenumber thing (sorry for ...
3 years, 9 months ago (2017-03-21 15:55:26 UTC) #11
Mathieu
https://codereview.chromium.org/2709093006/diff/140001/chrome/browser/ui/views/payments/editor_view_controller.h File chrome/browser/ui/views/payments/editor_view_controller.h (right): https://codereview.chromium.org/2709093006/diff/140001/chrome/browser/ui/views/payments/editor_view_controller.h#newcode50 chrome/browser/ui/views/payments/editor_view_controller.h:50: EditorField(autofill::ServerFieldType type, Let's change it like so: EditorField(autofill::ServerFieldType type, ...
3 years, 9 months ago (2017-03-21 17:08:35 UTC) #15
Mathieu
https://codereview.chromium.org/2709093006/diff/140001/chrome/browser/ui/views/payments/shipping_address_editor_view_controller.cc File chrome/browser/ui/views/payments/shipping_address_editor_view_controller.cc (right): https://codereview.chromium.org/2709093006/diff/140001/chrome/browser/ui/views/payments/shipping_address_editor_view_controller.cc#newcode276 chrome/browser/ui/views/payments/shipping_address_editor_view_controller.cc:276: EditorField::LengthHint::HINT_SHORT, false, // required. Let's make the phone field ...
3 years, 9 months ago (2017-03-21 17:10:15 UTC) #16
MAD
Addressed all comments. Now on to add the browser test. Then, I think we can ...
3 years, 9 months ago (2017-03-21 19:28:34 UTC) #22
Mathieu
lgtm https://codereview.chromium.org/2709093006/diff/200001/chrome/browser/ui/views/payments/shipping_address_editor_view_controller.h File chrome/browser/ui/views/payments/shipping_address_editor_view_controller.h (right): https://codereview.chromium.org/2709093006/diff/200001/chrome/browser/ui/views/payments/shipping_address_editor_view_controller.h#newcode72 chrome/browser/ui/views/payments/shipping_address_editor_view_controller.h:72: size_t chosen_country_index_{0}; Is this the user's country? If ...
3 years, 9 months ago (2017-03-21 21:09:26 UTC) #25
anthonyvd
Looking good, only a few comments :) Thanks! https://codereview.chromium.org/2709093006/diff/200001/chrome/browser/ui/views/payments/editor_view_controller.cc File chrome/browser/ui/views/payments/editor_view_controller.cc (right): https://codereview.chromium.org/2709093006/diff/200001/chrome/browser/ui/views/payments/editor_view_controller.cc#newcode129 chrome/browser/ui/views/payments/editor_view_controller.cc:129: views::GridLayout* ...
3 years, 9 months ago (2017-03-21 21:18:25 UTC) #28
MAD
Addressed all comments and started adding support for testing but wasn't able to get the ...
3 years, 9 months ago (2017-03-22 20:15:43 UTC) #31
anthonyvd
lgtm. I'd land this as-is and the tests in a follow-up since this CL is ...
3 years, 9 months ago (2017-03-22 20:21:08 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2709093006/240001
3 years, 9 months ago (2017-03-22 22:29:12 UTC) #37
commit-bot: I haz the power
Try jobs failed on following builders: chromeos_daisy_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_daisy_chromium_compile_only_ng/builds/304017)
3 years, 9 months ago (2017-03-22 23:08:38 UTC) #39
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2709093006/260001
3 years, 9 months ago (2017-03-23 00:05:32 UTC) #42
commit-bot: I haz the power
3 years, 9 months ago (2017-03-23 02:30:55 UTC) #45
Message was sent while issue was closed.
Committed patchset #11 (id:260001) as
https://chromium.googlesource.com/chromium/src/+/e3602142ccdc1689eb297c43e1f5...

Powered by Google App Engine
This is Rietveld 408576698