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

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

Issue 2368653002: Remove pre-MD code from browser/ui/views/tabs/tab.cc (Closed)
Patch Set: . Created 4 years, 2 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
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 647 matching lines...) Expand 10 before | Expand all | Expand 10 after
658 <structure type="chrome_scaled_image" name="IDR_STOP_H" file="common/bro wser_stop_hover.png" /> 658 <structure type="chrome_scaled_image" name="IDR_STOP_H" file="common/bro wser_stop_hover.png" />
659 <structure type="chrome_scaled_image" name="IDR_STOP_P" file="common/bro wser_stop_pressed.png" /> 659 <structure type="chrome_scaled_image" name="IDR_STOP_P" file="common/bro wser_stop_pressed.png" />
660 </if> 660 </if>
661 <if expr="chromeos"> 661 <if expr="chromeos">
662 <structure type="chrome_scaled_image" name="IDR_SUPERVISED_ILLUSTRATION_ START" file="cros/supervised_illustration_start.png" /> 662 <structure type="chrome_scaled_image" name="IDR_SUPERVISED_ILLUSTRATION_ START" file="cros/supervised_illustration_start.png" />
663 <structure type="chrome_scaled_image" name="IDR_SUPERVISED_ILLUSTRATION_ DONE" file="cros/supervised_illsutration_done.png" /> 663 <structure type="chrome_scaled_image" name="IDR_SUPERVISED_ILLUSTRATION_ DONE" file="cros/supervised_illsutration_done.png" />
664 <structure type="chrome_scaled_image" name="IDR_LOGO_AVATAR_CIRCLE_BLUE_ COLOR" file="cros/logo_avatar_circle_blue_color.png" /> 664 <structure type="chrome_scaled_image" name="IDR_LOGO_AVATAR_CIRCLE_BLUE_ COLOR" file="cros/logo_avatar_circle_blue_color.png" />
665 <structure type="chrome_scaled_image" name="IDR_LOGO_GOOGLE_COLOR_90" fi le="cros/logo_google_color_90.png" /> 665 <structure type="chrome_scaled_image" name="IDR_LOGO_GOOGLE_COLOR_90" fi le="cros/logo_google_color_90.png" />
666 </if> 666 </if>
667 <structure type="chrome_scaled_image" name="IDR_SUPERVISED_USER_PLACEHOLDE R" file="common/supervised_user_placeholder.png" /> 667 <structure type="chrome_scaled_image" name="IDR_SUPERVISED_USER_PLACEHOLDE R" file="common/supervised_user_placeholder.png" />
668 <if expr="toolkit_views and not is_macosx">
669 <structure type="chrome_scaled_image" name="IDR_TAB_ACTIVE_CENTER" file= "common/tab_active_center.png" />
670 <structure type="chrome_scaled_image" name="IDR_TAB_ACTIVE_LEFT" file="c ommon/tab_active_left.png" />
671 <structure type="chrome_scaled_image" name="IDR_TAB_ACTIVE_RIGHT" file=" common/tab_active_right.png" />
672 <structure type="chrome_scaled_image" name="IDR_TAB_ALPHA_LEFT" file="co mmon/tab_alpha_left.png" />
673 <structure type="chrome_scaled_image" name="IDR_TAB_ALPHA_RIGHT" file="c ommon/tab_alpha_right.png" />
674 <structure type="chrome_scaled_image" name="IDR_TAB_INACTIVE_CENTER" fil e="common/tab_inactive_center.png" />
675 <structure type="chrome_scaled_image" name="IDR_TAB_INACTIVE_LEFT" file= "common/tab_inactive_left.png" />
676 <structure type="chrome_scaled_image" name="IDR_TAB_INACTIVE_RIGHT" file ="common/tab_inactive_right.png" />
677 </if>
678 <if expr="is_macosx"> 668 <if expr="is_macosx">
679 <structure type="chrome_scaled_image" name="IDR_TAB_ACTIVE_CENTER" file= "mac/tab_active_center.png" /> 669 <structure type="chrome_scaled_image" name="IDR_TAB_ACTIVE_CENTER" file= "mac/tab_active_center.png" />
680 <structure type="chrome_scaled_image" name="IDR_TAB_ACTIVE_LEFT" file="m ac/tab_active_left.png" /> 670 <structure type="chrome_scaled_image" name="IDR_TAB_ACTIVE_LEFT" file="m ac/tab_active_left.png" />
681 <structure type="chrome_scaled_image" name="IDR_TAB_ACTIVE_RIGHT" file=" mac/tab_active_right.png" /> 671 <structure type="chrome_scaled_image" name="IDR_TAB_ACTIVE_RIGHT" file=" mac/tab_active_right.png" />
682 <structure type="chrome_scaled_image" name="IDR_TAB_ALPHA_LEFT" file="ma c/tab_alpha_left.png" /> 672 <structure type="chrome_scaled_image" name="IDR_TAB_ALPHA_LEFT" file="ma c/tab_alpha_left.png" />
683 <structure type="chrome_scaled_image" name="IDR_TAB_ALPHA_RIGHT" file="m ac/tab_alpha_right.png" /> 673 <structure type="chrome_scaled_image" name="IDR_TAB_ALPHA_RIGHT" file="m ac/tab_alpha_right.png" />
684 <structure type="chrome_scaled_image" name="IDR_SWIPE_BACK" file="mac/ba ck_large.png" /> 674 <structure type="chrome_scaled_image" name="IDR_SWIPE_BACK" file="mac/ba ck_large.png" />
685 <structure type="chrome_scaled_image" name="IDR_SWIPE_FORWARD" file="mac /forward_large.png" /> 675 <structure type="chrome_scaled_image" name="IDR_SWIPE_FORWARD" file="mac /forward_large.png" />
686 <structure type="chrome_scaled_image" name="IDR_TAB_INACTIVE_CENTER" fil e="mac/tab_inactive_center.png" />
687 <structure type="chrome_scaled_image" name="IDR_TAB_INACTIVE_LEFT" file= "mac/tab_inactive_left.png" />
688 <structure type="chrome_scaled_image" name="IDR_TAB_INACTIVE_RIGHT" file ="mac/tab_inactive_right.png" />
689 </if> 676 </if>
690 <!-- Note: Tab close buttons are not traditional buttons. Tab close butto ns 677 <!-- Note: Tab close buttons are not traditional buttons. Tab close butto ns
691 fill a background with a color from the theme, tile IDR_CLOSE_1 over it, 678 fill a background with a color from the theme, tile IDR_CLOSE_1 over it,
692 then apply IDR_CLOSE_1_MASK. See chrome/browser/ui/views/tabs/tab.cc --> 679 then apply IDR_CLOSE_1_MASK. See chrome/browser/ui/views/tabs/tab.cc -->
693 <structure type="chrome_scaled_image" name="IDR_CLOSE_1" file="common/clos e_1.png" /> 680 <structure type="chrome_scaled_image" name="IDR_CLOSE_1" file="common/clos e_1.png" />
694 <structure type="chrome_scaled_image" name="IDR_CLOSE_1_H" file="common/cl ose_1_hover.png" /> 681 <structure type="chrome_scaled_image" name="IDR_CLOSE_1_H" file="common/cl ose_1_hover.png" />
695 <structure type="chrome_scaled_image" name="IDR_CLOSE_1_MASK" file="common /close_1_mask.png" /> 682 <structure type="chrome_scaled_image" name="IDR_CLOSE_1_MASK" file="common /close_1_mask.png" />
696 <structure type="chrome_scaled_image" name="IDR_CLOSE_1_P" file="common/cl ose_1_pressed.png" /> 683 <structure type="chrome_scaled_image" name="IDR_CLOSE_1_P" file="common/cl ose_1_pressed.png" />
697 <if expr="is_macosx"> 684 <if expr="is_macosx">
698 <structure type="chrome_scaled_image" name="IDR_TAB_AUDIO_INDICATOR" fil e="legacy/tab_audio_indicator.png" /> 685 <structure type="chrome_scaled_image" name="IDR_TAB_AUDIO_INDICATOR" fil e="legacy/tab_audio_indicator.png" />
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
828 <structure type="chrome_scaled_image" name="IDR_WEBSTORE_ICON_32" file=" google_chrome/webstore_icon_32.png" /> 815 <structure type="chrome_scaled_image" name="IDR_WEBSTORE_ICON_32" file=" google_chrome/webstore_icon_32.png" />
829 </if> 816 </if>
830 <if expr="is_macosx"> 817 <if expr="is_macosx">
831 <structure type="chrome_scaled_image" name="IDR_ZOOM_MINUS" file="legacy /zoom_minus.png" /> 818 <structure type="chrome_scaled_image" name="IDR_ZOOM_MINUS" file="legacy /zoom_minus.png" />
832 <structure type="chrome_scaled_image" name="IDR_ZOOM_PLUS" file="legacy/ zoom_plus.png" /> 819 <structure type="chrome_scaled_image" name="IDR_ZOOM_PLUS" file="legacy/ zoom_plus.png" />
833 <structure type="chrome_scaled_image" name="IDR_ZOOM_NORMAL" file="legac y/zoom_reset.png" /> 820 <structure type="chrome_scaled_image" name="IDR_ZOOM_NORMAL" file="legac y/zoom_reset.png" />
834 </if> 821 </if>
835 </structures> 822 </structures>
836 </release> 823 </release>
837 </grit> 824 </grit>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698