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"
13 // Create a mapping that identifies when a resource isn't being passed in.
14 DEFINE_RESOURCE_ID(0, 0)
17 DEFINE_RESOURCE_ID(IDR_PROTECTED_MEDIA_IDENTIFIER_INFOBAR_ICON
,
18 R
.drawable
.infobar_protected_media_identifier
)
19 DEFINE_RESOURCE_ID(IDR_GEOLOCATION_INFOBAR_ICON
, R
.drawable
.infobar_geolocation
)
20 DEFINE_RESOURCE_ID(IDR_INFOBAR_ALT_NAV_URL
, R
.drawable
.infobar_didyoumean
)
21 DEFINE_RESOURCE_ID(IDR_INFOBAR_AUTOFILL
, R
.drawable
.infobar_autofill
)
22 DEFINE_RESOURCE_ID(IDR_INFOBAR_AUTOLOGIN
, R
.drawable
.infobar_autologin
)
23 DEFINE_RESOURCE_ID(IDR_INFOBAR_COOKIE
, R
.drawable
.infobar_cookie
)
24 DEFINE_RESOURCE_ID(IDR_INFOBAR_DESKTOP_NOTIFICATIONS
,\
25 R
.drawable
.infobar_desktop_notifications
)
26 DEFINE_RESOURCE_ID(IDR_INFOBAR_INCOMPLETE
, R
.drawable
.infobar_incomplete
)
27 DEFINE_RESOURCE_ID(IDR_INFOBAR_MEDIA_STREAM_CAMERA
, R
.drawable
.infobar_camera
)
28 DEFINE_RESOURCE_ID(IDR_INFOBAR_MEDIA_STREAM_MIC
, R
.drawable
.infobar_microphone
)
29 DEFINE_RESOURCE_ID(IDR_INFOBAR_MULTIPLE_DOWNLOADS
,\
30 R
.drawable
.infobar_multiple_downloads
)
31 DEFINE_RESOURCE_ID(IDR_INFOBAR_PLUGIN_CRASHED
,\
32 R
.drawable
.infobar_plugin_crashed
)
33 DEFINE_RESOURCE_ID(IDR_INFOBAR_PLUGIN_INSTALL
, R
.drawable
.infobar_plugin
)
34 DEFINE_RESOURCE_ID(IDR_INFOBAR_RESTORE_SESSION
, R
.drawable
.infobar_restore
)
35 DEFINE_RESOURCE_ID(IDR_INFOBAR_SAVE_PASSWORD
, R
.drawable
.infobar_savepassword
)
36 DEFINE_RESOURCE_ID(IDR_INFOBAR_WARNING
, R
.drawable
.infobar_warning
)
37 DEFINE_RESOURCE_ID(IDR_INFOBAR_THEME
, R
.drawable
.infobar_theme
)
38 DEFINE_RESOURCE_ID(IDR_INFOBAR_TRANSLATE
, R
.drawable
.infobar_translate
)
39 DEFINE_RESOURCE_ID(IDR_BLOCKED_POPUPS
, R
.drawable
.infobar_blocked_popups
)
41 // WebsiteSettingsUI images.
42 DEFINE_RESOURCE_ID(IDR_PAGEINFO_ENTERPRISE_MANAGED
,\
43 R
.drawable
.pageinfo_enterprise_managed
)
44 DEFINE_RESOURCE_ID(IDR_PAGEINFO_BAD
, R
.drawable
.pageinfo_bad
)
45 DEFINE_RESOURCE_ID(IDR_PAGEINFO_GOOD
, R
.drawable
.pageinfo_good
)
46 DEFINE_RESOURCE_ID(IDR_PAGEINFO_INFO
, R
.drawable
.pageinfo_info
)
47 DEFINE_RESOURCE_ID(IDR_PAGEINFO_WARNING_MAJOR
,\
48 R
.drawable
.pageinfo_warning_major
)
49 DEFINE_RESOURCE_ID(IDR_PAGEINFO_WARNING_MINOR
,\
50 R
.drawable
.pageinfo_warning_minor
)
52 #endif // CHROME_BROWSER_ANDROID_RESOURCE_ID_H_