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

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

Issue 62873007: [Toolbar] Base toolbar button class with background images for button states (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add home button Created 7 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 | Annotate | Revision Log
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 837 matching lines...) Expand 10 before | Expand all | Expand 10 after
848 <structure type="chrome_scaled_image" name="IDR_QUESTION_MARK" file="commo n/question_mark.png" /> 848 <structure type="chrome_scaled_image" name="IDR_QUESTION_MARK" file="commo n/question_mark.png" />
849 <structure type="chrome_scaled_image" name="IDR_PROFILE_SELECTED" file="co mmon/profile_selected.png" /> 849 <structure type="chrome_scaled_image" name="IDR_PROFILE_SELECTED" file="co mmon/profile_selected.png" />
850 <structure type="chrome_scaled_image" name="IDR_REGISTER_PROTOCOL_HANDLER" file="register_protocol_handler.png" /> 850 <structure type="chrome_scaled_image" name="IDR_REGISTER_PROTOCOL_HANDLER" file="register_protocol_handler.png" />
851 <if expr="not pp_ifdef('toolkit_views') and not is_macosx and not is_ios"> 851 <if expr="not pp_ifdef('toolkit_views') and not is_macosx and not is_ios">
852 <structure type="chrome_scaled_image" name="IDR_RELOAD" file="reload.png " /> 852 <structure type="chrome_scaled_image" name="IDR_RELOAD" file="reload.png " />
853 <structure type="chrome_scaled_image" name="IDR_RELOAD_H" file="reload_h over.png" /> 853 <structure type="chrome_scaled_image" name="IDR_RELOAD_H" file="reload_h over.png" />
854 <structure type="chrome_scaled_image" name="IDR_RELOAD_P" file="reload_p ressed.png" /> 854 <structure type="chrome_scaled_image" name="IDR_RELOAD_P" file="reload_p ressed.png" />
855 <structure type="chrome_scaled_image" name="IDR_RELOAD_DIMMED" file="rel oad_dimmed.png" /> 855 <structure type="chrome_scaled_image" name="IDR_RELOAD_DIMMED" file="rel oad_dimmed.png" />
856 </if> 856 </if>
857 <if expr="pp_ifdef('toolkit_views') or is_macosx or is_ios"> 857 <if expr="pp_ifdef('toolkit_views') or is_macosx or is_ios">
858 <structure type="chrome_scaled_image" name="IDR_RELOAD" file="common/bro wser_reload_normal.png" /> 858 <structure type="chrome_scaled_image" name="IDR_RELOAD" file="common/bro wser_reload_normal.png" />
Peter Kasting 2013/11/19 02:28:50 Are these old resources still referenced anywhere?
859 <structure type="chrome_scaled_image" name="IDR_RELOAD_D" file="common/b rowser_reload_disabled.png" /> 859 <structure type="chrome_scaled_image" name="IDR_RELOAD_D" file="common/b rowser_reload_disabled.png" />
860 <structure type="chrome_scaled_image" name="IDR_RELOAD_H" file="common/b rowser_reload_hover.png" /> 860 <structure type="chrome_scaled_image" name="IDR_RELOAD_H" file="common/b rowser_reload_hover.png" />
861 <structure type="chrome_scaled_image" name="IDR_RELOAD_P" file="common/b rowser_reload_pressed.png" /> 861 <structure type="chrome_scaled_image" name="IDR_RELOAD_P" file="common/b rowser_reload_pressed.png" />
862 <structure type="chrome_scaled_image" name="IDR_RELOAD_DIMMED" file="com mon/browser_reload_dimmed.png" /> 862 <structure type="chrome_scaled_image" name="IDR_RELOAD_DIMMED" file="com mon/browser_reload_dimmed.png" />
863 <structure type="chrome_scaled_image" name="IDR_RELOAD_INNER" file="comm on/browser_reload_inner_normal.png" />
864 <structure type="chrome_scaled_image" name="IDR_RELOAD_INNER_DIMMED" fil e="common/browser_reload_inner_dimmed.png" />
863 </if> 865 </if>
864 <structure type="chrome_scaled_image" name="IDR_RESTORE_BUTTON_MASK" file= "restore_button_mask.png" /> 866 <structure type="chrome_scaled_image" name="IDR_RESTORE_BUTTON_MASK" file= "restore_button_mask.png" />
865 <structure type="chrome_scaled_image" name="IDR_SAD_FAVICON" file="common/ favicon_sad_tab.png" /> 867 <structure type="chrome_scaled_image" name="IDR_SAD_FAVICON" file="common/ favicon_sad_tab.png" />
866 <structure type="chrome_scaled_image" name="IDR_SAD_TAB" file="sadtab.png" /> 868 <structure type="chrome_scaled_image" name="IDR_SAD_TAB" file="sadtab.png" />
867 <structure type="chrome_scaled_image" name="IDR_SAFEBROWSING_WARNING" file ="safebrowsing_warning.png" /> 869 <structure type="chrome_scaled_image" name="IDR_SAFEBROWSING_WARNING" file ="safebrowsing_warning.png" />
868 <structure type="chrome_scaled_image" name="IDR_SCREEN_CAPTURE_NOTIFICATIO N_GRIP" file="screen_capture_notification_grip.png" /> 870 <structure type="chrome_scaled_image" name="IDR_SCREEN_CAPTURE_NOTIFICATIO N_GRIP" file="screen_capture_notification_grip.png" />
869 <structure type="chrome_scaled_image" name="IDR_SCREENSHOT_NOTIFICATION_IC ON" file="common/notification_screenshot_icon.png" /> 871 <structure type="chrome_scaled_image" name="IDR_SCREENSHOT_NOTIFICATION_IC ON" file="common/notification_screenshot_icon.png" />
870 <structure type="chrome_scaled_image" name="IDR_SCRIPT_BUBBLE" file="commo n/favicon_extensions.png" /> 872 <structure type="chrome_scaled_image" name="IDR_SCRIPT_BUBBLE" file="commo n/favicon_extensions.png" />
871 <if expr="pp_ifdef('enable_settings_app')"> 873 <if expr="pp_ifdef('enable_settings_app')">
872 <structure type="chrome_scaled_image" name="IDR_SETTINGS_APP_ICON_128" f ile="settings_app_icon_128.png" /> 874 <structure type="chrome_scaled_image" name="IDR_SETTINGS_APP_ICON_128" f ile="settings_app_icon_128.png" />
873 <structure type="chrome_scaled_image" name="IDR_SETTINGS_APP_ICON_16" fi le="settings_app_icon_16.png" /> 875 <structure type="chrome_scaled_image" name="IDR_SETTINGS_APP_ICON_16" fi le="settings_app_icon_16.png" />
874 <structure type="chrome_scaled_image" name="IDR_SETTINGS_APP_ICON_32" fi le="settings_app_icon_32.png" /> 876 <structure type="chrome_scaled_image" name="IDR_SETTINGS_APP_ICON_32" fi le="settings_app_icon_32.png" />
875 <structure type="chrome_scaled_image" name="IDR_SETTINGS_APP_ICON_48" fi le="settings_app_icon_48.png" /> 877 <structure type="chrome_scaled_image" name="IDR_SETTINGS_APP_ICON_48" fi le="settings_app_icon_48.png" />
876 </if> 878 </if>
877 <structure type="chrome_scaled_image" name="IDR_SETTINGS_FAVICON" file="co mmon/favicon_settings.png" /> 879 <structure type="chrome_scaled_image" name="IDR_SETTINGS_FAVICON" file="co mmon/favicon_settings.png" />
880 <if expr="pp_ifdef('toolkit_views')">
881 <structure type="chrome_scaled_image" name="IDR_TOOLBAR_BUTTON_HOVER_TOP _LEFT" file="common/toolbar_button_hover_top_left.png" />
882 <structure type="chrome_scaled_image" name="IDR_TOOLBAR_BUTTON_HOVER_TOP " file="common/toolbar_button_hover_top.png" />
883 <structure type="chrome_scaled_image" name="IDR_TOOLBAR_BUTTON_HOVER_TOP _RIGHT" file="common/toolbar_button_hover_top_right.png" />
884 <structure type="chrome_scaled_image" name="IDR_TOOLBAR_BUTTON_HOVER_LEF T" file="common/toolbar_button_hover_left.png" />
885 <structure type="chrome_scaled_image" name="IDR_TOOLBAR_BUTTON_HOVER_CEN TER" file="common/toolbar_button_hover_center.png" />
886 <structure type="chrome_scaled_image" name="IDR_TOOLBAR_BUTTON_HOVER_RIG HT" file="common/toolbar_button_hover_right.png" />
887 <structure type="chrome_scaled_image" name="IDR_TOOLBAR_BUTTON_HOVER_BOT TOM_LEFT" file="common/toolbar_button_hover_bottom_left.png" />
888 <structure type="chrome_scaled_image" name="IDR_TOOLBAR_BUTTON_HOVER_BOT TOM" file="common/toolbar_button_hover_bottom.png" />
889 <structure type="chrome_scaled_image" name="IDR_TOOLBAR_BUTTON_HOVER_BOT TOM_RIGHT" file="common/toolbar_button_hover_bottom_right.png" />
890 <structure type="chrome_scaled_image" name="IDR_TOOLBAR_BUTTON_PRESSED_T OP_LEFT" file="common/toolbar_button_pressed_top_left.png" />
891 <structure type="chrome_scaled_image" name="IDR_TOOLBAR_BUTTON_PRESSED_T OP" file="common/toolbar_button_pressed_top.png" />
892 <structure type="chrome_scaled_image" name="IDR_TOOLBAR_BUTTON_PRESSED_T OP_RIGHT" file="common/toolbar_button_pressed_top_right.png" />
893 <structure type="chrome_scaled_image" name="IDR_TOOLBAR_BUTTON_PRESSED_L EFT" file="common/toolbar_button_pressed_left.png" />
894 <structure type="chrome_scaled_image" name="IDR_TOOLBAR_BUTTON_PRESSED_C ENTER" file="common/toolbar_button_pressed_center.png" />
895 <structure type="chrome_scaled_image" name="IDR_TOOLBAR_BUTTON_PRESSED_R IGHT" file="common/toolbar_button_pressed_right.png" />
896 <structure type="chrome_scaled_image" name="IDR_TOOLBAR_BUTTON_PRESSED_B OTTOM_LEFT" file="common/toolbar_button_pressed_bottom_left.png" />
897 <structure type="chrome_scaled_image" name="IDR_TOOLBAR_BUTTON_PRESSED_B OTTOM" file="common/toolbar_button_pressed_bottom.png" />
898 <structure type="chrome_scaled_image" name="IDR_TOOLBAR_BUTTON_PRESSED_B OTTOM_RIGHT" file="common/toolbar_button_pressed_bottom_right.png" />
899 </if>
878 <structure type="chrome_scaled_image" name="IDR_SPEECH_INPUT_MIC_EMPTY" fi le="common/speech_input_mic_empty.png" /> 900 <structure type="chrome_scaled_image" name="IDR_SPEECH_INPUT_MIC_EMPTY" fi le="common/speech_input_mic_empty.png" />
879 <structure type="chrome_scaled_image" name="IDR_SPEECH_INPUT_MIC_FULL" fil e="common/speech_input_mic_full.png" /> 901 <structure type="chrome_scaled_image" name="IDR_SPEECH_INPUT_MIC_FULL" fil e="common/speech_input_mic_full.png" />
880 <structure type="chrome_scaled_image" name="IDR_SPEECH_INPUT_MIC_MASK" fil e="common/speech_input_mic_mask.png" /> 902 <structure type="chrome_scaled_image" name="IDR_SPEECH_INPUT_MIC_MASK" fil e="common/speech_input_mic_mask.png" />
881 <structure type="chrome_scaled_image" name="IDR_SPEECH_INPUT_MIC_NOISE" fi le="common/speech_input_mic_noise.png" /> 903 <structure type="chrome_scaled_image" name="IDR_SPEECH_INPUT_MIC_NOISE" fi le="common/speech_input_mic_noise.png" />
882 <structure type="chrome_scaled_image" name="IDR_SPEECH_INPUT_SPINNER" file ="common/speech_input_spinner.png" /> 904 <structure type="chrome_scaled_image" name="IDR_SPEECH_INPUT_SPINNER" file ="common/speech_input_spinner.png" />
883 <if expr="pp_ifdef('chromeos')"> 905 <if expr="pp_ifdef('chromeos')">
884 <structure type="chrome_scaled_image" name="IDR_SPINNER" file="spinner.p ng" /> 906 <structure type="chrome_scaled_image" name="IDR_SPINNER" file="spinner.p ng" />
885 </if> 907 </if>
886 <structure type="chrome_scaled_image" name="IDR_SHARE" file="share.png" /> 908 <structure type="chrome_scaled_image" name="IDR_SHARE" file="share.png" />
887 <structure type="chrome_scaled_image" name="IDR_STAR" file="star.png" /> 909 <structure type="chrome_scaled_image" name="IDR_STAR" file="star.png" />
888 <structure type="chrome_scaled_image" name="IDR_STAR_LIT" file="star_lit.p ng" /> 910 <structure type="chrome_scaled_image" name="IDR_STAR_LIT" file="star_lit.p ng" />
889 <if expr="not pp_ifdef('toolkit_views') and not is_macosx and not is_ios"> 911 <if expr="not pp_ifdef('toolkit_views') and not is_macosx and not is_ios">
890 <structure type="chrome_scaled_image" name="IDR_STOP" file="stop.png" /> 912 <structure type="chrome_scaled_image" name="IDR_STOP" file="stop.png" />
891 <structure type="chrome_scaled_image" name="IDR_STOP_D" file="stop_disab led.png" /> 913 <structure type="chrome_scaled_image" name="IDR_STOP_D" file="stop_disab led.png" />
892 <structure type="chrome_scaled_image" name="IDR_STOP_H" file="stop_hover .png" /> 914 <structure type="chrome_scaled_image" name="IDR_STOP_H" file="stop_hover .png" />
893 <structure type="chrome_scaled_image" name="IDR_STOP_P" file="stop_press ed.png" /> 915 <structure type="chrome_scaled_image" name="IDR_STOP_P" file="stop_press ed.png" />
894 </if> 916 </if>
895 <if expr="pp_ifdef('toolkit_views') or is_macosx or is_ios"> 917 <if expr="pp_ifdef('toolkit_views') or is_macosx or is_ios">
896 <structure type="chrome_scaled_image" name="IDR_STOP" file="common/brows er_stop_normal.png" /> 918 <structure type="chrome_scaled_image" name="IDR_STOP" file="common/brows er_stop_normal.png" />
897 <structure type="chrome_scaled_image" name="IDR_STOP_D" file="common/bro wser_stop_disabled.png" /> 919 <structure type="chrome_scaled_image" name="IDR_STOP_D" file="common/bro wser_stop_disabled.png" />
898 <structure type="chrome_scaled_image" name="IDR_STOP_H" file="common/bro wser_stop_hover.png" /> 920 <structure type="chrome_scaled_image" name="IDR_STOP_H" file="common/bro wser_stop_hover.png" />
899 <structure type="chrome_scaled_image" name="IDR_STOP_P" file="common/bro wser_stop_pressed.png" /> 921 <structure type="chrome_scaled_image" name="IDR_STOP_P" file="common/bro wser_stop_pressed.png" />
922 <structure type="chrome_scaled_image" name="IDR_STOP_INNER" file="common /browser_stop_inner_normal.png" />
923 <structure type="chrome_scaled_image" name="IDR_STOP_INNER_D" file="comm on/browser_stop_inner_disabled.png" />
Peter Kasting 2013/11/19 02:28:50 Nit: Be consistent in naming with how you named th
Greg Billock 2013/11/20 00:59:03 Took this file out of this change -- new graphics
900 </if> 924 </if>
901 <if expr="pp_ifdef('chromeos')"> 925 <if expr="pp_ifdef('chromeos')">
902 <structure type="chrome_scaled_image" name="IDR_SUPERVISED_ILLUSTRATION_ START" file="cros/supervised_illustration_start.png" /> 926 <structure type="chrome_scaled_image" name="IDR_SUPERVISED_ILLUSTRATION_ START" file="cros/supervised_illustration_start.png" />
903 <structure type="chrome_scaled_image" name="IDR_SUPERVISED_ILLUSTRATION_ DONE" file="cros/supervised_illsutration_done.png" /> 927 <structure type="chrome_scaled_image" name="IDR_SUPERVISED_ILLUSTRATION_ DONE" file="cros/supervised_illsutration_done.png" />
904 </if> 928 </if>
905 <structure type="chrome_scaled_image" name="IDR_SUPERVISED_USER_PLACEHOLDE R" file="common/supervised_user_placeholder.png" /> 929 <structure type="chrome_scaled_image" name="IDR_SUPERVISED_USER_PLACEHOLDE R" file="common/supervised_user_placeholder.png" />
906 <if expr="not pp_ifdef('toolkit_views') and not is_macosx and not is_ios"> 930 <if expr="not pp_ifdef('toolkit_views') and not is_macosx and not is_ios">
907 <structure type="chrome_scaled_image" name="IDR_TAB_ACTIVE_CENTER" file= "tab_active_center.png" /> 931 <structure type="chrome_scaled_image" name="IDR_TAB_ACTIVE_CENTER" file= "tab_active_center.png" />
908 <structure type="chrome_scaled_image" name="IDR_TAB_ACTIVE_LEFT" file="t ab_active_left.png" /> 932 <structure type="chrome_scaled_image" name="IDR_TAB_ACTIVE_LEFT" file="t ab_active_left.png" />
909 <structure type="chrome_scaled_image" name="IDR_TAB_ACTIVE_RIGHT" file=" tab_active_right.png" /> 933 <structure type="chrome_scaled_image" name="IDR_TAB_ACTIVE_RIGHT" file=" tab_active_right.png" />
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
1114 <structure type="chrome_scaled_image" name="IDR_PEOPLE_SEARCH_ACTION_EMAIL " file="common/mail.png" /> 1138 <structure type="chrome_scaled_image" name="IDR_PEOPLE_SEARCH_ACTION_EMAIL " file="common/mail.png" />
1115 <structure type="chrome_scaled_image" name="IDR_PEOPLE_SEARCH_ACTION_EMAIL _HOVER" file="common/mail_hover.png" /> 1139 <structure type="chrome_scaled_image" name="IDR_PEOPLE_SEARCH_ACTION_EMAIL _HOVER" file="common/mail_hover.png" />
1116 <structure type="chrome_scaled_image" name="IDR_PEOPLE_SEARCH_ACTION_EMAIL _PRESSED" file="common/mail_pressed.png" /> 1140 <structure type="chrome_scaled_image" name="IDR_PEOPLE_SEARCH_ACTION_EMAIL _PRESSED" file="common/mail_pressed.png" />
1117 <structure type="chrome_scaled_image" name="IDR_PEOPLE_SEARCH_ACTION_CHAT" file="common/chat.png" /> 1141 <structure type="chrome_scaled_image" name="IDR_PEOPLE_SEARCH_ACTION_CHAT" file="common/chat.png" />
1118 <structure type="chrome_scaled_image" name="IDR_PEOPLE_SEARCH_ACTION_CHAT_ HOVER" file="common/chat_hover.png" /> 1142 <structure type="chrome_scaled_image" name="IDR_PEOPLE_SEARCH_ACTION_CHAT_ HOVER" file="common/chat_hover.png" />
1119 <structure type="chrome_scaled_image" name="IDR_PEOPLE_SEARCH_ACTION_CHAT_ PRESSED" file="common/chat_pressed.png" /> 1143 <structure type="chrome_scaled_image" name="IDR_PEOPLE_SEARCH_ACTION_CHAT_ PRESSED" file="common/chat_pressed.png" />
1120 1144
1121 </structures> 1145 </structures>
1122 </release> 1146 </release>
1123 </grit> 1147 </grit>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698