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

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

Issue 2458453002: [sensors] Add Permission guard to the generic sensor apis.
Patch Set: Created 4 years, 1 month 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
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 18 matching lines...) Expand all
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_FULLSCREEN" file=" common/allowed_fullscreen.png" /> 32 <structure type="chrome_scaled_image" name="IDR_ALLOWED_FULLSCREEN" file=" common/allowed_fullscreen.png" />
33 <structure type="chrome_scaled_image" name="IDR_ALLOWED_IMAGES" file="comm on/allowed_images.png" /> 33 <structure type="chrome_scaled_image" name="IDR_ALLOWED_IMAGES" file="comm on/allowed_images.png" />
34 <structure type="chrome_scaled_image" name="IDR_ALLOWED_JAVASCRIPT" file=" common/allowed_script.png" /> 34 <structure type="chrome_scaled_image" name="IDR_ALLOWED_JAVASCRIPT" file=" common/allowed_script.png" />
35 <structure type="chrome_scaled_image" name="IDR_ALLOWED_KEYGEN" file="comm on/allowed_keygen.png" /> 35 <structure type="chrome_scaled_image" name="IDR_ALLOWED_KEYGEN" file="comm on/allowed_keygen.png" />
36 <structure type="chrome_scaled_image" name="IDR_ALLOWED_LOCATION" file="co mmon/allowed_location.png" /> 36 <structure type="chrome_scaled_image" name="IDR_ALLOWED_LOCATION" file="co mmon/allowed_location.png" />
37 <structure type="chrome_scaled_image" name="IDR_ALLOWED_MIC" file="common/ allowed_mic.png" /> 37 <structure type="chrome_scaled_image" name="IDR_ALLOWED_MIC" file="common/ allowed_mic.png" />
38 <structure type="chrome_scaled_image" name="IDR_ALLOWED_MIDI_SYSEX" file=" common/allowed_midi.png" /> 38 <structure type="chrome_scaled_image" name="IDR_ALLOWED_MIDI_SYSEX" file=" common/allowed_midi.png" />
39 <!-- TODO(riju)
40 -->
41 <structure type="chrome_scaled_image" name="IDR_ALLOWED_SENSORS" file="com mon/allowed_midi.png" />
39 <structure type="chrome_scaled_image" name="IDR_ALLOWED_MOUSE_CURSOR" file ="common/allowed_mouse_cursor.png" /> 42 <structure type="chrome_scaled_image" name="IDR_ALLOWED_MOUSE_CURSOR" file ="common/allowed_mouse_cursor.png" />
40 <structure type="chrome_scaled_image" name="IDR_ALLOWED_NOTIFICATION" file ="common/allowed_notifications.png" /> 43 <structure type="chrome_scaled_image" name="IDR_ALLOWED_NOTIFICATION" file ="common/allowed_notifications.png" />
41 <if expr="enable_plugins"> 44 <if expr="enable_plugins">
42 <structure type="chrome_scaled_image" name="IDR_ALLOWED_PLUGINS" file="c ommon/allowed_plugins.png" /> 45 <structure type="chrome_scaled_image" name="IDR_ALLOWED_PLUGINS" file="c ommon/allowed_plugins.png" />
43 </if> 46 </if>
44 <structure type="chrome_scaled_image" name="IDR_ALLOWED_POPUPS" file="comm on/allowed_popups.png" /> 47 <structure type="chrome_scaled_image" name="IDR_ALLOWED_POPUPS" file="comm on/allowed_popups.png" />
45 <structure type="chrome_scaled_image" name="IDR_ALLOWED_USB" file="common/ allowed_usb.png" /> 48 <structure type="chrome_scaled_image" name="IDR_ALLOWED_USB" file="common/ allowed_usb.png" />
46 <if expr="enable_app_list and _google_chrome"> 49 <if expr="enable_app_list and _google_chrome">
47 <structure type="chrome_scaled_image" name="IDR_APP_LIST_GOOGLE_LOGO_VOI CE_SEARCH" file="google_chrome/google_logo_voice_search.png" /> 50 <structure type="chrome_scaled_image" name="IDR_APP_LIST_GOOGLE_LOGO_VOI CE_SEARCH" file="google_chrome/google_logo_voice_search.png" />
48 </if> 51 </if>
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 <structure type="chrome_scaled_image" name="IDR_BLOCKED_CAMERA" file="comm on/blocked_camera.png" /> 87 <structure type="chrome_scaled_image" name="IDR_BLOCKED_CAMERA" file="comm on/blocked_camera.png" />
85 <structure type="chrome_scaled_image" name="IDR_BLOCKED_COOKIES" file="com mon/blocked_cookies.png" /> 88 <structure type="chrome_scaled_image" name="IDR_BLOCKED_COOKIES" file="com mon/blocked_cookies.png" />
86 <structure type="chrome_scaled_image" name="IDR_BLOCKED_DOWNLOADS" file="c ommon/blocked_downloads.png" /> 89 <structure type="chrome_scaled_image" name="IDR_BLOCKED_DOWNLOADS" file="c ommon/blocked_downloads.png" />
87 <structure type="chrome_scaled_image" name="IDR_BLOCKED_EXTENSION_SCRIPT" file="common/blocked_extension_script.png" /> 90 <structure type="chrome_scaled_image" name="IDR_BLOCKED_EXTENSION_SCRIPT" file="common/blocked_extension_script.png" />
88 <structure type="chrome_scaled_image" name="IDR_BLOCKED_IMAGES" file="comm on/blocked_images.png" /> 91 <structure type="chrome_scaled_image" name="IDR_BLOCKED_IMAGES" file="comm on/blocked_images.png" />
89 <structure type="chrome_scaled_image" name="IDR_BLOCKED_JAVASCRIPT" file=" common/blocked_script.png" /> 92 <structure type="chrome_scaled_image" name="IDR_BLOCKED_JAVASCRIPT" file=" common/blocked_script.png" />
90 <structure type="chrome_scaled_image" name="IDR_BLOCKED_KEYGEN" file="comm on/blocked_keygen.png" /> 93 <structure type="chrome_scaled_image" name="IDR_BLOCKED_KEYGEN" file="comm on/blocked_keygen.png" />
91 <structure type="chrome_scaled_image" name="IDR_BLOCKED_LOCATION" file="co mmon/blocked_location.png" /> 94 <structure type="chrome_scaled_image" name="IDR_BLOCKED_LOCATION" file="co mmon/blocked_location.png" />
92 <structure type="chrome_scaled_image" name="IDR_BLOCKED_MIC" file="common/ blocked_mic.png" /> 95 <structure type="chrome_scaled_image" name="IDR_BLOCKED_MIC" file="common/ blocked_mic.png" />
93 <structure type="chrome_scaled_image" name="IDR_BLOCKED_MIDI_SYSEX" file=" common/blocked_midi.png" /> 96 <structure type="chrome_scaled_image" name="IDR_BLOCKED_MIDI_SYSEX" file=" common/blocked_midi.png" />
97 <!--TODO(riju): Use sensors png when ready
98 -->
99 <structure type="chrome_scaled_image" name="IDR_BLOCKED_SENSORS" file="com mon/blocked_midi.png" />
94 <structure type="chrome_scaled_image" name="IDR_BLOCKED_MOUSE_CURSOR" file ="common/blocked_mouse_cursor.png" /> 100 <structure type="chrome_scaled_image" name="IDR_BLOCKED_MOUSE_CURSOR" file ="common/blocked_mouse_cursor.png" />
95 <structure type="chrome_scaled_image" name="IDR_BLOCKED_NOTIFICATION" file ="common/blocked_notifications.png" /> 101 <structure type="chrome_scaled_image" name="IDR_BLOCKED_NOTIFICATION" file ="common/blocked_notifications.png" />
96 <if expr="enable_plugins"> 102 <if expr="enable_plugins">
97 <structure type="chrome_scaled_image" name="IDR_BLOCKED_PLUGINS" file="c ommon/blocked_plugins.png" /> 103 <structure type="chrome_scaled_image" name="IDR_BLOCKED_PLUGINS" file="c ommon/blocked_plugins.png" />
98 </if> 104 </if>
99 <structure type="chrome_scaled_image" name="IDR_BLOCKED_POPUPS" file="comm on/blocked_popups.png" /> 105 <structure type="chrome_scaled_image" name="IDR_BLOCKED_POPUPS" file="comm on/blocked_popups.png" />
100 <structure type="chrome_scaled_image" name="IDR_BLOCKED_USB" file="common/ blocked_usb.png" /> 106 <structure type="chrome_scaled_image" name="IDR_BLOCKED_USB" file="common/ blocked_usb.png" />
101 <if expr="chromeos"> 107 <if expr="chromeos">
102 <structure type="chrome_scaled_image" name="IDR_BLUETOOTH_KEYBOARD" file ="cros/bluetooth_pairing_keyboard.png" /> 108 <structure type="chrome_scaled_image" name="IDR_BLUETOOTH_KEYBOARD" file ="cros/bluetooth_pairing_keyboard.png" />
103 <structure type="chrome_scaled_image" name="IDR_BLUETOOTH_MOUSE" file="c ros/bluetooth_pairing_mouse.png" /> 109 <structure type="chrome_scaled_image" name="IDR_BLUETOOTH_MOUSE" file="c ros/bluetooth_pairing_mouse.png" />
(...skipping 583 matching lines...) Expand 10 before | Expand all | Expand 10 after
687 <structure type="chrome_scaled_image" name="IDR_WEBSTORE_ICON_32" file=" google_chrome/webstore_icon_32.png" /> 693 <structure type="chrome_scaled_image" name="IDR_WEBSTORE_ICON_32" file=" google_chrome/webstore_icon_32.png" />
688 </if> 694 </if>
689 <if expr="is_macosx"> 695 <if expr="is_macosx">
690 <structure type="chrome_scaled_image" name="IDR_ZOOM_MINUS" file="legacy /zoom_minus.png" /> 696 <structure type="chrome_scaled_image" name="IDR_ZOOM_MINUS" file="legacy /zoom_minus.png" />
691 <structure type="chrome_scaled_image" name="IDR_ZOOM_PLUS" file="legacy/ zoom_plus.png" /> 697 <structure type="chrome_scaled_image" name="IDR_ZOOM_PLUS" file="legacy/ zoom_plus.png" />
692 <structure type="chrome_scaled_image" name="IDR_ZOOM_NORMAL" file="legac y/zoom_reset.png" /> 698 <structure type="chrome_scaled_image" name="IDR_ZOOM_NORMAL" file="legac y/zoom_reset.png" />
693 </if> 699 </if>
694 </structures> 700 </structures>
695 </release> 701 </release>
696 </grit> 702 </grit>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698