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

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

Issue 18486007: Fix the misalignment on CrOS of the tab background images (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | 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 830 matching lines...) Expand 10 before | Expand all | Expand 10 after
841 <structure type="chrome_scaled_image" name="IDR_THEME_FRAME_INACTIVE_W IN" file="theme_frame_inactive.png" /> 841 <structure type="chrome_scaled_image" name="IDR_THEME_FRAME_INACTIVE_W IN" file="theme_frame_inactive.png" />
842 <structure type="chrome_scaled_image" name="IDR_THEME_FRAME_INCOGNITO_ WIN" file="theme_frame_incognito.png" /> 842 <structure type="chrome_scaled_image" name="IDR_THEME_FRAME_INCOGNITO_ WIN" file="theme_frame_incognito.png" />
843 <structure type="chrome_scaled_image" name="IDR_THEME_FRAME_INCOGNITO_ INACTIVE_WIN" file="theme_frame_incognito_inactive.png" /> 843 <structure type="chrome_scaled_image" name="IDR_THEME_FRAME_INCOGNITO_ INACTIVE_WIN" file="theme_frame_incognito_inactive.png" />
844 </if> 844 </if>
845 </if> 845 </if>
846 <structure type="chrome_scaled_image" name="IDR_THEME_FRAME_OVERLAY" file= "notused.png" /> 846 <structure type="chrome_scaled_image" name="IDR_THEME_FRAME_OVERLAY" file= "notused.png" />
847 <structure type="chrome_scaled_image" name="IDR_THEME_FRAME_OVERLAY_INACTI VE" file="notused.png" /> 847 <structure type="chrome_scaled_image" name="IDR_THEME_FRAME_OVERLAY_INACTI VE" file="notused.png" />
848 <structure type="chrome_scaled_image" name="IDR_THEME_NTP_ATTRIBUTION" fil e="notused.png" /> 848 <structure type="chrome_scaled_image" name="IDR_THEME_NTP_ATTRIBUTION" fil e="notused.png" />
849 <structure type="chrome_scaled_image" name="IDR_THEME_NTP_BACKGROUND" file ="common/ntp_background.png" /> 849 <structure type="chrome_scaled_image" name="IDR_THEME_NTP_BACKGROUND" file ="common/ntp_background.png" />
850 <structure type="chrome_scaled_image" name="IDR_THEME_NTP_BACKGROUND_WHITE " file="common/ntp_background_white.png" /> 850 <structure type="chrome_scaled_image" name="IDR_THEME_NTP_BACKGROUND_WHITE " file="common/ntp_background_white.png" />
851 <structure type="chrome_scaled_image" name="IDR_THEME_TAB_BACKGROUND_OVERL AY" file="notused.png" />
852 <structure type="chrome_scaled_image" name="IDR_THEME_TAB_BACKGROUND_INCOG NITO_OVERLAY" file="notused.png" />
853 <structure type="chrome_scaled_image" name="IDR_THEME_TAB_BACKGROUND_V_OVE RLAY" file="notused.png" />
851 <if expr="not pp_ifdef('use_ash') and not is_macosx"> 854 <if expr="not pp_ifdef('use_ash') and not is_macosx">
852 <structure type="chrome_scaled_image" name="IDR_THEME_TAB_BACKGROUND" fi le="theme_tab_background.png" /> 855 <structure type="chrome_scaled_image" name="IDR_THEME_TAB_BACKGROUND" fi le="theme_tab_background.png" />
853 <structure type="chrome_scaled_image" name="IDR_THEME_TAB_BACKGROUND_INC OGNITO" file="theme_tab_background_incognito.png" /> 856 <structure type="chrome_scaled_image" name="IDR_THEME_TAB_BACKGROUND_INC OGNITO" file="theme_tab_background_incognito.png" />
854 </if> 857 </if>
855 <if expr="pp_ifdef('use_ash')"> 858 <if expr="pp_ifdef('use_ash')">
856 <!-- Ash has gray tab backgrounds, Windows uses blue. --> 859 <!-- Ash has gray tab backgrounds, Windows uses blue. -->
857 <structure type="chrome_scaled_image" name="IDR_THEME_TAB_BACKGROUND" fi le="cros/theme_default_inactive.png" /> 860 <structure type="chrome_scaled_image" name="IDR_THEME_TAB_BACKGROUND" fi le="cros/theme_default_inactive.png" />
858 <structure type="chrome_scaled_image" name="IDR_THEME_TAB_BACKGROUND_INC OGNITO" file="cros/theme_default_inactive.png" /> 861 <structure type="chrome_scaled_image" name="IDR_THEME_TAB_BACKGROUND_INC OGNITO" file="cros/theme_default_inactive.png" />
859 <if expr="is_win"> 862 <if expr="is_win">
860 <structure type="chrome_scaled_image" name="IDR_THEME_TAB_BACKGROUND_W IN" file="theme_tab_background.png" /> 863 <structure type="chrome_scaled_image" name="IDR_THEME_TAB_BACKGROUND_W IN" file="theme_tab_background.png" />
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
969 <structure type="chrome_scaled_image" name="IDR_WEBSTORE_ICON_16" file=" google_chrome/webstore_icon_16.png" /> 972 <structure type="chrome_scaled_image" name="IDR_WEBSTORE_ICON_16" file=" google_chrome/webstore_icon_16.png" />
970 <structure type="chrome_scaled_image" name="IDR_WEBSTORE_ICON_24" file=" google_chrome/webstore_icon_24.png" /> 973 <structure type="chrome_scaled_image" name="IDR_WEBSTORE_ICON_24" file=" google_chrome/webstore_icon_24.png" />
971 <structure type="chrome_scaled_image" name="IDR_WEBSTORE_ICON_32" file=" google_chrome/webstore_icon_32.png" /> 974 <structure type="chrome_scaled_image" name="IDR_WEBSTORE_ICON_32" file=" google_chrome/webstore_icon_32.png" />
972 </if> 975 </if>
973 <structure type="chrome_scaled_image" name="IDR_ZOOM_MINUS" file="zoom_min us.png" /> 976 <structure type="chrome_scaled_image" name="IDR_ZOOM_MINUS" file="zoom_min us.png" />
974 <structure type="chrome_scaled_image" name="IDR_ZOOM_PLUS" file="zoom_plus .png" /> 977 <structure type="chrome_scaled_image" name="IDR_ZOOM_PLUS" file="zoom_plus .png" />
975 <structure type="chrome_scaled_image" name="IDR_ZOOM_NORMAL" file="zoom_re set.png" /> 978 <structure type="chrome_scaled_image" name="IDR_ZOOM_NORMAL" file="zoom_re set.png" />
976 </structures> 979 </structures>
977 </release> 980 </release>
978 </grit> 981 </grit>
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/themes/browser_theme_pack.cc » ('j') | chrome/browser/themes/browser_theme_pack.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698