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

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

Issue 1197813002: Generate resource pak files for top chrome material design assets (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: re-upload Created 5 years, 5 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
« no previous file with comments | « chrome/app/theme/BUILD.gn ('k') | chrome/chrome_repack_chrome_material_100_percent.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
11 --> 11 -->
12 <grit latest_public_release="0" current_release="1"> 12 <grit latest_public_release="0" current_release="1">
13 <outputs> 13 <outputs>
14 <output filename="grit/theme_resources.h" type="rc_header" context="default_ 100_percent"> 14 <output filename="grit/theme_resources.h" type="rc_header" context="default_ 100_percent">
15 <emit emit_type='prepend'></emit> 15 <emit emit_type='prepend'></emit>
16 </output> 16 </output>
17 <output filename="grit/theme_resources_map.cc" type="resource_map_source" co ntext="default_100_percent" /> 17 <output filename="grit/theme_resources_map.cc" type="resource_map_source" co ntext="default_100_percent" />
18 <output filename="grit/theme_resources_map.h" type="resource_map_header" con text="default_100_percent" /> 18 <output filename="grit/theme_resources_map.h" type="resource_map_header" con text="default_100_percent" />
19 <output filename="theme_resources_100_percent.pak" type="data_package" conte xt="default_100_percent" /> 19 <output filename="theme_resources_100_percent.pak" type="data_package" conte xt="default_100_percent" />
20 <output filename="theme_resources_200_percent.pak" type="data_package" conte xt="default_200_percent" /> 20 <output filename="theme_resources_200_percent.pak" type="data_package" conte xt="default_200_percent" />
21 <output filename="theme_resources_300_percent.pak" type="data_package" conte xt="default_300_percent" /> 21 <output filename="theme_resources_300_percent.pak" type="data_package" conte xt="default_300_percent" />
22 <output filename="theme_resources_material_100_percent.pak" type="data_packa ge" context="material_100_percent" fallback_to_default_layout="false" />
23 <output filename="theme_resources_material_200_percent.pak" type="data_packa ge" context="material_200_percent" fallback_to_default_layout="false" />
22 </outputs> 24 </outputs>
23 <release seq="1"> 25 <release seq="1">
24 <structures fallback_to_low_resolution="true"> 26 <structures fallback_to_low_resolution="true">
25 <!-- KEEP THESE IN ALPHABETICAL ORDER! DO NOT ADD TO RANDOM PLACES JUST 27 <!-- KEEP THESE IN ALPHABETICAL ORDER! DO NOT ADD TO RANDOM PLACES JUST
26 BECAUSE YOUR RESOURCES ARE FUNCTIONALLY RELATED OR FALL UNDER THE 28 BECAUSE YOUR RESOURCES ARE FUNCTIONALLY RELATED OR FALL UNDER THE
27 SAME CONDITIONALS. --> 29 SAME CONDITIONALS. -->
28 <structure type="chrome_scaled_image" name="IDR_ACCESSED_COOKIES" file="co mmon/accessed_cookies.png" /> 30 <structure type="chrome_scaled_image" name="IDR_ACCESSED_COOKIES" file="co mmon/accessed_cookies.png" />
29 <structure type="chrome_scaled_image" name="IDR_ALERT_RED" file="common/al ert_red.png" /> 31 <structure type="chrome_scaled_image" name="IDR_ALERT_RED" file="common/al ert_red.png" />
30 <structure type="chrome_scaled_image" name="IDR_ALLOWED_CAMERA" file="comm on/allowed_camera.png" /> 32 <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" /> 33 <structure type="chrome_scaled_image" name="IDR_ALLOWED_DOWNLOADS" file="c ommon/allowed_downloads.png" />
(...skipping 986 matching lines...) Expand 10 before | Expand all | Expand 10 after
1018 <!-- People search images --> 1020 <!-- People search images -->
1019 <structure type="chrome_scaled_image" name="IDR_PEOPLE_SEARCH_ACTION_EMAIL " file="common/mail.png" /> 1021 <structure type="chrome_scaled_image" name="IDR_PEOPLE_SEARCH_ACTION_EMAIL " file="common/mail.png" />
1020 <structure type="chrome_scaled_image" name="IDR_PEOPLE_SEARCH_ACTION_EMAIL _HOVER" file="common/mail_hover.png" /> 1022 <structure type="chrome_scaled_image" name="IDR_PEOPLE_SEARCH_ACTION_EMAIL _HOVER" file="common/mail_hover.png" />
1021 <structure type="chrome_scaled_image" name="IDR_PEOPLE_SEARCH_ACTION_EMAIL _PRESSED" file="common/mail_pressed.png" /> 1023 <structure type="chrome_scaled_image" name="IDR_PEOPLE_SEARCH_ACTION_EMAIL _PRESSED" file="common/mail_pressed.png" />
1022 <structure type="chrome_scaled_image" name="IDR_PEOPLE_SEARCH_ACTION_CHAT" file="common/chat.png" /> 1024 <structure type="chrome_scaled_image" name="IDR_PEOPLE_SEARCH_ACTION_CHAT" file="common/chat.png" />
1023 <structure type="chrome_scaled_image" name="IDR_PEOPLE_SEARCH_ACTION_CHAT_ HOVER" file="common/chat_hover.png" /> 1025 <structure type="chrome_scaled_image" name="IDR_PEOPLE_SEARCH_ACTION_CHAT_ HOVER" file="common/chat_hover.png" />
1024 <structure type="chrome_scaled_image" name="IDR_PEOPLE_SEARCH_ACTION_CHAT_ PRESSED" file="common/chat_pressed.png" /> 1026 <structure type="chrome_scaled_image" name="IDR_PEOPLE_SEARCH_ACTION_CHAT_ PRESSED" file="common/chat_pressed.png" />
1025 </structures> 1027 </structures>
1026 </release> 1028 </release>
1027 </grit> 1029 </grit>
OLDNEW
« no previous file with comments | « chrome/app/theme/BUILD.gn ('k') | chrome/chrome_repack_chrome_material_100_percent.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698