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

Side by Side Diff: components/resources/autofill_scaled_resources.grdp

Issue 2577703002: Add credit card icons for the Payment Request UI. (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | components/resources/default_100_percent/autofill/pr_amex.png » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <?xml version="1.0" encoding="UTF-8"?> 1 <?xml version="1.0" encoding="UTF-8"?>
2 <grit-part> 2 <grit-part>
3 <structure type="chrome_scaled_image" name="IDR_AUTOFILL_CC_AMEX" file="autofi ll/amex.png" /> 3 <structure type="chrome_scaled_image" name="IDR_AUTOFILL_CC_AMEX" file="autofi ll/amex.png" />
4 <structure type="chrome_scaled_image" name="IDR_AUTOFILL_CC_DISCOVER" file="au tofill/discover.png" /> 4 <structure type="chrome_scaled_image" name="IDR_AUTOFILL_CC_DISCOVER" file="au tofill/discover.png" />
5 <structure type="chrome_scaled_image" name="IDR_AUTOFILL_CC_GENERIC" file="aut ofill/cc-generic.png" /> 5 <structure type="chrome_scaled_image" name="IDR_AUTOFILL_CC_GENERIC" file="aut ofill/cc-generic.png" />
6 <structure type="chrome_scaled_image" name="IDR_AUTOFILL_CC_MASTERCARD" file=" autofill/mastercard.png" /> 6 <structure type="chrome_scaled_image" name="IDR_AUTOFILL_CC_MASTERCARD" file=" autofill/mastercard.png" />
7 <structure type="chrome_scaled_image" name="IDR_AUTOFILL_CC_MIR" file="autofil l/mir.png" /> 7 <structure type="chrome_scaled_image" name="IDR_AUTOFILL_CC_MIR" file="autofil l/mir.png" />
8 <structure type="chrome_scaled_image" name="IDR_AUTOFILL_CC_VISA" file="autofi ll/visa.png" /> 8 <structure type="chrome_scaled_image" name="IDR_AUTOFILL_CC_VISA" file="autofi ll/visa.png" />
9 9
10 <!-- These are not used on desktop, only Android, so use a placeholder file. 10 <!-- These are not used on desktop, only Android, so use a placeholder file.
11 TODO(rouslan): Remove non-keyboard-accessory icon when keyboard 11 TODO(rouslan): Remove non-keyboard-accessory icon when keyboard
12 accessory becomes default on Android. --> 12 accessory becomes default on Android. -->
13 <if expr="is_android"> 13 <if expr="is_android">
14 <structure type="chrome_scaled_image" name="IDR_AUTOFILL_CC_SCAN_NEW" file=" autofill/cc-generic.png" /> 14 <structure type="chrome_scaled_image" name="IDR_AUTOFILL_CC_SCAN_NEW" file=" autofill/cc-generic.png" />
15 <structure type="chrome_scaled_image" name="IDR_AUTOFILL_CC_SCAN_NEW_KEYBOAR D_ACCESSORY" file="autofill/cc-generic.png" /> 15 <structure type="chrome_scaled_image" name="IDR_AUTOFILL_CC_SCAN_NEW_KEYBOAR D_ACCESSORY" file="autofill/cc-generic.png" />
16 <structure type="chrome_scaled_image" name="IDR_AUTOFILL_SETTINGS" file="aut ofill/cc-generic.png" /> 16 <structure type="chrome_scaled_image" name="IDR_AUTOFILL_SETTINGS" file="aut ofill/cc-generic.png" />
17 <structure type="chrome_scaled_image" name="IDR_AUTOFILL_HTTP_WARNING" file= "autofill/cc-generic.png" /> 17 <structure type="chrome_scaled_image" name="IDR_AUTOFILL_HTTP_WARNING" file= "autofill/cc-generic.png" />
18 <structure type="chrome_scaled_image" name="IDR_AUTOFILL_HTTPS_INVALID_WARNI NG" file="autofill/cc-generic.png" /> 18 <structure type="chrome_scaled_image" name="IDR_AUTOFILL_HTTPS_INVALID_WARNI NG" file="autofill/cc-generic.png" />
19 </if> 19 </if>
20 20
21 <!-- PaymentRequest image variants. 21 <!-- PaymentRequest image variants. -->
22 TODO(crbug.com/602666): Move the credit card icons into 22 <structure type="chrome_scaled_image" name="IDR_AUTOFILL_PR_AMEX" file="autofi ll/pr_amex.png" />
23 components/resources and refer to them here instead of the placeholder 23 <structure type="chrome_scaled_image" name="IDR_AUTOFILL_PR_DINERS" file="auto fill/pr_dinersclub.png" />
24 files so they can be used on platforms other than Android. --> 24 <structure type="chrome_scaled_image" name="IDR_AUTOFILL_PR_DISCOVER" file="au tofill/pr_discover.png" />
25 <structure type="chrome_scaled_image" name="IDR_AUTOFILL_PR_AMEX" file="autofi ll/cc-generic.png" /> 25 <structure type="chrome_scaled_image" name="IDR_AUTOFILL_PR_GENERIC" file="aut ofill/pr_generic.png" />
26 <structure type="chrome_scaled_image" name="IDR_AUTOFILL_PR_DINERS" file="auto fill/cc-generic.png" /> 26 <structure type="chrome_scaled_image" name="IDR_AUTOFILL_PR_JCB" file="autofil l/pr_jcb.png" />
27 <structure type="chrome_scaled_image" name="IDR_AUTOFILL_PR_DISCOVER" file="au tofill/cc-generic.png" /> 27 <structure type="chrome_scaled_image" name="IDR_AUTOFILL_PR_MASTERCARD" file=" autofill/pr_mc.png" />
28 <structure type="chrome_scaled_image" name="IDR_AUTOFILL_PR_GENERIC" file="aut ofill/cc-generic.png" /> 28 <structure type="chrome_scaled_image" name="IDR_AUTOFILL_PR_MIR" file="autofil l/pr_mir.png" />
29 <structure type="chrome_scaled_image" name="IDR_AUTOFILL_PR_JCB" file="autofil l/cc-generic.png" /> 29 <structure type="chrome_scaled_image" name="IDR_AUTOFILL_PR_UNIONPAY" file="au tofill/pr_unionpay.png" />
30 <structure type="chrome_scaled_image" name="IDR_AUTOFILL_PR_MASTERCARD" file=" autofill/cc-generic.png" /> 30 <structure type="chrome_scaled_image" name="IDR_AUTOFILL_PR_VISA" file="autofi ll/pr_visa.png" />
31 <structure type="chrome_scaled_image" name="IDR_AUTOFILL_PR_MIR" file="autofil l/cc-generic.png" />
32 <structure type="chrome_scaled_image" name="IDR_AUTOFILL_PR_UNIONPAY" file="au tofill/cc-generic.png" />
33 <structure type="chrome_scaled_image" name="IDR_AUTOFILL_PR_VISA" file="autofi ll/cc-generic.png" />
34 31
35 <structure type="chrome_scaled_image" name="IDR_CREDIT_CARD_CVC_HINT" file="au tofill/credit_card_cvc_hint.png" /> 32 <structure type="chrome_scaled_image" name="IDR_CREDIT_CARD_CVC_HINT" file="au tofill/credit_card_cvc_hint.png" />
36 <structure type="chrome_scaled_image" name="IDR_CREDIT_CARD_CVC_HINT_AMEX" fil e="autofill/credit_card_cvc_hint_amex.png" /> 33 <structure type="chrome_scaled_image" name="IDR_CREDIT_CARD_CVC_HINT_AMEX" fil e="autofill/credit_card_cvc_hint_amex.png" />
37 <if expr="is_ios or is_android"> 34 <if expr="is_ios or is_android">
38 <structure type="chrome_scaled_image" name="IDR_INFOBAR_AUTOFILL_CC" file="a utofill/infobar_autofill_cc.png" /> 35 <structure type="chrome_scaled_image" name="IDR_INFOBAR_AUTOFILL_CC" file="a utofill/infobar_autofill_cc.png" />
39 </if> 36 </if>
40 <if expr="is_macosx or is_ios"> 37 <if expr="is_macosx or is_ios">
41 <structure type="chrome_scaled_image" name="IDR_AUTOFILL_TOOLTIP_ICON" file= "autofill/autofill_tooltip_icon.png" /> 38 <structure type="chrome_scaled_image" name="IDR_AUTOFILL_TOOLTIP_ICON" file= "autofill/autofill_tooltip_icon.png" />
42 <structure type="chrome_scaled_image" name="IDR_AUTOFILL_TOOLTIP_ICON_H" fil e="autofill/autofill_tooltip_icon_hover.png" /> 39 <structure type="chrome_scaled_image" name="IDR_AUTOFILL_TOOLTIP_ICON_H" fil e="autofill/autofill_tooltip_icon_hover.png" />
43 </if> 40 </if>
44 </grit-part> 41 </grit-part>
OLDNEW
« no previous file with comments | « no previous file | components/resources/default_100_percent/autofill/pr_amex.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698