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. 4 5 #ifndef CHROME_BROWSER_ANDROID_RESOURCE_ID_H_ 6 #define CHROME_BROWSER_ANDROID_RESOURCE_ID_H_ 7 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 12 13 // Create a mapping that identifies when a resource isn't being passed in. 14 DEFINE_RESOURCE_ID(0, 0) 15 16 // InfoBar resources. 17 DEFINE_RESOURCE_ID(IDR_INFOBAR_AUTOFILL_CC, R.drawable.infobar_autofill_cc) 18 DEFINE_RESOURCE_ID(IDR_INFOBAR_AUTOLOGIN,\ 19 R.drawable.infobar_savepassword_autologin) 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_autologin) 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 34 // WebsiteSettingsUI images. 35 DEFINE_RESOURCE_ID(IDR_PAGEINFO_ENTERPRISE_MANAGED,\ 36 R.drawable.pageinfo_enterprise_managed) 37 DEFINE_RESOURCE_ID(IDR_PAGEINFO_BAD, R.drawable.pageinfo_bad) 38 DEFINE_RESOURCE_ID(IDR_PAGEINFO_GOOD, R.drawable.pageinfo_good) 39 DEFINE_RESOURCE_ID(IDR_PAGEINFO_INFO, R.drawable.pageinfo_info) 40 DEFINE_RESOURCE_ID(IDR_PAGEINFO_WARNING_MAJOR,\ 41 R.drawable.pageinfo_warning_major) 42 DEFINE_RESOURCE_ID(IDR_PAGEINFO_WARNING_MINOR,\ 43 R.drawable.pageinfo_warning_minor) 44 45 #endif // CHROME_BROWSER_ANDROID_RESOURCE_ID_H_ 46