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

Issue 2592833002: [WebPayments] Start populating the Payment Sheet. (Closed)

Created:
4 years ago by anthonyvd
Modified:
3 years, 11 months ago
CC:
chromium-reviews, tfarina
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[WebPayments] Start populating the Payment Sheet. This change adds the header and the Order Summary section to the Payment Sheet in the Payment Request dialog. Both sheets still need many tweaks and extra features but this is the first step towards the dialog actually looking like the design specs. Mocks here: https://folio.googleplex.com/chrome-ux/mocks/329-future-web-pay/latest/desktop# A screenshot of the Payment Sheet is here: https://drive.google.com/file/d/0B-DVbqI3huZGREpIaE5yMDZjZzA/view?usp=sharing A screenshot of the Order Summary shown when clicking the Order Summary row is here: https://drive.google.com/file/d/0B-DVbqI3huZGM0F0cC1sS2xLTWs/view?usp=sharing BUG=676112 Review-Url: https://codereview.chromium.org/2592833002 Cr-Commit-Position: refs/heads/master@{#441939} Committed: https://chromium.googlesource.com/chromium/src/+/dd1727134d52f1e7aa349a360f254ec054fde0e9

Patch Set 1 #

Total comments: 24

Patch Set 2 : Address comments #

Total comments: 8

Patch Set 3 : Address comments. #

Total comments: 2

Patch Set 4 : Fix dependency issue by including vector_icons_public.h #

Patch Set 5 : Fix failing implicit move on ChromeOS builds. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+316 lines, -62 lines) Patch
M chrome/browser/payments/payment_request_impl.h View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/payments/payment_request_impl.cc View 1 2 2 chunks +8 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/payments/order_summary_view_controller.h View 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/payments/order_summary_view_controller.cc View 1 2 chunks +24 lines, -19 lines 0 comments Download
M chrome/browser/ui/views/payments/payment_request_dialog.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/payments/payment_request_dialog.cc View 1 2 4 chunks +31 lines, -11 lines 0 comments Download
M chrome/browser/ui/views/payments/payment_request_views_util.h View 1 1 chunk +37 lines, -5 lines 0 comments Download
M chrome/browser/ui/views/payments/payment_request_views_util.cc View 1 2 3 2 chunks +59 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/payments/payment_sheet_view_controller.h View 1 2 3 4 3 chunks +6 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/payments/payment_sheet_view_controller.cc View 1 2 3 4 2 chunks +133 lines, -16 lines 0 comments Download
M components/autofill_strings.grdp View 1 2 chunks +10 lines, -3 lines 0 comments Download

Messages

