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

Side by Side Diff: chrome/app/theme/theme_resources.grd

Issue 2458453002: [sensors] Add Permission guard to the generic sensor apis.
Patch Set: rebase + blink reformat Created 3 years, 8 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/generated_resources.grd ('k') | chrome/browser/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <?xml version="1.0" encoding="utf-8"?> 1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- This grd file contains images that are pre-scaled for device scale 2 <!-- This grd file contains images that are pre-scaled for device scale
3 factors. The image returned by |base::ResourceBundle::GetImageNamed| 3 factors. The image returned by |base::ResourceBundle::GetImageNamed|
4 will contain multiple |gfx:ImageSkiaReps| for each scale factors. The 4 will contain multiple |gfx:ImageSkiaReps| for each scale factors. The
5 |fallback_to_low_resolution| attribute controls behavior when 5 |fallback_to_low_resolution| attribute controls behavior when
6 an image file is missing for target scale factor. If true, chrome 6 an image file is missing for target scale factor. If true, chrome
7 will automatically scale the 1x image to the target scale factor. 7 will automatically scale the 1x image to the target scale factor.
8 If false, build will fail due to missing resources. This is 8 If false, build will fail due to missing resources. This is
9 currently set to true for all resources, but the default will 9 currently set to true for all resources, but the default will
10 become false in near future. 10 become false in near future.
(...skipping 16 matching lines...) Expand all
27 SAME CONDITIONALS. --> 27 SAME CONDITIONALS. -->
28 <structure type="chrome_scaled_image" name="IDR_ACCESSED_COOKIES" file="co mmon/accessed_cookies.png" /> 28 <structure type="chrome_scaled_image" name="IDR_ACCESSED_COOKIES" file="co mmon/accessed_cookies.png" />
29 <structure type="chrome_scaled_image" name="IDR_ALLOWED_BACKGROUND_SYNC" f ile="common/allowed_background_sync.png" /> 29 <structure type="chrome_scaled_image" name="IDR_ALLOWED_BACKGROUND_SYNC" f ile="common/allowed_background_sync.png" />
30 <structure type="chrome_scaled_image" name="IDR_ALLOWED_CAMERA" file="comm on/allowed_camera.png" /> 30 <structure type="chrome_scaled_image" name="IDR_ALLOWED_CAMERA" file="comm on/allowed_camera.png" />
31 <structure type="chrome_scaled_image" name="IDR_ALLOWED_DOWNLOADS" file="c ommon/allowed_downloads.png" /> 31 <structure type="chrome_scaled_image" name="IDR_ALLOWED_DOWNLOADS" file="c ommon/allowed_downloads.png" />
32 <structure type="chrome_scaled_image" name="IDR_ALLOWED_IMAGES" file="comm on/allowed_images.png" /> 32 <structure type="chrome_scaled_image" name="IDR_ALLOWED_IMAGES" file="comm on/allowed_images.png" />
33 <structure type="chrome_scaled_image" name="IDR_ALLOWED_JAVASCRIPT" file=" common/allowed_script.png" /> 33 <structure type="chrome_scaled_image" name="IDR_ALLOWED_JAVASCRIPT" file=" common/allowed_script.png" />
34 <structure type="chrome_scaled_image" name="IDR_ALLOWED_LOCATION" file="co mmon/allowed_location.png" /> 34 <structure type="chrome_scaled_image" name="IDR_ALLOWED_LOCATION" file="co mmon/allowed_location.png" />
35 <structure type="chrome_scaled_image" name="IDR_ALLOWED_MIC" file="common/ allowed_mic.png" /> 35 <structure type="chrome_scaled_image" name="IDR_ALLOWED_MIC" file="common/ allowed_mic.png" />
36 <structure type="chrome_scaled_image" name="IDR_ALLOWED_MIDI_SYSEX" file=" common/allowed_midi.png" /> 36 <structure type="chrome_scaled_image" name="IDR_ALLOWED_MIDI_SYSEX" file=" common/allowed_midi.png" />
37 <!-- TODO(riju) : Use sensors png when ready.
38 -->
39 <structure type="chrome_scaled_image" name="IDR_ALLOWED_SENSORS" file="com mon/allowed_midi.png" />
37 <structure type="chrome_scaled_image" name="IDR_ALLOWED_NOTIFICATION" file ="common/allowed_notifications.png" /> 40 <structure type="chrome_scaled_image" name="IDR_ALLOWED_NOTIFICATION" file ="common/allowed_notifications.png" />
38 <if expr="enable_plugins"> 41 <if expr="enable_plugins">
39 <structure type="chrome_scaled_image" name="IDR_ALLOWED_PLUGINS" file="c ommon/allowed_plugins.png" /> 42 <structure type="chrome_scaled_image" name="IDR_ALLOWED_PLUGINS" file="c ommon/allowed_plugins.png" />
40 </if> 43 </if>
41 <structure type="chrome_scaled_image" name="IDR_ALLOWED_POPUPS" file="comm on/allowed_popups.png" /> 44 <structure type="chrome_scaled_image" name="IDR_ALLOWED_POPUPS" file="comm on/allowed_popups.png" />
42 <structure type="chrome_scaled_image" name="IDR_ALLOWED_SUBRESOURCE_FILTER " file="common/allowed_subresource_filter.png" /> 45 <structure type="chrome_scaled_image" name="IDR_ALLOWED_SUBRESOURCE_FILTER " file="common/allowed_subresource_filter.png" />
43 <structure type="chrome_scaled_image" name="IDR_ALLOWED_USB" file="common/ allowed_usb.png" /> 46 <structure type="chrome_scaled_image" name="IDR_ALLOWED_USB" file="common/ allowed_usb.png" />
44 <if expr="enable_app_list and _google_chrome"> 47 <if expr="enable_app_list and _google_chrome">
45 <structure type="chrome_scaled_image" name="IDR_APP_LIST_GOOGLE_LOGO_VOI CE_SEARCH" file="google_chrome/google_logo_voice_search.png" /> 48 <structure type="chrome_scaled_image" name="IDR_APP_LIST_GOOGLE_LOGO_VOI CE_SEARCH" file="google_chrome/google_logo_voice_search.png" />
46 </if> 49 </if>
(...skipping 30 matching lines...) Expand all
77 <structure type="chrome_scaled_image" name="IDR_BLOCKED_BACKGROUND_SYNC" f ile="common/blocked_background_sync.png" /> 80 <structure type="chrome_scaled_image" name="IDR_BLOCKED_BACKGROUND_SYNC" f ile="common/blocked_background_sync.png" />
78 <structure type="chrome_scaled_image" name="IDR_BLOCKED_CAMERA" file="comm on/blocked_camera.png" /> 81 <structure type="chrome_scaled_image" name="IDR_BLOCKED_CAMERA" file="comm on/blocked_camera.png" />
79 <structure type="chrome_scaled_image" name="IDR_BLOCKED_COOKIES" file="com mon/blocked_cookies.png" /> 82 <structure type="chrome_scaled_image" name="IDR_BLOCKED_COOKIES" file="com mon/blocked_cookies.png" />
80 <structure type="chrome_scaled_image" name="IDR_BLOCKED_DOWNLOADS" file="c ommon/blocked_downloads.png" /> 83 <structure type="chrome_scaled_image" name="IDR_BLOCKED_DOWNLOADS" file="c ommon/blocked_downloads.png" />
81 <structure type="chrome_scaled_image" name="IDR_BLOCKED_EXTENSION_SCRIPT" file="common/blocked_extension_script.png" /> 84 <structure type="chrome_scaled_image" name="IDR_BLOCKED_EXTENSION_SCRIPT" file="common/blocked_extension_script.png" />
82 <structure type="chrome_scaled_image" name="IDR_BLOCKED_IMAGES" file="comm on/blocked_images.png" /> 85 <structure type="chrome_scaled_image" name="IDR_BLOCKED_IMAGES" file="comm on/blocked_images.png" />
83 <structure type="chrome_scaled_image" name="IDR_BLOCKED_JAVASCRIPT" file=" common/blocked_script.png" /> 86 <structure type="chrome_scaled_image" name="IDR_BLOCKED_JAVASCRIPT" file=" common/blocked_script.png" />
84 <structure type="chrome_scaled_image" name="IDR_BLOCKED_LOCATION" file="co mmon/blocked_location.png" /> 87 <structure type="chrome_scaled_image" name="IDR_BLOCKED_LOCATION" file="co mmon/blocked_location.png" />
85 <structure type="chrome_scaled_image" name="IDR_BLOCKED_MIC" file="common/ blocked_mic.png" /> 88 <structure type="chrome_scaled_image" name="IDR_BLOCKED_MIC" file="common/ blocked_mic.png" />
86 <structure type="chrome_scaled_image" name="IDR_BLOCKED_MIDI_SYSEX" file=" common/blocked_midi.png" /> 89 <structure type="chrome_scaled_image" name="IDR_BLOCKED_MIDI_SYSEX" file=" common/blocked_midi.png" />
90 <!--TODO(riju): Use sensors png when ready.
91 -->
92 <structure type="chrome_scaled_image" name="IDR_BLOCKED_SENSORS" file="com mon/blocked_midi.png" />
87 <structure type="chrome_scaled_image" name="IDR_BLOCKED_NOTIFICATION" file ="common/blocked_notifications.png" /> 93 <structure type="chrome_scaled_image" name="IDR_BLOCKED_NOTIFICATION" file ="common/blocked_notifications.png" />
88 <if expr="enable_plugins"> 94 <if expr="enable_plugins">
89 <structure type="chrome_scaled_image" name="IDR_BLOCKED_PLUGINS" file="c ommon/blocked_plugins.png" /> 95 <structure type="chrome_scaled_image" name="IDR_BLOCKED_PLUGINS" file="c ommon/blocked_plugins.png" />
90 </if> 96 </if>
91 <structure type="chrome_scaled_image" name="IDR_BLOCKED_POPUPS" file="comm on/blocked_popups.png" /> 97 <structure type="chrome_scaled_image" name="IDR_BLOCKED_POPUPS" file="comm on/blocked_popups.png" />
92 <structure type="chrome_scaled_image" name="IDR_BLOCKED_SUBRESOURCE_FILTER " file="common/blocked_subresource_filter.png" /> 98 <structure type="chrome_scaled_image" name="IDR_BLOCKED_SUBRESOURCE_FILTER " file="common/blocked_subresource_filter.png" />
93 <structure type="chrome_scaled_image" name="IDR_BLOCKED_USB" file="common/ blocked_usb.png" /> 99 <structure type="chrome_scaled_image" name="IDR_BLOCKED_USB" file="common/ blocked_usb.png" />
94 <if expr="chromeos"> 100 <if expr="chromeos">
95 <structure type="chrome_scaled_image" name="IDR_BLUETOOTH_KEYBOARD" file ="cros/bluetooth_pairing_keyboard.png" /> 101 <structure type="chrome_scaled_image" name="IDR_BLUETOOTH_KEYBOARD" file ="cros/bluetooth_pairing_keyboard.png" />
96 <structure type="chrome_scaled_image" name="IDR_BLUETOOTH_MOUSE" file="c ros/bluetooth_pairing_mouse.png" /> 102 <structure type="chrome_scaled_image" name="IDR_BLUETOOTH_MOUSE" file="c ros/bluetooth_pairing_mouse.png" />
(...skipping 441 matching lines...) Expand 10 before | Expand all | Expand 10 after
538 </if> 544 </if>
539 <if expr="_google_chrome"> 545 <if expr="_google_chrome">
540 <structure type="chrome_scaled_image" name="IDR_WEBSTORE_ICON" file="goo gle_chrome/webstore_icon.png" /> 546 <structure type="chrome_scaled_image" name="IDR_WEBSTORE_ICON" file="goo gle_chrome/webstore_icon.png" />
541 <structure type="chrome_scaled_image" name="IDR_WEBSTORE_ICON_16" file=" google_chrome/webstore_icon_16.png" /> 547 <structure type="chrome_scaled_image" name="IDR_WEBSTORE_ICON_16" file=" google_chrome/webstore_icon_16.png" />
542 <structure type="chrome_scaled_image" name="IDR_WEBSTORE_ICON_24" file=" google_chrome/webstore_icon_24.png" /> 548 <structure type="chrome_scaled_image" name="IDR_WEBSTORE_ICON_24" file=" google_chrome/webstore_icon_24.png" />
543 <structure type="chrome_scaled_image" name="IDR_WEBSTORE_ICON_32" file=" google_chrome/webstore_icon_32.png" /> 549 <structure type="chrome_scaled_image" name="IDR_WEBSTORE_ICON_32" file=" google_chrome/webstore_icon_32.png" />
544 </if> 550 </if>
545 </structures> 551 </structures>
546 </release> 552 </release>
547 </grit> 553 </grit>
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698