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

Issue 2871873003: [Payments] Fix up field widths in desktop editors. (Closed)

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

Description

[Payments] Fix up field widths in desktop editors. Width is now conformant to spec. See bug for screenshots. Moved the billing address combobox to be handled by the base class now. The credit card editor only adds the Add button as an extra view. Modified the address combobox model to accept a default selected guid. BUG=718548, 720593 TEST=visual Review-Url: https://codereview.chromium.org/2871873003 Cr-Commit-Position: refs/heads/master@{#470980} Committed: https://chromium.googlesource.com/chromium/src/+/d6449a52e98ecf9dcc888c0868935d9944375e7a

Patch Set 1 #

Total comments: 3

Patch Set 2 : addressed comments #

Patch Set 3 : using extra width #

Total comments: 1

Patch Set 4 : More changes #

Patch Set 5 : rebase #

Total comments: 6

Patch Set 6 : addressed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+201 lines, -124 lines) Patch
M chrome/browser/ui/views/payments/contact_info_editor_view_controller.cc View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/payments/credit_card_editor_view_controller.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/payments/credit_card_editor_view_controller.cc View 1 2 3 8 chunks +42 lines, -80 lines 0 comments Download
M chrome/browser/ui/views/payments/editor_view_controller.h View 1 2 3 4 5 2 chunks +11 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/payments/editor_view_controller.cc View 1 2 3 4 5 6 chunks +105 lines, -19 lines 0 comments Download
M chrome/browser/ui/views/payments/payment_request_views_util.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/views/payments/payment_request_views_util.cc View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/views/payments/shipping_address_editor_view_controller.cc View 1 2 3 4 3 chunks +6 lines, -6 lines 0 comments Download
M components/autofill/core/browser/address_combobox_model.h View 1 2 3 3 chunks +10 lines, -3 lines 0 comments Download
M components/autofill/core/browser/address_combobox_model.cc View 1 2 3 3 chunks +14 lines, -3 lines 0 comments Download
M components/autofill/core/browser/address_combobox_model_unittest.cc View 1 2 3 6 chunks +8 lines, -4 lines 0 comments Download

Messages

Total messages: 27 (15 generated)
Mathieu
Anthony PTAL!
3 years, 7 months ago (2017-05-09 17:54:11 UTC) #3
anthonyvd
Thanks! One comment. https://codereview.chromium.org/2871873003/diff/1/chrome/browser/ui/views/payments/editor_view_controller.cc File chrome/browser/ui/views/payments/editor_view_controller.cc (right): https://codereview.chromium.org/2871873003/diff/1/chrome/browser/ui/views/payments/editor_view_controller.cc#newcode205 chrome/browser/ui/views/payments/editor_view_controller.cc:205: views::GridLayout::FIXED, kShortInputFieldMinimumWidth, 0); These variables are ...
3 years, 7 months ago (2017-05-09 21:01:21 UTC) #4
Mathieu
PTAL! https://codereview.chromium.org/2871873003/diff/1/chrome/browser/ui/views/payments/editor_view_controller.cc File chrome/browser/ui/views/payments/editor_view_controller.cc (right): https://codereview.chromium.org/2871873003/diff/1/chrome/browser/ui/views/payments/editor_view_controller.cc#newcode205 chrome/browser/ui/views/payments/editor_view_controller.cc:205: views::GridLayout::FIXED, kShortInputFieldMinimumWidth, 0); On 2017/05/09 21:01:21, anthonyvd wrote: ...
3 years, 7 months ago (2017-05-10 12:30:35 UTC) #5
anthonyvd
https://codereview.chromium.org/2871873003/diff/1/chrome/browser/ui/views/payments/editor_view_controller.cc File chrome/browser/ui/views/payments/editor_view_controller.cc (right): https://codereview.chromium.org/2871873003/diff/1/chrome/browser/ui/views/payments/editor_view_controller.cc#newcode205 chrome/browser/ui/views/payments/editor_view_controller.cc:205: views::GridLayout::FIXED, kShortInputFieldMinimumWidth, 0); On 2017/05/10 at 12:30:35, Mathieu wrote: ...
3 years, 7 months ago (2017-05-10 13:26:02 UTC) #6
Mathieu
Anthony, adjusted the width according to UX decision, PTAL!
3 years, 7 months ago (2017-05-10 14:39:41 UTC) #7
anthonyvd
https://codereview.chromium.org/2871873003/diff/40001/chrome/browser/ui/views/payments/editor_view_controller.cc File chrome/browser/ui/views/payments/editor_view_controller.cc (right): https://codereview.chromium.org/2871873003/diff/40001/chrome/browser/ui/views/payments/editor_view_controller.cc#newcode205 chrome/browser/ui/views/payments/editor_view_controller.cc:205: int short_input_width = Ok so one last thing to ...
3 years, 7 months ago (2017-05-10 15:03:56 UTC) #8
Mathieu
Hi Anthony, this will probably need a full review again, sorry. PTAL
3 years, 7 months ago (2017-05-10 19:56:20 UTC) #13
anthonyvd
Looks great, thanks for bearing with me. Few minor comments! https://codereview.chromium.org/2871873003/diff/80001/chrome/browser/ui/views/payments/editor_view_controller.cc File chrome/browser/ui/views/payments/editor_view_controller.cc (right): https://codereview.chromium.org/2871873003/diff/80001/chrome/browser/ui/views/payments/editor_view_controller.cc#newcode222 ...
3 years, 7 months ago (2017-05-11 00:32:14 UTC) #20
Mathieu
Thanks PTAL! https://codereview.chromium.org/2871873003/diff/80001/chrome/browser/ui/views/payments/editor_view_controller.cc File chrome/browser/ui/views/payments/editor_view_controller.cc (right): https://codereview.chromium.org/2871873003/diff/80001/chrome/browser/ui/views/payments/editor_view_controller.cc#newcode222 chrome/browser/ui/views/payments/editor_view_controller.cc:222: // | | On 2017/05/11 00:32:14, anthonyvd ...
3 years, 7 months ago (2017-05-11 01:16:24 UTC) #21
anthonyvd
lgtm
3 years, 7 months ago (2017-05-11 15:19:11 UTC) #22
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/2871873003/100001
3 years, 7 months ago (2017-05-11 15:20:24 UTC) #24
commit-bot: I haz the power
3 years, 7 months ago (2017-05-11 17:00:00 UTC) #27
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/d6449a52e98ecf9dcc888c086893...

Powered by Google App Engine
This is Rietveld 408576698