|
|
Chromium Code Reviews
DescriptionAdd line items in the Order Summary Sheet.
BUG=681688
Review-Url: https://codereview.chromium.org/2632243003
Cr-Commit-Position: refs/heads/master@{#444201}
Committed: https://chromium.googlesource.com/chromium/src/+/d4a7f3193227e64ff48b7a378f31f9a2fcb23bef
Patch Set 1 #
Total comments: 2
Patch Set 2 : Rebase #Patch Set 3 : Rebase #
Messages
Total messages: 23 (12 generated)
anthonyvd@chromium.org changed reviewers: + sebsg@chromium.org, sky@chromium.org
Hi, this CL populates the Order Summary sheet with the individual line items passed from the website to PaymentRequest. Can you PTAL at: sebsg@: autofill_strings.grdp sky@: order_summary_view_controller.cc Thanks a ton!
autofill_strings.grdp lgtm
https://codereview.chromium.org/2632243003/diff/1/chrome/browser/ui/views/pay... File chrome/browser/ui/views/payments/order_summary_view_controller.cc (right): https://codereview.chromium.org/2632243003/diff/1/chrome/browser/ui/views/pay... chrome/browser/ui/views/payments/order_summary_view_controller.cc:47: constexpr int kRowVerticalInset = 12; Where does the 12 come from? Is there an existing constant we can use here?
https://codereview.chromium.org/2632243003/diff/1/chrome/browser/ui/views/pay... File chrome/browser/ui/views/payments/order_summary_view_controller.cc (right): https://codereview.chromium.org/2632243003/diff/1/chrome/browser/ui/views/pay... chrome/browser/ui/views/payments/order_summary_view_controller.cc:47: constexpr int kRowVerticalInset = 12; On 2017/01/17 at 17:51:33, sky wrote: > Where does the 12 come from? Is there an existing constant we can use here? It comes from the PaymentRequest mocks and this screen appears to be the only place where this particular spacing is used. I'll probably move the constants that get used in multiple places to payment_request_views_util.h as they come up. WDYT?
On 2017/01/17 19:43:22, anthonyvd wrote: > https://codereview.chromium.org/2632243003/diff/1/chrome/browser/ui/views/pay... > File chrome/browser/ui/views/payments/order_summary_view_controller.cc (right): > > https://codereview.chromium.org/2632243003/diff/1/chrome/browser/ui/views/pay... > chrome/browser/ui/views/payments/order_summary_view_controller.cc:47: constexpr > int kRowVerticalInset = 12; > On 2017/01/17 at 17:51:33, sky wrote: > > Where does the 12 come from? Is there an existing constant we can use here? > > It comes from the PaymentRequest mocks and this screen appears to be the only > place where this particular spacing is used. I'll probably move the constants > that get used in multiple places to payment_request_views_util.h as they come > up. WDYT? There are other places in the code that create multi-item like lists. I'm wondering if they should all use the same inset? One similar one that comes to mind is the intent picker: https://chromium.googlesource.com/chromium/src/+/master/chrome/browser/ui/vie... . It uses an empty border. I'll LGTM this and leave it to the harmony effort to unify these values.
On 2017/01/17 at 21:05:42, sky wrote: > On 2017/01/17 19:43:22, anthonyvd wrote: > > https://codereview.chromium.org/2632243003/diff/1/chrome/browser/ui/views/pay... > > File chrome/browser/ui/views/payments/order_summary_view_controller.cc (right): > > > > https://codereview.chromium.org/2632243003/diff/1/chrome/browser/ui/views/pay... > > chrome/browser/ui/views/payments/order_summary_view_controller.cc:47: constexpr > > int kRowVerticalInset = 12; > > On 2017/01/17 at 17:51:33, sky wrote: > > > Where does the 12 come from? Is there an existing constant we can use here? > > > > It comes from the PaymentRequest mocks and this screen appears to be the only > > place where this particular spacing is used. I'll probably move the constants > > that get used in multiple places to payment_request_views_util.h as they come > > up. WDYT? > > There are other places in the code that create multi-item like lists. I'm wondering if they should all use the same inset? One similar one that comes to mind is the intent picker: https://chromium.googlesource.com/chromium/src/+/master/chrome/browser/ui/vie... . It uses an empty border. I'll LGTM this and leave it to the harmony effort to unify these values. Ah that's a good point. Anyone we should loop in specifically about this? Thanks for the review! :)
The CQ bit was checked by anthonyvd@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from sebsg@chromium.org, sky@chromium.org Link to the patchset: https://codereview.chromium.org/2632243003/#ps10001 (title: "Rebase")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds...) ios-device-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device-xcode-...) ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator/bui...) ios-simulator-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator-xco...)
The CQ bit was checked by anthonyvd@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Maybe kylixrd@. -Scott On Tue, Jan 17, 2017 at 1:11 PM, <anthonyvd@chromium.org> wrote: > On 2017/01/17 at 21:05:42, sky wrote: >> On 2017/01/17 19:43:22, anthonyvd wrote: >> > > https://codereview.chromium.org/2632243003/diff/1/chrome/browser/ui/views/pay... >> > File chrome/browser/ui/views/payments/order_summary_view_controller.cc > (right): >> > >> > > https://codereview.chromium.org/2632243003/diff/1/chrome/browser/ui/views/pay... >> > chrome/browser/ui/views/payments/order_summary_view_controller.cc:47: > constexpr >> > int kRowVerticalInset = 12; >> > On 2017/01/17 at 17:51:33, sky wrote: >> > > Where does the 12 come from? Is there an existing constant we can use > here? >> > >> > It comes from the PaymentRequest mocks and this screen appears to be the > only >> > place where this particular spacing is used. I'll probably move the > constants >> > that get used in multiple places to payment_request_views_util.h as they > come >> > up. WDYT? >> >> There are other places in the code that create multi-item like lists. I'm > wondering if they should all use the same inset? One similar one that comes > to > mind is the intent picker: > https://chromium.googlesource.com/chromium/src/+/master/chrome/browser/ui/vie... > . It uses an empty border. I'll LGTM this and leave it to the harmony effort > to > unify these values. > > Ah that's a good point. Anyone we should loop in specifically about this? > > Thanks for the review! :) > > https://codereview.chromium.org/2632243003/ -- You received this message because you are subscribed to the Google Groups "Chromium-reviews" group. To unsubscribe from this group and stop receiving emails from it, send an email to chromium-reviews+unsubscribe@chromium.org.
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
The CQ bit was checked by anthonyvd@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from sebsg@chromium.org, sky@chromium.org Link to the patchset: https://codereview.chromium.org/2632243003/#ps30001 (title: "Rebase")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch.
Bot data: {"patchset_id": 30001, "attempt_start_ts": 1484698315376320,
"parent_rev": "69022eccc884e5541518c448e965f79f8aa17f95", "commit_rev":
"d4a7f3193227e64ff48b7a378f31f9a2fcb23bef"}
Message was sent while issue was closed.
Description was changed from ========== Add line items in the Order Summary Sheet. BUG=681688 ========== to ========== Add line items in the Order Summary Sheet. BUG=681688 Review-Url: https://codereview.chromium.org/2632243003 Cr-Commit-Position: refs/heads/master@{#444201} Committed: https://chromium.googlesource.com/chromium/src/+/d4a7f3193227e64ff48b7a378f31... ==========
Message was sent while issue was closed.
Committed patchset #3 (id:30001) as https://chromium.googlesource.com/chromium/src/+/d4a7f3193227e64ff48b7a378f31... |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
