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

Side by Side Diff: chrome/browser/android/resource_id.h

Issue 2250223002: Add InfoBar delegate for previews (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 3 months 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
OLDNEW
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
35 // Android only infobars. 35 // Android only infobars.
36 DECLARE_RESOURCE_ID(IDR_ANDROID_INFOBAR_PROTECTED_MEDIA_IDENTIFIER, 36 DECLARE_RESOURCE_ID(IDR_ANDROID_INFOBAR_PROTECTED_MEDIA_IDENTIFIER,
37 R.drawable.infobar_protected_media_identifier) 37 R.drawable.infobar_protected_media_identifier)
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_GEOLOCATION, 40 DECLARE_RESOURCE_ID(IDR_ANDROID_INFOBAR_GEOLOCATION,
41 R.drawable.infobar_geolocation) 41 R.drawable.infobar_geolocation)
42 DECLARE_RESOURCE_ID(IDR_ANDROID_INFOBAR_FROZEN_TAB, R.drawable.infobar_restore) 42 DECLARE_RESOURCE_ID(IDR_ANDROID_INFOBAR_FROZEN_TAB, R.drawable.infobar_restore)
43 DECLARE_RESOURCE_ID(IDR_ANDROID_INFOBAR_SUBRESOURCE_FILTERING, 43 DECLARE_RESOURCE_ID(IDR_ANDROID_INFOBAR_SUBRESOURCE_FILTERING,
44 R.drawable.infobar_subresource_filtering) 44 R.drawable.infobar_subresource_filtering)
45 DECLARE_RESOURCE_ID(IDR_ANDROID_INFOBAR_PREVIEWS, R.drawable.infobar_previews)
45 46
46 // WebsiteSettingsUI images, used in ConnectionInfoPopup 47 // WebsiteSettingsUI images, used in ConnectionInfoPopup
47 // Good: 48 // Good:
48 LINK_RESOURCE_ID(IDR_PAGEINFO_GOOD, R.drawable.pageinfo_good) 49 LINK_RESOURCE_ID(IDR_PAGEINFO_GOOD, R.drawable.pageinfo_good)
49 // Warnings: 50 // Warnings:
50 LINK_RESOURCE_ID(IDR_PAGEINFO_WARNING_MINOR, R.drawable.pageinfo_warning) 51 LINK_RESOURCE_ID(IDR_PAGEINFO_WARNING_MINOR, R.drawable.pageinfo_warning)
51 // Bad: 52 // Bad:
52 LINK_RESOURCE_ID(IDR_PAGEINFO_BAD, R.drawable.pageinfo_bad) 53 LINK_RESOURCE_ID(IDR_PAGEINFO_BAD, R.drawable.pageinfo_bad)
53 // Should never occur, use warning just in case: 54 // Should never occur, use warning just in case:
54 // Enterprise managed: ChromeOS only. 55 // Enterprise managed: ChromeOS only.
(...skipping 21 matching lines...) Expand all
76 77
77 // PaymentRequest images. 78 // PaymentRequest images.
78 LINK_RESOURCE_ID(IDR_AUTOFILL_PR_AMEX, R.drawable.pr_amex) 79 LINK_RESOURCE_ID(IDR_AUTOFILL_PR_AMEX, R.drawable.pr_amex)
79 LINK_RESOURCE_ID(IDR_AUTOFILL_PR_DINERS, R.drawable.pr_dinersclub) 80 LINK_RESOURCE_ID(IDR_AUTOFILL_PR_DINERS, R.drawable.pr_dinersclub)
80 LINK_RESOURCE_ID(IDR_AUTOFILL_PR_DISCOVER, R.drawable.pr_discover) 81 LINK_RESOURCE_ID(IDR_AUTOFILL_PR_DISCOVER, R.drawable.pr_discover)
81 LINK_RESOURCE_ID(IDR_AUTOFILL_PR_GENERIC, R.drawable.pr_generic) 82 LINK_RESOURCE_ID(IDR_AUTOFILL_PR_GENERIC, R.drawable.pr_generic)
82 LINK_RESOURCE_ID(IDR_AUTOFILL_PR_JCB, R.drawable.pr_jcb) 83 LINK_RESOURCE_ID(IDR_AUTOFILL_PR_JCB, R.drawable.pr_jcb)
83 LINK_RESOURCE_ID(IDR_AUTOFILL_PR_MASTERCARD, R.drawable.pr_mc) 84 LINK_RESOURCE_ID(IDR_AUTOFILL_PR_MASTERCARD, R.drawable.pr_mc)
84 LINK_RESOURCE_ID(IDR_AUTOFILL_PR_UNIONPAY, R.drawable.pr_unionpay) 85 LINK_RESOURCE_ID(IDR_AUTOFILL_PR_UNIONPAY, R.drawable.pr_unionpay)
85 LINK_RESOURCE_ID(IDR_AUTOFILL_PR_VISA, R.drawable.pr_visa) 86 LINK_RESOURCE_ID(IDR_AUTOFILL_PR_VISA, R.drawable.pr_visa)
OLDNEW
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_io_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698