Total messages: 46 (27 generated)
anthonyvd
Hello everyone, Can you please take a look at this first pass on the Payment ...
3 years, 11 months ago (2017-01-04 14:59:38 UTC) #5
please use gerrit instead
Are you following a mock here? https://codereview.chromium.org/2592833002/diff/20001/chrome/browser/payments/payment_request_impl.cc File chrome/browser/payments/payment_request_impl.cc (right): https://codereview.chromium.org/2592833002/diff/20001/chrome/browser/payments/payment_request_impl.cc#newcode65 chrome/browser/payments/payment_request_impl.cc:65: details_ = std::move(details); ...
3 years, 11 months ago (2017-01-04 15:55:28 UTC) #7
sky
https://codereview.chromium.org/2592833002/diff/20001/chrome/browser/ui/views/payments/order_summary_view_controller.cc File chrome/browser/ui/views/payments/order_summary_view_controller.cc (right): https://codereview.chromium.org/2592833002/diff/20001/chrome/browser/ui/views/payments/order_summary_view_controller.cc#newcode59 chrome/browser/ui/views/payments/order_summary_view_controller.cc:59: if (sender->tag() == CLOSE_BUTTON_TAG) { no {}. optional: use ...
3 years, 11 months ago (2017-01-04 17:24:45 UTC) #8
anthonyvd
+mathp as autofill_strings.grdp OWNER Thanks for your feedback, comments addressed. A link to the mocks ...
3 years, 11 months ago (2017-01-04 19:08:56 UTC) #10
anthonyvd
https://codereview.chromium.org/2592833002/diff/40001/chrome/browser/ui/views/payments/payment_sheet_view_controller.cc File chrome/browser/ui/views/payments/payment_sheet_view_controller.cc (right): https://codereview.chromium.org/2592833002/diff/40001/chrome/browser/ui/views/payments/payment_sheet_view_controller.cc#newcode111 chrome/browser/ui/views/payments/payment_sheet_view_controller.cc:111: SetFocusForPlatform(); Hmm it looks like this isn't the only ...
3 years, 11 months ago (2017-01-04 19:15:30 UTC) #13
please use gerrit instead
lgtm % comments https://codereview.chromium.org/2592833002/diff/20001/chrome/browser/ui/views/payments/payment_request_views_util.cc File chrome/browser/ui/views/payments/payment_request_views_util.cc (right): https://codereview.chromium.org/2592833002/diff/20001/chrome/browser/ui/views/payments/payment_request_views_util.cc#newcode19 chrome/browser/ui/views/payments/payment_request_views_util.cc:19: namespace { On 2017/01/04 19:08:55, anthonyvd ...
3 years, 11 months ago (2017-01-04 19:17:11 UTC) #14
sky
This looks good, but I'm not approving given your comment about investigating focus. https://codereview.chromium.org/2592833002/diff/20001/chrome/browser/ui/views/payments/payment_sheet_view_controller.cc File ...
3 years, 11 months ago (2017-01-04 20:56:32 UTC) #15
sky
On 2017/01/04 20:56:32, sky wrote: > This looks good, but I'm not approving given your ...
3 years, 11 months ago (2017-01-04 20:57:08 UTC) #16
anthonyvd
Dug a little more about focus and replied to my comment with the explanation. Let ...
3 years, 11 months ago (2017-01-05 16:45:42 UTC) #17
sky
On 2017/01/05 16:45:42, anthonyvd wrote: > Dug a little more about focus and replied to ...
3 years, 11 months ago (2017-01-05 17:41:49 UTC) #18
Mathieu
lgtm sorry for the delay https://codereview.chromium.org/2592833002/diff/60001/components/autofill_strings.grdp File components/autofill_strings.grdp (right): https://codereview.chromium.org/2592833002/diff/60001/components/autofill_strings.grdp#newcode355 components/autofill_strings.grdp:355: <ph name="TOTAL_LABEL">$1<ex>Total</ex></ph> <ph name="CURRENCY_CODE">$2<ex>USD</ex></ph> ...
3 years, 11 months ago (2017-01-05 19:06:15 UTC) #19
please use gerrit instead
On 2017/01/05 19:06:15, Mathieu Perreault wrote: > lgtm sorry for the delay > > https://codereview.chromium.org/2592833002/diff/60001/components/autofill_strings.grdp ...
3 years, 11 months ago (2017-01-05 19:08:31 UTC) #20
Mathieu
On 2017/01/05 19:08:31, rouslan wrote: > On 2017/01/05 19:06:15, Mathieu Perreault wrote: > > lgtm ...
3 years, 11 months ago (2017-01-05 19:11:06 UTC) #21
anthonyvd
https://codereview.chromium.org/2592833002/diff/60001/components/autofill_strings.grdp File components/autofill_strings.grdp (right): https://codereview.chromium.org/2592833002/diff/60001/components/autofill_strings.grdp#newcode355 components/autofill_strings.grdp:355: <ph name="TOTAL_LABEL">$1<ex>Total</ex></ph> <ph name="CURRENCY_CODE">$2<ex>USD</ex></ph> <ph name="FORMATTED_TOTAL_AMOUNT">$3<ex>$ 12.34</ex></ph> On 2017/01/05 ...
3 years, 11 months ago (2017-01-05 19:12:41 UTC) #22
anthonyvd
Thanks everyone for the review! sky: I should have said that the ViewStack has its ...
3 years, 11 months ago (2017-01-05 19:15:19 UTC) #23
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/2592833002/60001
3 years, 11 months ago (2017-01-05 19:15:41 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/287745) linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, ...
3 years, 11 months ago (2017-01-05 19:19:44 UTC) #28
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/2592833002/120001
3 years, 11 months ago (2017-01-06 14:42:09 UTC) #43
commit-bot: I haz the power
3 years, 11 months ago (2017-01-06 15:22:03 UTC) #46
Message was sent while issue was closed.
Committed patchset #5 (id:120001) as
https://chromium.googlesource.com/chromium/src/+/dd1727134d52f1e7aa349a360f25...

Powered by Google App Engine
This is Rietveld 408576698