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

Issue 2855203002: [Payments] Display the shipping option error alongside the address (Closed)

Created:
3 years, 7 months ago by Mathieu
Modified:
3 years, 7 months ago
Reviewers:
anthonyvd
CC:
chromium-reviews, darin-cc_chromium.org, gogerald+paymentswatch_chromium.org, jam, mahmadi+paymentswatch_chromium.org, rouslan+payments_chromium.org, sebsg+paymentswatch_chromium.org, tfarina
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[Payments] Display the shipping option error alongside the address In the Payment Sheet and the Address selector, display the shipping option error. BUG=710004 TEST=browser_tests Review-Url: https://codereview.chromium.org/2855203002 Cr-Commit-Position: refs/heads/master@{#469397} Committed: https://chromium.googlesource.com/chromium/src/+/eb8892ff597ac955e4eebe688a57ca0b81b02bd4

Patch Set 1 #

Patch Set 2 : added tests #

Total comments: 6

Patch Set 3 : addressed comments #

Total comments: 4

Patch Set 4 : fix build + setmultiline #

Patch Set 5 : address last comments #

Patch Set 6 : android test fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+277 lines, -62 lines) Patch
M chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestDynamicShippingMultipleAddressesTest.java View 1 2 3 4 5 1 chunk +2 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/payments/payment_method_view_controller.cc View 1 2 1 chunk +6 lines, -1 line 0 comments Download
M chrome/browser/ui/views/payments/payment_request_browsertest_base.h View 1 2 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/payments/payment_request_browsertest_base.cc View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/payments/payment_request_dialog_view_ids.h View 1 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/ui/views/payments/payment_request_item_list.h View 1 2 1 chunk +5 lines, -1 line 0 comments Download
M chrome/browser/ui/views/payments/payment_request_item_list.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/views/payments/payment_request_item_list_unittest.cc View 1 2 3 4 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/ui/views/payments/payment_request_views_util.h View 1 2 1 chunk +15 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/payments/payment_request_views_util.cc View 1 2 6 chunks +81 lines, -30 lines 0 comments Download
M chrome/browser/ui/views/payments/payment_sheet_view_controller.cc View 1 2 1 chunk +17 lines, -7 lines 0 comments Download
M chrome/browser/ui/views/payments/profile_list_view_controller.h View 1 2 2 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/payments/profile_list_view_controller.cc View 1 2 3 4 8 chunks +88 lines, -8 lines 0 comments Download
M chrome/browser/ui/views/payments/shipping_option_view_controller.cc View 1 2 1 chunk +6 lines, -1 line 0 comments Download
M chrome/browser/ui/views/payments/shipping_option_view_controller_browsertest.cc View 1 2 chunks +13 lines, -1 line 0 comments Download
M chrome/test/data/payments/dynamic_shipping.js View 1 1 chunk +1 line, -0 lines 0 comments Download
M components/payments/content/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M components/payments/content/payment_request_spec.h View 1 2 3 chunks +7 lines, -0 lines 0 comments Download
M components/payments/content/payment_request_spec.cc View 1 2 3 chunks +10 lines, -1 line 0 comments Download

Messages

Total messages: 26 (17 generated)
Mathieu
Anthony, PTAL. I've added screenshots to the bug.
3 years, 7 months ago (2017-05-03 20:34:44 UTC) #3
anthonyvd
Looks awesome! Few comments. https://codereview.chromium.org/2855203002/diff/40001/chrome/browser/ui/views/payments/payment_method_view_controller.cc File chrome/browser/ui/views/payments/payment_method_view_controller.cc (right): https://codereview.chromium.org/2855203002/diff/40001/chrome/browser/ui/views/payments/payment_method_view_controller.cc#newcode113 chrome/browser/ui/views/payments/payment_method_view_controller.cc:113: bool IsDisabled() override { Can ...
3 years, 7 months ago (2017-05-04 13:07:37 UTC) #5
Mathieu
Thanks! I made the changes and added a few more: * Made selected_shipping_option_error a base::string16 ...
3 years, 7 months ago (2017-05-04 13:53:25 UTC) #8
anthonyvd
lgtm % couple comments. Thanks! https://codereview.chromium.org/2855203002/diff/60001/chrome/browser/ui/views/payments/profile_list_view_controller.cc File chrome/browser/ui/views/payments/profile_list_view_controller.cc (right): https://codereview.chromium.org/2855203002/diff/60001/chrome/browser/ui/views/payments/profile_list_view_controller.cc#newcode92 chrome/browser/ui/views/payments/profile_list_view_controller.cc:92: // If not disabled, ...
3 years, 7 months ago (2017-05-04 14:11:34 UTC) #13
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/2855203002/120001
3 years, 7 months ago (2017-05-04 14:38:09 UTC) #17
Mathieu
Submitting! https://codereview.chromium.org/2855203002/diff/60001/chrome/browser/ui/views/payments/profile_list_view_controller.cc File chrome/browser/ui/views/payments/profile_list_view_controller.cc (right): https://codereview.chromium.org/2855203002/diff/60001/chrome/browser/ui/views/payments/profile_list_view_controller.cc#newcode92 chrome/browser/ui/views/payments/profile_list_view_controller.cc:92: // If not disabled, the editor is opened ...
3 years, 7 months ago (2017-05-04 14:38:56 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/285679)
3 years, 7 months ago (2017-05-04 16:28:17 UTC) #20
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/2855203002/140001
3 years, 7 months ago (2017-05-04 17:03:01 UTC) #23
commit-bot: I haz the power
3 years, 7 months ago (2017-05-04 18:43:20 UTC) #26
Message was sent while issue was closed.
Committed patchset #6 (id:140001) as
https://chromium.googlesource.com/chromium/src/+/eb8892ff597ac955e4eebe688a57...

Powered by Google App Engine
This is Rietveld 408576698