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

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

Issue 2226123002: Android: add screen share icon for permission infobar (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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
« no previous file with comments | « chrome/app/theme/theme_resources.grd ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
11 // DECLARE_RESOURCE_ID is used for IDs that don't have .grd entries, and 11 // DECLARE_RESOURCE_ID is used for IDs that don't have .grd entries, and
12 // are only declared in this file. 12 // are only declared in this file.
13 #ifndef DECLARE_RESOURCE_ID 13 #ifndef DECLARE_RESOURCE_ID
14 #error "DECLARE_RESOURCE_ID should be defined before including this file" 14 #error "DECLARE_RESOURCE_ID should be defined before including this file"
15 #endif 15 #endif
16 16
17 // Create a mapping that identifies when a resource isn't being passed in. 17 // Create a mapping that identifies when a resource isn't being passed in.
18 LINK_RESOURCE_ID(0, 0) 18 LINK_RESOURCE_ID(0, 0)
19 19
20 // InfoBar resources. 20 // InfoBar resources.
21 LINK_RESOURCE_ID(IDR_INFOBAR_3D_BLOCKED, R.drawable.infobar_3d_blocked) 21 LINK_RESOURCE_ID(IDR_INFOBAR_3D_BLOCKED, R.drawable.infobar_3d_blocked)
22 LINK_RESOURCE_ID(IDR_INFOBAR_AUTOFILL_CC, R.drawable.infobar_autofill_cc) 22 LINK_RESOURCE_ID(IDR_INFOBAR_AUTOFILL_CC, R.drawable.infobar_autofill_cc)
23 LINK_RESOURCE_ID(IDR_INFOBAR_MEDIA_STREAM_CAMERA, R.drawable.infobar_camera) 23 LINK_RESOURCE_ID(IDR_INFOBAR_MEDIA_STREAM_CAMERA, R.drawable.infobar_camera)
24 LINK_RESOURCE_ID(IDR_INFOBAR_MEDIA_STREAM_MIC, R.drawable.infobar_microphone) 24 LINK_RESOURCE_ID(IDR_INFOBAR_MEDIA_STREAM_MIC, R.drawable.infobar_microphone)
25 LINK_RESOURCE_ID(IDR_INFOBAR_MEDIA_STREAM_SCREEN,
26 R.drawable.infobar_screen_share)
25 LINK_RESOURCE_ID(IDR_INFOBAR_MIDI, R.drawable.infobar_midi) 27 LINK_RESOURCE_ID(IDR_INFOBAR_MIDI, R.drawable.infobar_midi)
26 LINK_RESOURCE_ID(IDR_INFOBAR_MULTIPLE_DOWNLOADS, 28 LINK_RESOURCE_ID(IDR_INFOBAR_MULTIPLE_DOWNLOADS,
27 R.drawable.infobar_multiple_downloads) 29 R.drawable.infobar_multiple_downloads)
28 LINK_RESOURCE_ID(IDR_INFOBAR_SAVE_PASSWORD, R.drawable.infobar_savepassword) 30 LINK_RESOURCE_ID(IDR_INFOBAR_SAVE_PASSWORD, R.drawable.infobar_savepassword)
29 LINK_RESOURCE_ID(IDR_INFOBAR_WARNING, R.drawable.infobar_warning) 31 LINK_RESOURCE_ID(IDR_INFOBAR_WARNING, R.drawable.infobar_warning)
30 LINK_RESOURCE_ID(IDR_INFOBAR_TRANSLATE, R.drawable.infobar_translate) 32 LINK_RESOURCE_ID(IDR_INFOBAR_TRANSLATE, R.drawable.infobar_translate)
31 LINK_RESOURCE_ID(IDR_BLOCKED_POPUPS, R.drawable.infobar_blocked_popups) 33 LINK_RESOURCE_ID(IDR_BLOCKED_POPUPS, R.drawable.infobar_blocked_popups)
32 34
33 // Android only infobars. 35 // Android only infobars.
34 DECLARE_RESOURCE_ID(IDR_ANDROID_INFOBAR_PROTECTED_MEDIA_IDENTIFIER, 36 DECLARE_RESOURCE_ID(IDR_ANDROID_INFOBAR_PROTECTED_MEDIA_IDENTIFIER,
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 74
73 // PaymentRequest images. 75 // PaymentRequest images.
74 LINK_RESOURCE_ID(IDR_AUTOFILL_PR_AMEX, R.drawable.pr_amex) 76 LINK_RESOURCE_ID(IDR_AUTOFILL_PR_AMEX, R.drawable.pr_amex)
75 LINK_RESOURCE_ID(IDR_AUTOFILL_PR_DINERS, R.drawable.pr_dinersclub) 77 LINK_RESOURCE_ID(IDR_AUTOFILL_PR_DINERS, R.drawable.pr_dinersclub)
76 LINK_RESOURCE_ID(IDR_AUTOFILL_PR_DISCOVER, R.drawable.pr_discover) 78 LINK_RESOURCE_ID(IDR_AUTOFILL_PR_DISCOVER, R.drawable.pr_discover)
77 LINK_RESOURCE_ID(IDR_AUTOFILL_PR_GENERIC, R.drawable.pr_generic) 79 LINK_RESOURCE_ID(IDR_AUTOFILL_PR_GENERIC, R.drawable.pr_generic)
78 LINK_RESOURCE_ID(IDR_AUTOFILL_PR_JCB, R.drawable.pr_jcb) 80 LINK_RESOURCE_ID(IDR_AUTOFILL_PR_JCB, R.drawable.pr_jcb)
79 LINK_RESOURCE_ID(IDR_AUTOFILL_PR_MASTERCARD, R.drawable.pr_mc) 81 LINK_RESOURCE_ID(IDR_AUTOFILL_PR_MASTERCARD, R.drawable.pr_mc)
80 LINK_RESOURCE_ID(IDR_AUTOFILL_PR_UNIONPAY, R.drawable.pr_unionpay) 82 LINK_RESOURCE_ID(IDR_AUTOFILL_PR_UNIONPAY, R.drawable.pr_unionpay)
81 LINK_RESOURCE_ID(IDR_AUTOFILL_PR_VISA, R.drawable.pr_visa) 83 LINK_RESOURCE_ID(IDR_AUTOFILL_PR_VISA, R.drawable.pr_visa)
OLDNEW
« no previous file with comments | « chrome/app/theme/theme_resources.grd ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698