OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // This file maps Chromium resource IDs to Android resource IDs. | 5 // This file maps Chromium resource IDs to Android resource IDs. |
6 | 6 |
7 // LINK_RESOURCE_ID is used for IDs that come from a .grd file. | 7 // LINK_RESOURCE_ID is used for IDs that come from a .grd file. |
8 #ifndef LINK_RESOURCE_ID | 8 #ifndef LINK_RESOURCE_ID |
9 #error "LINK_RESOURCE_ID should be defined before including this file" | 9 #error "LINK_RESOURCE_ID should be defined before including this file" |
10 #endif | 10 #endif |
(...skipping 24 matching lines...) Expand all Loading... |
35 DECLARE_RESOURCE_ID(IDR_ANDROID_INFOBAR_MIDI, R.drawable.infobar_midi) | 35 DECLARE_RESOURCE_ID(IDR_ANDROID_INFOBAR_MIDI, R.drawable.infobar_midi) |
36 DECLARE_RESOURCE_ID(IDR_ANDROID_INFOBAR_MULTIPLE_DOWNLOADS, | 36 DECLARE_RESOURCE_ID(IDR_ANDROID_INFOBAR_MULTIPLE_DOWNLOADS, |
37 R.drawable.infobar_multiple_downloads) | 37 R.drawable.infobar_multiple_downloads) |
38 DECLARE_RESOURCE_ID(IDR_ANDROID_INFOBAR_NOTIFICATIONS, | 38 DECLARE_RESOURCE_ID(IDR_ANDROID_INFOBAR_NOTIFICATIONS, |
39 R.drawable.infobar_desktop_notifications) | 39 R.drawable.infobar_desktop_notifications) |
40 DECLARE_RESOURCE_ID(IDR_ANDROID_INFOBAR_PREVIEWS, | 40 DECLARE_RESOURCE_ID(IDR_ANDROID_INFOBAR_PREVIEWS, |
41 R.drawable.infobar_chrome) | 41 R.drawable.infobar_chrome) |
42 DECLARE_RESOURCE_ID(IDR_ANDROID_INFOBAR_PROTECTED_MEDIA_IDENTIFIER, | 42 DECLARE_RESOURCE_ID(IDR_ANDROID_INFOBAR_PROTECTED_MEDIA_IDENTIFIER, |
43 R.drawable.infobar_protected_media_identifier) | 43 R.drawable.infobar_protected_media_identifier) |
44 DECLARE_RESOURCE_ID(IDR_ANDROID_INFOBAR_SUBRESOURCE_FILTERING, | 44 DECLARE_RESOURCE_ID(IDR_ANDROID_INFOBAR_SUBRESOURCE_FILTERING, |
45 R.drawable.infobar_subresource_filtering) | 45 R.drawable.infobar_chrome) |
46 DECLARE_RESOURCE_ID(IDR_ANDROID_INFOBAR_WARNING, R.drawable.infobar_warning) | 46 DECLARE_RESOURCE_ID(IDR_ANDROID_INFOBAR_WARNING, R.drawable.infobar_warning) |
47 | 47 |
48 // PageInfoUI images, used in ConnectionInfoPopup | 48 // PageInfoUI images, used in ConnectionInfoPopup |
49 // Good: | 49 // Good: |
50 LINK_RESOURCE_ID(IDR_PAGEINFO_GOOD, R.drawable.pageinfo_good) | 50 LINK_RESOURCE_ID(IDR_PAGEINFO_GOOD, R.drawable.pageinfo_good) |
51 // Warnings: | 51 // Warnings: |
52 LINK_RESOURCE_ID(IDR_PAGEINFO_WARNING_MINOR, R.drawable.pageinfo_warning) | 52 LINK_RESOURCE_ID(IDR_PAGEINFO_WARNING_MINOR, R.drawable.pageinfo_warning) |
53 // Bad: | 53 // Bad: |
54 LINK_RESOURCE_ID(IDR_PAGEINFO_BAD, R.drawable.pageinfo_bad) | 54 LINK_RESOURCE_ID(IDR_PAGEINFO_BAD, R.drawable.pageinfo_bad) |
55 // Should never occur, use warning just in case: | 55 // Should never occur, use warning just in case: |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 // PaymentRequest images. | 88 // PaymentRequest images. |
89 LINK_RESOURCE_ID(IDR_AUTOFILL_PR_AMEX, R.drawable.pr_amex) | 89 LINK_RESOURCE_ID(IDR_AUTOFILL_PR_AMEX, R.drawable.pr_amex) |
90 LINK_RESOURCE_ID(IDR_AUTOFILL_PR_DINERS, R.drawable.pr_dinersclub) | 90 LINK_RESOURCE_ID(IDR_AUTOFILL_PR_DINERS, R.drawable.pr_dinersclub) |
91 LINK_RESOURCE_ID(IDR_AUTOFILL_PR_DISCOVER, R.drawable.pr_discover) | 91 LINK_RESOURCE_ID(IDR_AUTOFILL_PR_DISCOVER, R.drawable.pr_discover) |
92 LINK_RESOURCE_ID(IDR_AUTOFILL_PR_GENERIC, R.drawable.pr_generic) | 92 LINK_RESOURCE_ID(IDR_AUTOFILL_PR_GENERIC, R.drawable.pr_generic) |
93 LINK_RESOURCE_ID(IDR_AUTOFILL_PR_JCB, R.drawable.pr_jcb) | 93 LINK_RESOURCE_ID(IDR_AUTOFILL_PR_JCB, R.drawable.pr_jcb) |
94 LINK_RESOURCE_ID(IDR_AUTOFILL_PR_MASTERCARD, R.drawable.pr_mc) | 94 LINK_RESOURCE_ID(IDR_AUTOFILL_PR_MASTERCARD, R.drawable.pr_mc) |
95 LINK_RESOURCE_ID(IDR_AUTOFILL_PR_MIR, R.drawable.pr_mir) | 95 LINK_RESOURCE_ID(IDR_AUTOFILL_PR_MIR, R.drawable.pr_mir) |
96 LINK_RESOURCE_ID(IDR_AUTOFILL_PR_UNIONPAY, R.drawable.pr_unionpay) | 96 LINK_RESOURCE_ID(IDR_AUTOFILL_PR_UNIONPAY, R.drawable.pr_unionpay) |
97 LINK_RESOURCE_ID(IDR_AUTOFILL_PR_VISA, R.drawable.pr_visa) | 97 LINK_RESOURCE_ID(IDR_AUTOFILL_PR_VISA, R.drawable.pr_visa) |
OLD | NEW |