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

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

Issue 2568403004: Remove some theme images that are not used any more. (Closed)
Patch Set: delete some theming code too Created 4 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 570 matching lines...) Expand 10 before | Expand all | Expand 10 after
581 <structure type="chrome_scaled_image" name="IDR_TEXTFIELD_BOTTOM" file=" common/textfield_bottom.png" /> 581 <structure type="chrome_scaled_image" name="IDR_TEXTFIELD_BOTTOM" file=" common/textfield_bottom.png" />
582 <structure type="chrome_scaled_image" name="IDR_TEXTFIELD_BOTTOM_LEFT" f ile="common/textfield_bottom_left.png" /> 582 <structure type="chrome_scaled_image" name="IDR_TEXTFIELD_BOTTOM_LEFT" f ile="common/textfield_bottom_left.png" />
583 <structure type="chrome_scaled_image" name="IDR_TEXTFIELD_BOTTOM_RIGHT" file="common/textfield_bottom_right.png" /> 583 <structure type="chrome_scaled_image" name="IDR_TEXTFIELD_BOTTOM_RIGHT" file="common/textfield_bottom_right.png" />
584 <structure type="chrome_scaled_image" name="IDR_TEXTFIELD_CENTER" file=" common/textfield_center.png" /> 584 <structure type="chrome_scaled_image" name="IDR_TEXTFIELD_CENTER" file=" common/textfield_center.png" />
585 <structure type="chrome_scaled_image" name="IDR_TEXTFIELD_LEFT" file="co mmon/textfield_left.png" /> 585 <structure type="chrome_scaled_image" name="IDR_TEXTFIELD_LEFT" file="co mmon/textfield_left.png" />
586 <structure type="chrome_scaled_image" name="IDR_TEXTFIELD_RIGHT" file="c ommon/textfield_right.png" /> 586 <structure type="chrome_scaled_image" name="IDR_TEXTFIELD_RIGHT" file="c ommon/textfield_right.png" />
587 <structure type="chrome_scaled_image" name="IDR_TEXTFIELD_TOP" file="com mon/textfield_top.png" /> 587 <structure type="chrome_scaled_image" name="IDR_TEXTFIELD_TOP" file="com mon/textfield_top.png" />
588 <structure type="chrome_scaled_image" name="IDR_TEXTFIELD_TOP_LEFT" file ="common/textfield_top_left.png" /> 588 <structure type="chrome_scaled_image" name="IDR_TEXTFIELD_TOP_LEFT" file ="common/textfield_top_left.png" />
589 <structure type="chrome_scaled_image" name="IDR_TEXTFIELD_TOP_RIGHT" fil e="common/textfield_top_right.png" /> 589 <structure type="chrome_scaled_image" name="IDR_TEXTFIELD_TOP_RIGHT" fil e="common/textfield_top_right.png" />
590 </if> 590 </if>
591 <!-- These IDR_ defines that link to notused.png are relevant to custom br owser themes but are not used by the classic/default theme. -->
591 <structure type="chrome_scaled_image" name="IDR_THEME_BUTTON_BACKGROUND" f ile="notused.png" /> 592 <structure type="chrome_scaled_image" name="IDR_THEME_BUTTON_BACKGROUND" f ile="notused.png" />
592 <if expr="not use_ash"> 593 <structure type="chrome_scaled_image" name="IDR_THEME_FRAME" file="notused .png" />
593 <structure type="chrome_scaled_image" name="IDR_THEME_FRAME" file="theme _frame.png" /> 594 <structure type="chrome_scaled_image" name="IDR_THEME_FRAME_INACTIVE" file ="notused.png" />
594 <structure type="chrome_scaled_image" name="IDR_THEME_FRAME_INACTIVE" fi le="theme_frame_inactive.png" /> 595 <structure type="chrome_scaled_image" name="IDR_THEME_FRAME_INCOGNITO" fil e="notused.png" />
595 <structure type="chrome_scaled_image" name="IDR_THEME_FRAME_INCOGNITO" f ile="theme_frame_incognito.png" /> 596 <structure type="chrome_scaled_image" name="IDR_THEME_FRAME_INCOGNITO_INAC TIVE" file="notused.png" />
596 <structure type="chrome_scaled_image" name="IDR_THEME_FRAME_INCOGNITO_IN ACTIVE" file="theme_frame_incognito_inactive.png" />
597 </if>
598 <if expr="use_ash">
599 <structure type="chrome_scaled_image" name="IDR_THEME_FRAME" file="notus ed.png" />
600 <structure type="chrome_scaled_image" name="IDR_THEME_FRAME_INACTIVE" fi le="notused.png" />
601 <structure type="chrome_scaled_image" name="IDR_THEME_FRAME_INCOGNITO" f ile="notused.png" />
602 <structure type="chrome_scaled_image" name="IDR_THEME_FRAME_INCOGNITO_IN ACTIVE" file="notused.png" />
603 </if>
604 <structure type="chrome_scaled_image" name="IDR_THEME_FRAME_OVERLAY" file= "notused.png" /> 597 <structure type="chrome_scaled_image" name="IDR_THEME_FRAME_OVERLAY" file= "notused.png" />
605 <structure type="chrome_scaled_image" name="IDR_THEME_FRAME_OVERLAY_INACTI VE" file="notused.png" /> 598 <structure type="chrome_scaled_image" name="IDR_THEME_FRAME_OVERLAY_INACTI VE" file="notused.png" />
606 <structure type="chrome_scaled_image" name="IDR_THEME_NTP_ATTRIBUTION" fil e="notused.png" /> 599 <structure type="chrome_scaled_image" name="IDR_THEME_NTP_ATTRIBUTION" fil e="notused.png" />
607 <structure type="chrome_scaled_image" name="IDR_THEME_NTP_BACKGROUND" file ="common/ntp_background.png" /> 600 <structure type="chrome_scaled_image" name="IDR_THEME_NTP_BACKGROUND" file ="notused.png" />
608 <if expr="not use_ash and not is_macosx and not is_ios"> 601 <if expr="not is_macosx and not is_ios">
609 <structure type="chrome_scaled_image" name="IDR_THEME_TAB_BACKGROUND" fi le="theme_tab_background.png" /> 602 <structure type="chrome_scaled_image" name="IDR_THEME_TAB_BACKGROUND" fi le="notused.png" />
610 <structure type="chrome_scaled_image" name="IDR_THEME_TAB_BACKGROUND_INC OGNITO" file="theme_tab_background_incognito.png" /> 603 <structure type="chrome_scaled_image" name="IDR_THEME_TAB_BACKGROUND_INC OGNITO" file="notused.png" />
611 </if>
612 <if expr="use_ash">
613 <!-- Ash has gray tab backgrounds, Windows uses blue. -->
614 <structure type="chrome_scaled_image" name="IDR_THEME_TAB_BACKGROUND" fi le="common/ash/theme_default_inactive.png" />
615 <structure type="chrome_scaled_image" name="IDR_THEME_TAB_BACKGROUND_INC OGNITO" file="common/ash/theme_default_inactive.png" />
616 </if> 604 </if>
617 <if expr="is_macosx or is_ios"> 605 <if expr="is_macosx or is_ios">
618 <structure type="chrome_scaled_image" name="IDR_THEME_TAB_BACKGROUND" fi le="mac/theme_default_inactive.png" /> 606 <structure type="chrome_scaled_image" name="IDR_THEME_TAB_BACKGROUND" fi le="mac/theme_default_inactive.png" />
619 <structure type="chrome_scaled_image" name="IDR_THEME_TAB_BACKGROUND_INA CTIVE" file="mac/theme_default_inactive_background.png" /> 607 <structure type="chrome_scaled_image" name="IDR_THEME_TAB_BACKGROUND_INA CTIVE" file="mac/theme_default_inactive_background.png" />
620 <if expr="mac_views_browser"> 608 <if expr="mac_views_browser">
621 <structure type="chrome_scaled_image" name="IDR_THEME_TAB_BACKGROUND_I NCOGNITO" file="mac/theme_default_inactive.png" /> 609 <structure type="chrome_scaled_image" name="IDR_THEME_TAB_BACKGROUND_I NCOGNITO" file="mac/theme_default_inactive.png" />
622 </if> 610 </if>
623 </if> 611 </if>
624 <structure type="chrome_scaled_image" name="IDR_THEME_TAB_BACKGROUND_V" fi le="theme_tab_background_glass.png" /> 612 <structure type="chrome_scaled_image" name="IDR_THEME_TAB_BACKGROUND_V" fi le="notused.png" />
625 <if expr="not is_macosx and not is_ios"> 613 <if expr="not is_macosx and not is_ios">
626 <!-- This identifier exists to give us something to associate with a cus tom image that a theme can provide. 614 <!-- This identifier exists to give us something to associate with a cus tom image that a theme can provide.
627 In normal themes, it's unused. --> 615 In normal themes, it's unused. -->
628 <structure type="chrome_scaled_image" name="IDR_THEME_TOOLBAR" file="not used.png" /> 616 <structure type="chrome_scaled_image" name="IDR_THEME_TOOLBAR" file="not used.png" />
629 </if> 617 </if>
630 <if expr="is_macosx or is_ios"> 618 <if expr="is_macosx or is_ios">
631 <structure type="chrome_scaled_image" name="IDR_THEME_TOOLBAR" file="mac /theme_default_active.png" /> 619 <structure type="chrome_scaled_image" name="IDR_THEME_TOOLBAR" file="mac /theme_default_active.png" />
632 <structure type="chrome_scaled_image" name="IDR_THEME_TOOLBAR_INACTIVE" file="mac/theme_default_active_background.png" /> 620 <structure type="chrome_scaled_image" name="IDR_THEME_TOOLBAR_INACTIVE" file="mac/theme_default_active_background.png" />
633 </if> 621 </if>
634 <!-- Instant Extended API toolbar background is common for all platforms. --> 622 <!-- Instant Extended API toolbar background is common for all platforms. -->
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
680 <structure type="chrome_scaled_image" name="IDR_WEBSTORE_ICON_32" file=" google_chrome/webstore_icon_32.png" /> 668 <structure type="chrome_scaled_image" name="IDR_WEBSTORE_ICON_32" file=" google_chrome/webstore_icon_32.png" />
681 </if> 669 </if>
682 <if expr="is_macosx"> 670 <if expr="is_macosx">
683 <structure type="chrome_scaled_image" name="IDR_ZOOM_MINUS" file="legacy /zoom_minus.png" /> 671 <structure type="chrome_scaled_image" name="IDR_ZOOM_MINUS" file="legacy /zoom_minus.png" />
684 <structure type="chrome_scaled_image" name="IDR_ZOOM_PLUS" file="legacy/ zoom_plus.png" /> 672 <structure type="chrome_scaled_image" name="IDR_ZOOM_PLUS" file="legacy/ zoom_plus.png" />
685 <structure type="chrome_scaled_image" name="IDR_ZOOM_NORMAL" file="legac y/zoom_reset.png" /> 673 <structure type="chrome_scaled_image" name="IDR_ZOOM_NORMAL" file="legac y/zoom_reset.png" />
686 </if> 674 </if>
687 </structures> 675 </structures>
688 </release> 676 </release>
689 </grit> 677 </grit>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698