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

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

Issue 2385063005: Make PermissionRequest::GetIconId return different types (Closed)
Patch Set: android Created 4 years, 2 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
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 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 <if expr="chromeos"> 254 <if expr="chromeos">
255 <structure type="chrome_scaled_image" name="IDR_ICON_ADD_USER_WHITE" fil e="cros/icon_add_user_white.png" /> 255 <structure type="chrome_scaled_image" name="IDR_ICON_ADD_USER_WHITE" fil e="cros/icon_add_user_white.png" />
256 <structure type="chrome_scaled_image" name="IDR_ICON_MORE_VERT_WHITE" fi le="cros/icon_more_vert_white.png" /> 256 <structure type="chrome_scaled_image" name="IDR_ICON_MORE_VERT_WHITE" fi le="cros/icon_more_vert_white.png" />
257 <structure type="chrome_scaled_image" name="IDR_ICON_GUEST_WHITE" file=" cros/icon_guest_white.png" /> 257 <structure type="chrome_scaled_image" name="IDR_ICON_GUEST_WHITE" file=" cros/icon_guest_white.png" />
258 <structure type="chrome_scaled_image" name="IDR_ICON_POWER_WHITE" file=" cros/icon_power_white.png" /> 258 <structure type="chrome_scaled_image" name="IDR_ICON_POWER_WHITE" file=" cros/icon_power_white.png" />
259 </if> 259 </if>
260 <structure type="chrome_scaled_image" name="IDR_INFO" file="common/info_sm all.png" /> 260 <structure type="chrome_scaled_image" name="IDR_INFO" file="common/info_sm all.png" />
261 <structure type="chrome_scaled_image" name="IDR_INFOBAR_3D_BLOCKED" file=" common/infobar_3d_blocked.png" /> 261 <structure type="chrome_scaled_image" name="IDR_INFOBAR_3D_BLOCKED" file=" common/infobar_3d_blocked.png" />
262 <structure type="chrome_scaled_image" name="IDR_INFOBAR_MEDIA_STREAM_CAMER A" file="common/infobar_media_stream_camera.png" /> 262 <structure type="chrome_scaled_image" name="IDR_INFOBAR_MEDIA_STREAM_CAMER A" file="common/infobar_media_stream_camera.png" />
263 <structure type="chrome_scaled_image" name="IDR_INFOBAR_MEDIA_STREAM_MIC" file="common/infobar_media_stream_mic.png" /> 263 <structure type="chrome_scaled_image" name="IDR_INFOBAR_MEDIA_STREAM_MIC" file="common/infobar_media_stream_mic.png" />
264 <structure type="chrome_scaled_image" name="IDR_INFOBAR_MEDIA_STREAM_SCREE N" file="common/infobar_media_stream_screen_share.png" />
lshang 2016/10/11 12:26:57 Why removing these images?
Evan Stade 2016/10/12 15:12:35 they are no longer used. On desktop, we use vector
lshang 2016/10/13 05:03:10 Got it.
265 <if expr="is_android"> 264 <if expr="is_android">
266 <structure type="chrome_scaled_image" name="IDR_INFOBAR_SAVE_PASSWORD" f ile="common/infobar_save_password.png" /> 265 <structure type="chrome_scaled_image" name="IDR_INFOBAR_SAVE_PASSWORD" f ile="common/infobar_save_password.png" />
267 </if> 266 </if>
268 <if expr="is_macosx or is_android"> 267 <if expr="is_macosx or is_android">
269 <structure type="chrome_scaled_image" name="IDR_INFOBAR_TRANSLATE" file= "common/infobar_translate.png" /> 268 <structure type="chrome_scaled_image" name="IDR_INFOBAR_TRANSLATE" file= "common/infobar_translate.png" />
270 </if> 269 </if>
271 <structure type="chrome_scaled_image" name="IDR_INFOBAR_WARNING" file="com mon/infobar_warning.png" />
272 <structure type="chrome_scaled_image" name="IDR_INPUT_ALERT" file="common/ input_alert.png" /> 270 <structure type="chrome_scaled_image" name="IDR_INPUT_ALERT" file="common/ input_alert.png" />
273 <structure type="chrome_scaled_image" name="IDR_INPUT_ALERT_MENU" file="co mmon/input_alert_menu.png" /> 271 <structure type="chrome_scaled_image" name="IDR_INPUT_ALERT_MENU" file="co mmon/input_alert_menu.png" />
274 <if expr="is_macosx"> 272 <if expr="is_macosx">
275 <structure type="chrome_scaled_image" name="IDR_KEYWORD_SEARCH_MAGNIFIER " file="legacy/keyword_search_magnifier.png" /> 273 <structure type="chrome_scaled_image" name="IDR_KEYWORD_SEARCH_MAGNIFIER " file="legacy/keyword_search_magnifier.png" />
276 <structure type="chrome_scaled_image" name="IDR_LAPTOP_FAVICON" file="le gacy/favicon_laptop.png" /> 274 <structure type="chrome_scaled_image" name="IDR_LAPTOP_FAVICON" file="le gacy/favicon_laptop.png" />
277 <structure type="chrome_scaled_image" name="IDR_PHONE_FAVICON" file="leg acy/favicon_phone.png" /> 275 <structure type="chrome_scaled_image" name="IDR_PHONE_FAVICON" file="leg acy/favicon_phone.png" />
278 <structure type="chrome_scaled_image" name="IDR_TABLET_FAVICON" file="le gacy/favicon_tablet.png" /> 276 <structure type="chrome_scaled_image" name="IDR_TABLET_FAVICON" file="le gacy/favicon_tablet.png" />
279 </if> 277 </if>
280 <if expr="enable_service_discovery"> 278 <if expr="enable_service_discovery">
281 <structure type="chrome_scaled_image" name="IDR_LOCAL_DISCOVERY_CLOUDPRI NT_ICON" file="common/cloudprint.png" /> 279 <structure type="chrome_scaled_image" name="IDR_LOCAL_DISCOVERY_CLOUDPRI NT_ICON" file="common/cloudprint.png" />
(...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after
606 <structure type="chrome_scaled_image" name="IDR_AVATAR_THEMED_MAC_BUTTON _NORMAL_TOP_RIGHT" file="mac/avatar_button/sign_in_button_themed_top_right.png" /> 604 <structure type="chrome_scaled_image" name="IDR_AVATAR_THEMED_MAC_BUTTON _NORMAL_TOP_RIGHT" file="mac/avatar_button/sign_in_button_themed_top_right.png" />
607 </if> 605 </if>
608 <if expr="enable_app_list"> 606 <if expr="enable_app_list">
609 <structure type="chrome_scaled_image" name="IDR_PROFILE_PICTURE_LOADING" file="profile_loading.png" /> 607 <structure type="chrome_scaled_image" name="IDR_PROFILE_PICTURE_LOADING" file="profile_loading.png" />
610 </if> 608 </if>
611 <if expr="chromeos"> 609 <if expr="chromeos">
612 <structure type="chrome_scaled_image" name="IDR_RESET_WARNING" file="cro s/reset_warning.png" /> 610 <structure type="chrome_scaled_image" name="IDR_RESET_WARNING" file="cro s/reset_warning.png" />
613 </if> 611 </if>
614 <structure type="chrome_scaled_image" name="IDR_QUESTION_MARK" file="commo n/question_mark.png" /> 612 <structure type="chrome_scaled_image" name="IDR_QUESTION_MARK" file="commo n/question_mark.png" />
615 <structure type="chrome_scaled_image" name="IDR_PROFILE_SELECTED" file="co mmon/profile_selected.png" /> 613 <structure type="chrome_scaled_image" name="IDR_PROFILE_SELECTED" file="co mmon/profile_selected.png" />
616 <structure type="chrome_scaled_image" name="IDR_REGISTER_PROTOCOL_HANDLER" file="register_protocol_handler.png" />
617 <structure type="chrome_scaled_image" name="IDR_RESTORE_BUTTON_MASK" file= "common/restore_button_mask.png" /> 614 <structure type="chrome_scaled_image" name="IDR_RESTORE_BUTTON_MASK" file= "common/restore_button_mask.png" />
618 <if expr="is_macosx"> 615 <if expr="is_macosx">
619 <structure type="chrome_scaled_image" name="IDR_SAFEBROWSING_WARNING" fi le="legacy/safebrowsing_warning.png" /> 616 <structure type="chrome_scaled_image" name="IDR_SAFEBROWSING_WARNING" fi le="legacy/safebrowsing_warning.png" />
620 <structure type="chrome_scaled_image" name="IDR_SAVE_PASSWORD_ACTIVE" fi le="legacy/save_password_active.png" /> 617 <structure type="chrome_scaled_image" name="IDR_SAVE_PASSWORD_ACTIVE" fi le="legacy/save_password_active.png" />
621 <structure type="chrome_scaled_image" name="IDR_SAVE_PASSWORD_INACTIVE" file="legacy/save_password_inactive.png" /> 618 <structure type="chrome_scaled_image" name="IDR_SAVE_PASSWORD_INACTIVE" file="legacy/save_password_inactive.png" />
622 </if> 619 </if>
623 <structure type="chrome_scaled_image" name="IDR_SCREEN_CAPTURE_NOTIFICATIO N_GRIP" file="screen_capture_notification_grip.png" /> 620 <structure type="chrome_scaled_image" name="IDR_SCREEN_CAPTURE_NOTIFICATIO N_GRIP" file="screen_capture_notification_grip.png" />
624 <structure type="chrome_scaled_image" name="IDR_SCREENSHOT_NOTIFICATION_IC ON" file="common/notification_screenshot_icon.png" /> 621 <structure type="chrome_scaled_image" name="IDR_SCREENSHOT_NOTIFICATION_IC ON" file="common/notification_screenshot_icon.png" />
625 <if expr="chromeos"> 622 <if expr="chromeos">
626 <structure type="chrome_scaled_image" name="IDR_SECONDARY_USER_SETTINGS" file="cros/secondary_user_settings.png" /> 623 <structure type="chrome_scaled_image" name="IDR_SECONDARY_USER_SETTINGS" file="cros/secondary_user_settings.png" />
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
778 <structure type="chrome_scaled_image" name="IDR_WEBSTORE_ICON_32" file=" google_chrome/webstore_icon_32.png" /> 775 <structure type="chrome_scaled_image" name="IDR_WEBSTORE_ICON_32" file=" google_chrome/webstore_icon_32.png" />
779 </if> 776 </if>
780 <if expr="is_macosx"> 777 <if expr="is_macosx">
781 <structure type="chrome_scaled_image" name="IDR_ZOOM_MINUS" file="legacy /zoom_minus.png" /> 778 <structure type="chrome_scaled_image" name="IDR_ZOOM_MINUS" file="legacy /zoom_minus.png" />
782 <structure type="chrome_scaled_image" name="IDR_ZOOM_PLUS" file="legacy/ zoom_plus.png" /> 779 <structure type="chrome_scaled_image" name="IDR_ZOOM_PLUS" file="legacy/ zoom_plus.png" />
783 <structure type="chrome_scaled_image" name="IDR_ZOOM_NORMAL" file="legac y/zoom_reset.png" /> 780 <structure type="chrome_scaled_image" name="IDR_ZOOM_NORMAL" file="legac y/zoom_reset.png" />
784 </if> 781 </if>
785 </structures> 782 </structures>
786 </release> 783 </release>
787 </grit> 784 </grit>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698