Popular sites on the NTP: check that experiment group StartsWith (rather than IS...
[chromium-blink-merge.git] / chrome / browser / android / resource_id.h
blob68c5e466b7910cc5f78ec9fd15bdd512611ab01c
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
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_ANDROID_RESOURCE_ID_H_
6 #define CHROME_BROWSER_ANDROID_RESOURCE_ID_H_
8 // This file maps Chromium resource IDs to Android resource IDs.
9 #ifndef DEFINE_RESOURCE_ID
10 #error "DEFINE_RESOURCE_ID should be defined before including this file"
11 #endif
13 // Create a mapping that identifies when a resource isn't being passed in.
14 DEFINE_RESOURCE_ID(0, 0)
16 // InfoBar resources.
17 DEFINE_RESOURCE_ID(IDR_INFOBAR_AUTOFILL_CC, R.drawable.infobar_autofill_cc)
18 DEFINE_RESOURCE_ID(IDR_INFOBAR_DESKTOP_NOTIFICATIONS,\
19 R.drawable.infobar_desktop_notifications)
20 DEFINE_RESOURCE_ID(IDR_INFOBAR_GEOLOCATION, R.drawable.infobar_geolocation)
21 DEFINE_RESOURCE_ID(IDR_INFOBAR_MEDIA_STREAM_CAMERA, R.drawable.infobar_camera)
22 DEFINE_RESOURCE_ID(IDR_INFOBAR_MEDIA_STREAM_MIC, R.drawable.infobar_microphone)
23 DEFINE_RESOURCE_ID(IDR_INFOBAR_MIDI, R.drawable.infobar_midi)
24 DEFINE_RESOURCE_ID(IDR_INFOBAR_MULTIPLE_DOWNLOADS,\
25 R.drawable.infobar_multiple_downloads)
26 DEFINE_RESOURCE_ID(IDR_INFOBAR_PROTECTED_MEDIA_IDENTIFIER,
27 R.drawable.infobar_protected_media_identifier)
28 DEFINE_RESOURCE_ID(IDR_INFOBAR_SAVE_PASSWORD,\
29 R.drawable.infobar_savepassword)
30 DEFINE_RESOURCE_ID(IDR_INFOBAR_WARNING, R.drawable.infobar_warning)
31 DEFINE_RESOURCE_ID(IDR_INFOBAR_TRANSLATE, R.drawable.infobar_translate)
32 DEFINE_RESOURCE_ID(IDR_BLOCKED_POPUPS, R.drawable.infobar_blocked_popups)
33 DEFINE_RESOURCE_ID(IDR_INFOBAR_FROZEN_TAB, R.drawable.infobar_restore)
34 DEFINE_RESOURCE_ID(IDR_INFOBAR_FULLSCREEN, R.drawable.infobar_fullscreen)
36 // WebsiteSettingsUI images, used in ConnectionInfoPopup
37 // Good:
38 DEFINE_RESOURCE_ID(IDR_PAGEINFO_GOOD, R.drawable.pageinfo_good)
39 // Warnings:
40 DEFINE_RESOURCE_ID(IDR_PAGEINFO_WARNING_MINOR,\
41 R.drawable.pageinfo_warning)
42 // Bad:
43 DEFINE_RESOURCE_ID(IDR_PAGEINFO_BAD, R.drawable.pageinfo_bad)
44 // Should never occur, use warning just in case:
45 // Enterprise managed: ChromeOS only.
46 DEFINE_RESOURCE_ID(IDR_PAGEINFO_ENTERPRISE_MANAGED,\
47 R.drawable.pageinfo_warning)
48 // Info: Only shown on chrome:// urls, which don't show the connection info
49 // popup.
50 DEFINE_RESOURCE_ID(IDR_PAGEINFO_INFO, R.drawable.pageinfo_warning)
51 // Major warning: Used on insecure pages, which don't show the connection info
52 // popup.
53 DEFINE_RESOURCE_ID(IDR_PAGEINFO_WARNING_MAJOR,\
54 R.drawable.pageinfo_warning)
56 // Autofill popup and keyboard accessory images.
57 DEFINE_RESOURCE_ID(IDR_AUTOFILL_CC_AMEX, R.drawable.amex_card)
58 DEFINE_RESOURCE_ID(IDR_AUTOFILL_CC_DISCOVER, R.drawable.discover_card)
59 DEFINE_RESOURCE_ID(IDR_AUTOFILL_CC_GENERIC, R.drawable.generic_card)
60 DEFINE_RESOURCE_ID(IDR_AUTOFILL_CC_MASTERCARD, R.drawable.mc_card)
61 DEFINE_RESOURCE_ID(IDR_AUTOFILL_CC_VISA, R.drawable.visa_card)
62 DEFINE_RESOURCE_ID(IDR_AUTOFILL_CC_SCAN_NEW, android.R.drawable.ic_menu_camera)
63 DEFINE_RESOURCE_ID(IDR_AUTOFILL_CC_SCAN_NEW_KEYBOARD_ACCESSORY,
64 org.chromium.chrome.R.drawable.ic_photo_camera)
65 DEFINE_RESOURCE_ID(IDR_CREDIT_CARD_CVC_HINT, R.drawable.cvc_icon)
66 DEFINE_RESOURCE_ID(IDR_CREDIT_CARD_CVC_HINT_AMEX, R.drawable.cvc_icon_amex)
67 DEFINE_RESOURCE_ID(IDR_AUTOFILL_SETTINGS,
68 org.chromium.chrome.R.drawable.ic_settings)
70 #endif // CHROME_BROWSER_ANDROID_RESOURCE_ID_H_