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

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

Issue 1505223004: Do not use assets for Ash window control button backgrounds (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ash layout constants file added Created 5 years 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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 <structure type="chrome_scaled_image" name="IDR_APP_WINDOW_MAXIMIZE_D" f ile="common/app_window_maximize_disabled.png" /> 70 <structure type="chrome_scaled_image" name="IDR_APP_WINDOW_MAXIMIZE_D" f ile="common/app_window_maximize_disabled.png" />
71 <structure type="chrome_scaled_image" name="IDR_APP_WINDOW_MAXIMIZE_H" f ile="common/app_window_maximize_hover.png" /> 71 <structure type="chrome_scaled_image" name="IDR_APP_WINDOW_MAXIMIZE_H" f ile="common/app_window_maximize_hover.png" />
72 <structure type="chrome_scaled_image" name="IDR_APP_WINDOW_MAXIMIZE_L" f ile="common/app_window_maximize_light.png" /> 72 <structure type="chrome_scaled_image" name="IDR_APP_WINDOW_MAXIMIZE_L" f ile="common/app_window_maximize_light.png" />
73 <structure type="chrome_scaled_image" name="IDR_APP_WINDOW_MAXIMIZE_P" f ile="common/app_window_maximize_active.png" /> 73 <structure type="chrome_scaled_image" name="IDR_APP_WINDOW_MAXIMIZE_P" f ile="common/app_window_maximize_active.png" />
74 <structure type="chrome_scaled_image" name="IDR_APP_WINDOW_MINIMIZE" fil e="common/app_window_minimize.png" /> 74 <structure type="chrome_scaled_image" name="IDR_APP_WINDOW_MINIMIZE" fil e="common/app_window_minimize.png" />
75 <structure type="chrome_scaled_image" name="IDR_APP_WINDOW_MINIMIZE_H" f ile="common/app_window_minimize_hover.png" /> 75 <structure type="chrome_scaled_image" name="IDR_APP_WINDOW_MINIMIZE_H" f ile="common/app_window_minimize_hover.png" />
76 <structure type="chrome_scaled_image" name="IDR_APP_WINDOW_MINIMIZE_L" f ile="common/app_window_minimize_light.png" /> 76 <structure type="chrome_scaled_image" name="IDR_APP_WINDOW_MINIMIZE_L" f ile="common/app_window_minimize_light.png" />
77 <structure type="chrome_scaled_image" name="IDR_APP_WINDOW_MINIMIZE_P" f ile="common/app_window_minimize_active.png" /> 77 <structure type="chrome_scaled_image" name="IDR_APP_WINDOW_MINIMIZE_P" f ile="common/app_window_minimize_active.png" />
78 </if> 78 </if>
79 <if expr="use_ash"> 79 <if expr="use_ash">
80 <structure type="chrome_scaled_image" name="IDR_ASH_BROWSER_WINDOW_CONTR OL_BACKGROUND_MAXIMIZED_H" file="common/ash/browser_window_control_background_ma ximized_hover.png" />
81 <structure type="chrome_scaled_image" name="IDR_ASH_BROWSER_WINDOW_CONTR OL_BACKGROUND_MAXIMIZED_P" file="common/ash/browser_window_control_background_ma ximized_pressed.png" />
82 <structure type="chrome_scaled_image" name="IDR_ASH_BROWSER_WINDOW_CONTR OL_BACKGROUND_RESTORED_H" file="common/ash/browser_window_control_background_res tored_hover.png" />
83 <structure type="chrome_scaled_image" name="IDR_ASH_BROWSER_WINDOW_CONTR OL_BACKGROUND_RESTORED_P" file="common/ash/browser_window_control_background_res tored_pressed.png" />
84 <structure type="chrome_scaled_image" name="IDR_ASH_BROWSER_WINDOW_HEADE R_SHADE_LEFT" file="common/ash/browser_window_header_shade_left.png" /> 80 <structure type="chrome_scaled_image" name="IDR_ASH_BROWSER_WINDOW_HEADE R_SHADE_LEFT" file="common/ash/browser_window_header_shade_left.png" />
85 <structure type="chrome_scaled_image" name="IDR_ASH_BROWSER_WINDOW_HEADE R_SHADE_RIGHT" file="common/ash/browser_window_header_shade_right.png" /> 81 <structure type="chrome_scaled_image" name="IDR_ASH_BROWSER_WINDOW_HEADE R_SHADE_RIGHT" file="common/ash/browser_window_header_shade_right.png" />
86 <structure type="chrome_scaled_image" name="IDR_ASH_BROWSER_WINDOW_HEADE R_SHADE_TOP" file="common/ash/browser_window_header_shade_top.png" /> 82 <structure type="chrome_scaled_image" name="IDR_ASH_BROWSER_WINDOW_HEADE R_SHADE_TOP" file="common/ash/browser_window_header_shade_top.png" />
87 <structure type="chrome_scaled_image" name="IDR_ASH_BROWSER_WINDOW_HEADE R_SHADE_TOP_LEFT" file="common/ash/browser_window_header_shade_top_left.png" /> 83 <structure type="chrome_scaled_image" name="IDR_ASH_BROWSER_WINDOW_HEADE R_SHADE_TOP_LEFT" file="common/ash/browser_window_header_shade_top_left.png" />
88 <structure type="chrome_scaled_image" name="IDR_ASH_BROWSER_WINDOW_HEADE R_SHADE_TOP_RIGHT" file="common/ash/browser_window_header_shade_top_right.png" / > 84 <structure type="chrome_scaled_image" name="IDR_ASH_BROWSER_WINDOW_HEADE R_SHADE_TOP_RIGHT" file="common/ash/browser_window_header_shade_top_right.png" / >
89 </if> 85 </if>
90 <structure type="chrome_scaled_image" name="IDR_AUTOFILL_DIALOG_MENU_BUTTO N" file="common/autofill_dialog_menu_button_normal.png" /> 86 <structure type="chrome_scaled_image" name="IDR_AUTOFILL_DIALOG_MENU_BUTTO N" file="common/autofill_dialog_menu_button_normal.png" />
91 <structure type="chrome_scaled_image" name="IDR_AUTOFILL_DIALOG_MENU_BUTTO N_P" file="common/autofill_dialog_menu_button_pressed.png" /> 87 <structure type="chrome_scaled_image" name="IDR_AUTOFILL_DIALOG_MENU_BUTTO N_P" file="common/autofill_dialog_menu_button_pressed.png" />
92 <structure type="chrome_scaled_image" name="IDR_AUTOFILL_DIALOG_MENU_BUTTO N_H" file="common/autofill_dialog_menu_button_hover.png" /> 88 <structure type="chrome_scaled_image" name="IDR_AUTOFILL_DIALOG_MENU_BUTTO N_H" file="common/autofill_dialog_menu_button_hover.png" />
93 <structure type="chrome_scaled_image" name="IDR_AUTOFILL_DIALOG_MENU_BUTTO N_D" file="common/autofill_dialog_menu_button_disabled.png" /> 89 <structure type="chrome_scaled_image" name="IDR_AUTOFILL_DIALOG_MENU_BUTTO N_D" file="common/autofill_dialog_menu_button_disabled.png" />
(...skipping 896 matching lines...) Expand 10 before | Expand all | Expand 10 after
990 <structure type="chrome_scaled_image" name="IDR_PEOPLE_SEARCH_ACTION_EMA IL" file="common/mail.png" /> 986 <structure type="chrome_scaled_image" name="IDR_PEOPLE_SEARCH_ACTION_EMA IL" file="common/mail.png" />
991 <structure type="chrome_scaled_image" name="IDR_PEOPLE_SEARCH_ACTION_EMA IL_HOVER" file="common/mail_hover.png" /> 987 <structure type="chrome_scaled_image" name="IDR_PEOPLE_SEARCH_ACTION_EMA IL_HOVER" file="common/mail_hover.png" />
992 <structure type="chrome_scaled_image" name="IDR_PEOPLE_SEARCH_ACTION_EMA IL_PRESSED" file="common/mail_pressed.png" /> 988 <structure type="chrome_scaled_image" name="IDR_PEOPLE_SEARCH_ACTION_EMA IL_PRESSED" file="common/mail_pressed.png" />
993 <structure type="chrome_scaled_image" name="IDR_PEOPLE_SEARCH_ACTION_CHA T" file="common/chat.png" /> 989 <structure type="chrome_scaled_image" name="IDR_PEOPLE_SEARCH_ACTION_CHA T" file="common/chat.png" />
994 <structure type="chrome_scaled_image" name="IDR_PEOPLE_SEARCH_ACTION_CHA T_HOVER" file="common/chat_hover.png" /> 990 <structure type="chrome_scaled_image" name="IDR_PEOPLE_SEARCH_ACTION_CHA T_HOVER" file="common/chat_hover.png" />
995 <structure type="chrome_scaled_image" name="IDR_PEOPLE_SEARCH_ACTION_CHA T_PRESSED" file="common/chat_pressed.png" /> 991 <structure type="chrome_scaled_image" name="IDR_PEOPLE_SEARCH_ACTION_CHA T_PRESSED" file="common/chat_pressed.png" />
996 </if> 992 </if>
997 </structures> 993 </structures>
998 </release> 994 </release>
999 </grit> 995 </grit>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698