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

Issue 2889453004: [Payments] Use Autofill card assets for Payment Request (Closed)

Created:
3 years, 7 months ago by Mathieu
Modified:
3 years, 7 months ago
CC:
chromium-reviews, rouslan+autofill_chromium.org, tfarina, sebsg+autofillwatch_chromium.org, browser-components-watch_chromium.org, mathp+autofillwatch_chromium.org, rogerm+autofillwatch_chromium.org, vabr+watchlistautofill_chromium.org, estade+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[Payments] Use Autofill card assets for Payment Request * Desktop and iOS will use Autofill assets * Android keeps using the drawables (vector) * MIR card now has a border (fixes Autofill asset) BUG=722651 TEST=visually tested on desktop, iOS TBR=blundell Review-Url: https://codereview.chromium.org/2889453004 Cr-Commit-Position: refs/heads/master@{#472311} Committed: https://chromium.googlesource.com/chromium/src/+/daa7b93ee4630af1fd1f1f5176731c430be51e50

Patch Set 1 #

Patch Set 2 : add border to mir card #

Patch Set 3 : placeholder resource IDs #

Total comments: 2

Patch Set 4 : different amex icon #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -13 lines) Patch
M chrome/browser/ui/views/payments/payment_request_views_util.cc View 1 chunk +0 lines, -3 lines 1 comment Download
M components/autofill/core/browser/autofill_data_util.cc View 2 chunks +20 lines, -0 lines 0 comments Download
M components/resources/autofill_scaled_resources.grdp View 1 2 1 chunk +14 lines, -10 lines 0 comments Download
M components/resources/default_100_percent/autofill/amex.png View 1 2 3 Binary file 0 comments Download
M components/resources/default_100_percent/autofill/mir.png View 1 Binary file 0 comments Download
D components/resources/default_100_percent/autofill/pr_amex.png View Binary file 0 comments Download
D components/resources/default_100_percent/autofill/pr_dinersclub.png View Binary file 0 comments Download
D components/resources/default_100_percent/autofill/pr_discover.png View Binary file 0 comments Download
D components/resources/default_100_percent/autofill/pr_generic.png View Binary file 0 comments Download
D components/resources/default_100_percent/autofill/pr_jcb.png View Binary file 0 comments Download
D components/resources/default_100_percent/autofill/pr_mc.png View Binary file 0 comments Download
D components/resources/default_100_percent/autofill/pr_mir.png View Binary file 0 comments Download
D components/resources/default_100_percent/autofill/pr_unionpay.png View Binary file 0 comments Download
D components/resources/default_100_percent/autofill/pr_visa.png View Binary file 0 comments Download
M components/resources/default_200_percent/autofill/amex.png View 1 2 3 Binary file 0 comments Download
M components/resources/default_200_percent/autofill/mir.png View 1 Binary file 0 comments Download
D components/resources/default_200_percent/autofill/pr_amex.png View Binary file 0 comments Download
D components/resources/default_200_percent/autofill/pr_dinersclub.png View Binary file 0 comments Download
D components/resources/default_200_percent/autofill/pr_discover.png View Binary file 0 comments Download
D components/resources/default_200_percent/autofill/pr_generic.png View Binary file 0 comments Download
D components/resources/default_200_percent/autofill/pr_jcb.png View Binary file 0 comments Download
D components/resources/default_200_percent/autofill/pr_mc.png View Binary file 0 comments Download
D components/resources/default_200_percent/autofill/pr_mir.png View Binary file 0 comments Download
D components/resources/default_200_percent/autofill/pr_unionpay.png View Binary file 0 comments Download
D components/resources/default_200_percent/autofill/pr_visa.png View Binary file 0 comments Download
D components/resources/default_300_percent/autofill/pr_amex.png View Binary file 0 comments Download
D components/resources/default_300_percent/autofill/pr_dinersclub.png View Binary file 0 comments Download
D components/resources/default_300_percent/autofill/pr_discover.png View Binary file 0 comments Download
D components/resources/default_300_percent/autofill/pr_generic.png View Binary file 0 comments Download
D components/resources/default_300_percent/autofill/pr_jcb.png View Binary file 0 comments Download
D components/resources/default_300_percent/autofill/pr_mc.png View Binary file 0 comments Download
D components/resources/default_300_percent/autofill/pr_mir.png View Binary file 0 comments Download
D components/resources/default_300_percent/autofill/pr_unionpay.png View Binary file 0 comments Download
D components/resources/default_300_percent/autofill/pr_visa.png View Binary file 0 comments Download

Messages

Total messages: 43 (33 generated)
Mathieu
Rouslan PTAL
3 years, 7 months ago (2017-05-16 14:12:04 UTC) #20
please use gerrit instead
lgtm https://codereview.chromium.org/2889453004/diff/80001/components/autofill/core/browser/autofill_data_util.cc File components/autofill/core/browser/autofill_data_util.cc (right): https://codereview.chromium.org/2889453004/diff/80001/components/autofill/core/browser/autofill_data_util.cc#newcode29 components/autofill/core/browser/autofill_data_util.cc:29: // On Android, use the PR-specific resource IDs. ...
3 years, 7 months ago (2017-05-16 14:53:48 UTC) #25
Mathieu
Now with different AMEX icon! https://codereview.chromium.org/2889453004/diff/80001/components/autofill/core/browser/autofill_data_util.cc File components/autofill/core/browser/autofill_data_util.cc (right): https://codereview.chromium.org/2889453004/diff/80001/components/autofill/core/browser/autofill_data_util.cc#newcode29 components/autofill/core/browser/autofill_data_util.cc:29: // On Android, use ...
3 years, 7 months ago (2017-05-16 15:01:37 UTC) #26
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/2889453004/100001
3 years, 7 months ago (2017-05-16 23:55:08 UTC) #31
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/439109)
3 years, 7 months ago (2017-05-17 00:17:04 UTC) #33
Mathieu
TBR blundell for removal of assets
3 years, 7 months ago (2017-05-17 00:35:47 UTC) #36
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/2889453004/100001
3 years, 7 months ago (2017-05-17 00:38:08 UTC) #38
commit-bot: I haz the power
Committed patchset #4 (id:100001) as https://chromium.googlesource.com/chromium/src/+/daa7b93ee4630af1fd1f1f5176731c430be51e50
3 years, 7 months ago (2017-05-17 03:51:02 UTC) #41
blundell
rs lgtm
3 years, 7 months ago (2017-05-17 09:03:44 UTC) #42
blundell
3 years, 7 months ago (2017-05-17 09:04:31 UTC) #43
Message was sent while issue was closed.
https://codereview.chromium.org/2889453004/diff/100001/chrome/browser/ui/view...
File chrome/browser/ui/views/payments/payment_request_views_util.cc (left):

https://codereview.chromium.org/2889453004/diff/100001/chrome/browser/ui/view...
chrome/browser/ui/views/payments/payment_request_views_util.cc:249:
card_icon_view->SetBorder(views::CreateRoundedRectBorder(
are you sure that there shouldn't be a corresponding //ios/chrome change?

Powered by Google App Engine
This is Rietveld 408576698