| OLD | NEW |
| 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. |
| 11 --> | 11 --> |
| 12 <grit latest_public_release="0" current_release="1" output_all_resource_defines=
"false"> | 12 <grit latest_public_release="0" current_release="1" output_all_resource_defines=
"false"> |
| 13 <outputs> | 13 <outputs> |
| 14 <output filename="grit/ios_theme_resources.h" type="rc_header" context="defa
ult_100_percent"> | 14 <output filename="grit/ios_theme_resources.h" type="rc_header" context="defa
ult_100_percent"> |
| 15 <emit emit_type='prepend'></emit> | 15 <emit emit_type='prepend'></emit> |
| 16 </output> | 16 </output> |
| 17 <output filename="grit/ios_theme_resources_map.cc" type="resource_map_source
" context="default_100_percent" /> | 17 <output filename="grit/ios_theme_resources_map.cc" type="resource_map_source
" context="default_100_percent" /> |
| 18 <output filename="grit/ios_theme_resources_map.h" type="resource_map_header"
context="default_100_percent" /> | 18 <output filename="grit/ios_theme_resources_map.h" type="resource_map_header"
context="default_100_percent" /> |
| 19 <output filename="ios_theme_resources_100_percent.pak" type="data_package" c
ontext="default_100_percent" /> | 19 <output filename="ios_theme_resources_100_percent.pak" type="data_package" c
ontext="default_100_percent" /> |
| 20 <output filename="ios_theme_resources_200_percent.pak" type="data_package" c
ontext="default_200_percent" /> | 20 <output filename="ios_theme_resources_200_percent.pak" type="data_package" c
ontext="default_200_percent" /> |
| 21 <output filename="ios_theme_resources_300_percent.pak" type="data_package" c
ontext="default_300_percent" /> | 21 <output filename="ios_theme_resources_300_percent.pak" type="data_package" c
ontext="default_300_percent" /> |
| 22 </outputs> | 22 </outputs> |
| 23 <release seq="1"> | 23 <release seq="1"> |
| 24 <structures fallback_to_low_resolution="true"> | 24 <structures fallback_to_low_resolution="true"> |
| 25 <!-- KEEP THESE IN ALPHABETICAL ORDER! DO NOT ADD TO RANDOM PLACES JUST | 25 <!-- KEEP THESE IN ALPHABETICAL ORDER! DO NOT ADD TO RANDOM PLACES JUST |
| 26 BECAUSE YOUR RESOURCES ARE FUNCTIONALLY RELATED OR FALL UNDER THE | 26 BECAUSE YOUR RESOURCES ARE FUNCTIONALLY RELATED OR FALL UNDER THE |
| 27 SAME CONDITIONALS. --> | 27 SAME CONDITIONALS. --> |
| 28 <!-- The toolbar button images are mapped from name/style/state |
| 29 combinations to the appropriate resource ID using a 3-dimensional |
| 30 array built with macros. For example, 'IDR_IOS_TOOLBAR_DARK_BACK' and |
| 31 its variations do not appear in code. Instead, a macro call is used, |
| 32 TOOLBAR_IDR_THREE_STATE(BACK), to add its variations to the array. |
| 33 The easiest way to find the use of a given resource ID: |
| 34 'git grep TOOLBAR_IDR_.*BACK' --> |
| 28 <structure type="chrome_scaled_image" name="IDR_IOS_INFOBAR_AUTOLOGIN" fil
e="infobar_autologin.png" /> | 35 <structure type="chrome_scaled_image" name="IDR_IOS_INFOBAR_AUTOLOGIN" fil
e="infobar_autologin.png" /> |
| 29 <structure type="chrome_scaled_image" name="IDR_IOS_INFOBAR_SAVE_PASSWORD"
file="infobar_save_password.png" /> | 36 <structure type="chrome_scaled_image" name="IDR_IOS_INFOBAR_SAVE_PASSWORD"
file="infobar_save_password.png" /> |
| 30 <structure type="chrome_scaled_image" name="IDR_IOS_INFOBAR_TRANSLATE" fil
e="infobar_translate.png" /> | 37 <structure type="chrome_scaled_image" name="IDR_IOS_INFOBAR_TRANSLATE" fil
e="infobar_translate.png" /> |
| 31 <structure type="chrome_scaled_image" name="IDR_IOS_LOCATION_BAR_HTTP" fil
e="omnibox_http.png" /> | 38 <structure type="chrome_scaled_image" name="IDR_IOS_LOCATION_BAR_HTTP" fil
e="omnibox_http.png" /> |
| 32 <structure type="chrome_scaled_image" name="IDR_IOS_OMNIBOX_HISTORY" file=
"omnibox_history.png" /> | 39 <structure type="chrome_scaled_image" name="IDR_IOS_OMNIBOX_HISTORY" file=
"omnibox_history.png" /> |
| 33 <structure type="chrome_scaled_image" name="IDR_IOS_OMNIBOX_HISTORY_INCOGN
ITO" file="omnibox_history_incognito.png" /> | 40 <structure type="chrome_scaled_image" name="IDR_IOS_OMNIBOX_HISTORY_INCOGN
ITO" file="omnibox_history_incognito.png" /> |
| 34 <structure type="chrome_scaled_image" name="IDR_IOS_OMNIBOX_HTTP" file="om
nibox_http.png" /> | 41 <structure type="chrome_scaled_image" name="IDR_IOS_OMNIBOX_HTTP" file="om
nibox_http.png" /> |
| 35 <structure type="chrome_scaled_image" name="IDR_IOS_OMNIBOX_HTTPS_INVALID"
file="omnibox_https_invalid.png" /> | 42 <structure type="chrome_scaled_image" name="IDR_IOS_OMNIBOX_HTTPS_INVALID"
file="omnibox_https_invalid.png" /> |
| 36 <structure type="chrome_scaled_image" name="IDR_IOS_OMNIBOX_HTTPS_POLICY_W
ARNING" file="controlled_setting_mandatory.png" /> | 43 <structure type="chrome_scaled_image" name="IDR_IOS_OMNIBOX_HTTPS_POLICY_W
ARNING" file="controlled_setting_mandatory.png" /> |
| 37 <structure type="chrome_scaled_image" name="IDR_IOS_OMNIBOX_HTTPS_VALID" f
ile="omnibox_https_valid.png" /> | 44 <structure type="chrome_scaled_image" name="IDR_IOS_OMNIBOX_HTTPS_VALID" f
ile="omnibox_https_valid.png" /> |
| 38 <structure type="chrome_scaled_image" name="IDR_IOS_OMNIBOX_HTTP_INCOGNITO
" file="omnibox_http_incognito.png" /> | 45 <structure type="chrome_scaled_image" name="IDR_IOS_OMNIBOX_HTTP_INCOGNITO
" file="omnibox_http_incognito.png" /> |
| 39 <structure type="chrome_scaled_image" name="IDR_IOS_OMNIBOX_SEARCH" file="
omnibox_search.png" /> | 46 <structure type="chrome_scaled_image" name="IDR_IOS_OMNIBOX_SEARCH" file="
omnibox_search.png" /> |
| 40 <structure type="chrome_scaled_image" name="IDR_IOS_OMNIBOX_SEARCH_INCOGNI
TO" file="omnibox_search_incognito.png" /> | 47 <structure type="chrome_scaled_image" name="IDR_IOS_OMNIBOX_SEARCH_INCOGNI
TO" file="omnibox_search_incognito.png" /> |
| 41 <structure type="chrome_scaled_image" name="IDR_IOS_OMNIBOX_STAR" file="om
nibox_star.png" /> | 48 <structure type="chrome_scaled_image" name="IDR_IOS_OMNIBOX_STAR" file="om
nibox_star.png" /> |
| 42 <structure type="chrome_scaled_image" name="IDR_IOS_OMNIBOX_STAR_INCOGNITO
" file="omnibox_star_incognito.png" /> | 49 <structure type="chrome_scaled_image" name="IDR_IOS_OMNIBOX_STAR_INCOGNITO
" file="omnibox_star_incognito.png" /> |
| 50 <structure type="chrome_scaled_image" name="IDR_IOS_TOOLBAR_DARK_BACK" fil
e="toolbar_dark_back.png" /> |
| 51 <structure type="chrome_scaled_image" name="IDR_IOS_TOOLBAR_DARK_BACK_DISA
BLED" file="toolbar_dark_back_disabled.png" /> |
| 52 <structure type="chrome_scaled_image" name="IDR_IOS_TOOLBAR_DARK_BACK_PRES
SED" file="toolbar_dark_back_pressed.png" /> |
| 53 <structure type="chrome_scaled_image" name="IDR_IOS_TOOLBAR_DARK_BACKGROUN
D" file="toolbar_dark_background.png" /> |
| 54 <structure type="chrome_scaled_image" name="IDR_IOS_TOOLBAR_DARK_FORWARD"
file="toolbar_dark_forward.png" /> |
| 55 <structure type="chrome_scaled_image" name="IDR_IOS_TOOLBAR_DARK_FORWARD_D
ISABLED" file="toolbar_dark_forward_disabled.png" /> |
| 56 <structure type="chrome_scaled_image" name="IDR_IOS_TOOLBAR_DARK_FORWARD_P
RESSED" file="toolbar_dark_forward_pressed.png" /> |
| 57 <structure type="chrome_scaled_image" name="IDR_IOS_TOOLBAR_DARK_OVERVIEW"
file="toolbar_dark_overview.png" /> |
| 58 <structure type="chrome_scaled_image" name="IDR_IOS_TOOLBAR_DARK_OVERVIEW_
DISABLED" file="toolbar_dark_overview_disabled.png" /> |
| 59 <structure type="chrome_scaled_image" name="IDR_IOS_TOOLBAR_DARK_OVERVIEW_
PRESSED" file="toolbar_dark_overview_pressed.png" /> |
| 60 <structure type="chrome_scaled_image" name="IDR_IOS_TOOLBAR_DARK_RELOAD" f
ile="toolbar_dark_reload.png" /> |
| 61 <structure type="chrome_scaled_image" name="IDR_IOS_TOOLBAR_DARK_RELOAD_DI
SABLED" file="toolbar_dark_reload_disabled.png" /> |
| 62 <structure type="chrome_scaled_image" name="IDR_IOS_TOOLBAR_DARK_RELOAD_PR
ESSED" file="toolbar_dark_reload_pressed.png" /> |
| 63 <structure type="chrome_scaled_image" name="IDR_IOS_TOOLBAR_DARK_SHARE" fi
le="toolbar_dark_share.png" /> |
| 64 <structure type="chrome_scaled_image" name="IDR_IOS_TOOLBAR_DARK_SHARE_DIS
ABLED" file="toolbar_dark_share_disabled.png" /> |
| 65 <structure type="chrome_scaled_image" name="IDR_IOS_TOOLBAR_DARK_SHARE_PRE
SSED" file="toolbar_dark_share_pressed.png" /> |
| 66 <structure type="chrome_scaled_image" name="IDR_IOS_TOOLBAR_DARK_STAR" fil
e="toolbar_dark_star.png" /> |
| 67 <structure type="chrome_scaled_image" name="IDR_IOS_TOOLBAR_DARK_STAR_PRES
SED" file="toolbar_dark_star_pressed.png" /> |
| 68 <structure type="chrome_scaled_image" name="IDR_IOS_TOOLBAR_DARK_STOP" fil
e="toolbar_dark_stop.png" /> |
| 69 <structure type="chrome_scaled_image" name="IDR_IOS_TOOLBAR_DARK_STOP_DISA
BLED" file="toolbar_dark_stop_disabled.png" /> |
| 70 <structure type="chrome_scaled_image" name="IDR_IOS_TOOLBAR_DARK_STOP_PRES
SED" file="toolbar_dark_stop_pressed.png" /> |
| 71 <structure type="chrome_scaled_image" name="IDR_IOS_TOOLBAR_DARK_TOOLS" fi
le="toolbar_dark_tools.png" /> |
| 72 <structure type="chrome_scaled_image" name="IDR_IOS_TOOLBAR_DARK_TOOLS_PRE
SSED" file="toolbar_dark_tools_pressed.png" /> |
| 73 <structure type="chrome_scaled_image" name="IDR_IOS_TOOLBAR_DARK_TTS" file
="toolbar_tts.png" /> |
| 74 <structure type="chrome_scaled_image" name="IDR_IOS_TOOLBAR_DARK_TTS_PRESS
ED" file="toolbar_tts_pressed.png" /> |
| 75 <structure type="chrome_scaled_image" name="IDR_IOS_TOOLBAR_DARK_VOICE" fi
le="toolbar_dark_voice.png" /> |
| 76 <structure type="chrome_scaled_image" name="IDR_IOS_TOOLBAR_DARK_VOICE_PRE
SSED" file="toolbar_dark_voice_pressed.png" /> |
| 77 <structure type="chrome_scaled_image" name="IDR_IOS_TOOLBAR_LIGHT_BACK" fi
le="toolbar_light_back.png" /> |
| 78 <structure type="chrome_scaled_image" name="IDR_IOS_TOOLBAR_LIGHT_BACK_DIS
ABLED" file="toolbar_light_back_disabled.png" /> |
| 79 <structure type="chrome_scaled_image" name="IDR_IOS_TOOLBAR_LIGHT_BACK_PRE
SSED" file="toolbar_light_back_pressed.png" /> |
| 80 <structure type="chrome_scaled_image" name="IDR_IOS_TOOLBAR_LIGHT_BACKGROU
ND" file="toolbar_light_background.png" /> |
| 81 <structure type="chrome_scaled_image" name="IDR_IOS_TOOLBAR_LIGHT_CALLINGA
PP" file="toolbar_light_callingapp.png" /> |
| 82 <structure type="chrome_scaled_image" name="IDR_IOS_TOOLBAR_LIGHT_CALLINGA
PP_PRESSED" file="toolbar_light_callingapp_pressed.png" /> |
| 83 <structure type="chrome_scaled_image" name="IDR_IOS_TOOLBAR_LIGHT_FORWARD"
file="toolbar_light_forward.png" /> |
| 84 <structure type="chrome_scaled_image" name="IDR_IOS_TOOLBAR_LIGHT_FORWARD_
DISABLED" file="toolbar_light_forward_disabled.png" /> |
| 85 <structure type="chrome_scaled_image" name="IDR_IOS_TOOLBAR_LIGHT_FORWARD_
PRESSED" file="toolbar_light_forward_pressed.png" /> |
| 86 <structure type="chrome_scaled_image" name="IDR_IOS_TOOLBAR_LIGHT_OVERVIEW
" file="toolbar_light_overview.png" /> |
| 87 <structure type="chrome_scaled_image" name="IDR_IOS_TOOLBAR_LIGHT_OVERVIEW
_DISABLED" file="toolbar_light_overview_disabled.png" /> |
| 88 <structure type="chrome_scaled_image" name="IDR_IOS_TOOLBAR_LIGHT_OVERVIEW
_PRESSED" file="toolbar_light_overview_pressed.png" /> |
| 89 <structure type="chrome_scaled_image" name="IDR_IOS_TOOLBAR_LIGHT_RELOAD"
file="toolbar_light_reload.png" /> |
| 90 <structure type="chrome_scaled_image" name="IDR_IOS_TOOLBAR_LIGHT_SHARE" f
ile="toolbar_light_share.png" /> |
| 91 <structure type="chrome_scaled_image" name="IDR_IOS_TOOLBAR_LIGHT_SHARE_DI
SABLED" file="toolbar_light_share_disabled.png" /> |
| 92 <structure type="chrome_scaled_image" name="IDR_IOS_TOOLBAR_LIGHT_SHARE_PR
ESSED" file="toolbar_light_share_pressed.png" /> |
| 93 <structure type="chrome_scaled_image" name="IDR_IOS_TOOLBAR_LIGHT_RELOAD_D
ISABLED" file="toolbar_light_reload_disabled.png" /> |
| 94 <structure type="chrome_scaled_image" name="IDR_IOS_TOOLBAR_LIGHT_RELOAD_P
RESSED" file="toolbar_light_reload_pressed.png" /> |
| 95 <structure type="chrome_scaled_image" name="IDR_IOS_TOOLBAR_LIGHT_STAR" fi
le="toolbar_light_star.png" /> |
| 96 <structure type="chrome_scaled_image" name="IDR_IOS_TOOLBAR_LIGHT_STAR_PRE
SSED" file="toolbar_light_star_pressed.png" /> |
| 97 <structure type="chrome_scaled_image" name="IDR_IOS_TOOLBAR_LIGHT_STOP" fi
le="toolbar_light_stop.png" /> |
| 98 <structure type="chrome_scaled_image" name="IDR_IOS_TOOLBAR_LIGHT_STOP_DIS
ABLED" file="toolbar_light_stop_disabled.png" /> |
| 99 <structure type="chrome_scaled_image" name="IDR_IOS_TOOLBAR_LIGHT_STOP_PRE
SSED" file="toolbar_light_stop_pressed.png" /> |
| 100 <structure type="chrome_scaled_image" name="IDR_IOS_TOOLBAR_LIGHT_TOOLS" f
ile="toolbar_light_tools.png" /> |
| 101 <structure type="chrome_scaled_image" name="IDR_IOS_TOOLBAR_LIGHT_TOOLS_PR
ESSED" file="toolbar_light_tools_pressed.png" /> |
| 102 <structure type="chrome_scaled_image" name="IDR_IOS_TOOLBAR_LIGHT_TTS" fil
e="toolbar_tts.png" /> |
| 103 <structure type="chrome_scaled_image" name="IDR_IOS_TOOLBAR_LIGHT_TTS_PRES
SED" file="toolbar_tts_pressed.png" /> |
| 104 <structure type="chrome_scaled_image" name="IDR_IOS_TOOLBAR_LIGHT_VOICE" f
ile="toolbar_light_voice.png" /> |
| 105 <structure type="chrome_scaled_image" name="IDR_IOS_TOOLBAR_LIGHT_VOICE_PR
ESSED" file="toolbar_light_voice_pressed.png" /> |
| 106 <structure type="chrome_scaled_image" name="IDR_IOS_TOOLBAR_SHADOW" file="
toolbar_shadow.png" /> |
| 107 <structure type="chrome_scaled_image" name="IDR_IOS_TOOLBAR_SHADOW_FULL_BL
EED" file="toolbar_shadow_full_bleed.png" /> |
| 43 </structures> | 108 </structures> |
| 44 </release> | 109 </release> |
| 45 </grit> | 110 </grit> |
| OLD | NEW |