Bug 1173740 - Update switch-to-tab icon for the URL bar autocomplete popup on Windows 8 and 10. r=jaws, a=lmandel
authorDão Gottwald <dao@mozilla.com>
Tue, 21 Jul 2015 18:22:50 +0200
changeset 281641 15a2e7f5cd6b8e15528ea89426bbe597b45a1b32
parent 281640 b1fdd8c5ee9773b7f425c251fcc90aa62b63586c
child 281642 cc604e775b116a7a2ba1eb9f566b148e3b18396d
push id4932
push userjlund@mozilla.com
push dateMon, 10 Aug 2015 18:23:06 +0000
treeherdermozilla-beta@6dd5a4f5f745 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjaws, lmandel
bugs1173740
milestone41.0a2
Bug 1173740 - Update switch-to-tab icon for the URL bar autocomplete popup on Windows 8 and 10. r=jaws, a=lmandel
browser/themes/windows/actionicon-tab-XPVista7.png
browser/themes/windows/actionicon-tab.png
browser/themes/windows/actionicon-tab@2x.png
browser/themes/windows/browser.css
browser/themes/windows/jar.mn
copy from browser/themes/windows/actionicon-tab.png
copy to browser/themes/windows/actionicon-tab-XPVista7.png
index 8437c7655a799dde24f3d78575cbdd1e44f91b45..52169a4808aad9b89bb0102748cba3b0e504e815
GIT binary patch
literal 194
zc%17D@N?(olHy`uVBq!ia0vp^0zfRr!2%?c7hm}fq&hua978G?r(Q4>Yj$98y=d9)
z>Y|lZ_NV&Rj*^XL`=(|5d}P$LH@-;n$ey6!*ttim-M5CC|IgHz^EId7>w%kWKUOn|
zh&HOQh}7#HmtuGP^(W-5>p3yE)iDO9s*63R8_)0CvhsF9NA!8NaQ->D0xP%_w3s*-
u+U=h;qflVUdH+=ZIPSw*;v)ZFNe6wKQK7r@|2d$e7(8A5T-G@yGywqWfl5gL
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..6a4be3741fac6448e4716371106c0a31ea7d1a52
GIT binary patch
literal 324
zc$@)50lWT*P)<h;3K|Lk000e1NJLTq001BW001lq1ONa4uCa0i0003CNkl<ZcmeH<
zHA16d7zV#Jw8Ku23*fS7l^U<or9{s2+yJLcodcvr+ITA5Wv~YM<;8WTo^daZ+BB!4
z@UW;^HHGEVIu!w)C?1p#=v;(&st*4_LKs~3A8eZjdH(?>H-84NH_$)h;KXkb5k?!l
z2b1Q(m{(q}ta*@9+1<ESLs}KGn^cdgZ{nCr;)&)IbvhK!Fz<BmtU=CcT$v~5>l$z$
z589Zch!;g>X$s4yIVFe_;z9WU=Y(-ehyNgfg=PQ2HWu>!0~?#KH~1Ow4;v?bg9ug{
zya$t58S~2P$zml%+1<F7Ay#<|NqVThiDQ&_DmkK#L!Lw4almuPImXHGRMr`A&*cIw
Wt4AG1ftB+B0000<MNUMnLSTaM-izA+
--- a/browser/themes/windows/browser.css
+++ b/browser/themes/windows/browser.css
@@ -1574,26 +1574,41 @@ richlistitem[type~="action"][actiontype=
     color: Highlight;
   }
 }
 
 richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-icon {
   list-style-image: url("chrome://browser/skin/actionicon-tab.png");
   -moz-image-region: rect(0, 16px, 11px, 0);
   padding: 0 3px;
+  width: 22px;
+  height: 11px;
+}
+
+@media (min-resolution: 1.1dppx) {
+  richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-icon {
+    list-style-image: url("chrome://browser/skin/actionicon-tab@2x.png");
+    -moz-image-region: rect(0, 32px, 22px, 0);
+  }
 }
 
 @media not all and (-moz-os-version: windows-vista),
        not all and (-moz-windows-default-theme) {
   @media not all and (-moz-os-version: windows-win7),
          not all and (-moz-windows-default-theme) {
     richlistitem[type~="action"][actiontype="switchtab"][selected="true"] > .ac-url-box > .ac-action-icon {
       -moz-image-region: rect(11px, 16px, 22px, 0);
     }
 
+    @media (min-resolution: 1.1dppx) {
+      richlistitem[type~="action"][actiontype="switchtab"][selected="true"] > .ac-url-box > .ac-action-icon {
+        -moz-image-region: rect(22px, 32px, 44px, 0);
+      }
+    }
+
     .ac-comment[selected="true"],
     .ac-url-text[selected="true"],
     .ac-action-text[selected="true"] {
       color: inherit !important;
     }
   }
 }
 
--- a/browser/themes/windows/jar.mn
+++ b/browser/themes/windows/jar.mn
@@ -17,16 +17,18 @@ browser.jar:
         skin/classic/browser/aboutNetError_alert.svg                 (../shared/aboutNetError_alert.svg)
         skin/classic/browser/aboutSocialError.css                    (../shared/aboutSocialError.css)
 *       skin/classic/browser/aboutProviderDirectory.css              (../shared/aboutProviderDirectory.css)
 #ifdef MOZ_SERVICES_SYNC
         skin/classic/browser/aboutSyncTabs.css
 #endif
         skin/classic/browser/aboutTabCrashed.css                     (../shared/aboutTabCrashed.css)
         skin/classic/browser/actionicon-tab.png
+        skin/classic/browser/actionicon-tab@2x.png
+        skin/classic/browser/actionicon-tab-XPVista7.png
         skin/classic/browser/addons/addon-install-blocked.svg        (../shared/addons/addon-install-blocked.svg)
         skin/classic/browser/addons/addon-install-confirm.svg        (../shared/addons/addon-install-confirm.svg)
         skin/classic/browser/addons/addon-install-downloading.svg    (../shared/addons/addon-install-downloading.svg)
         skin/classic/browser/addons/addon-install-error.svg          (../shared/addons/addon-install-error.svg)
         skin/classic/browser/addons/addon-install-installed.svg      (../shared/addons/addon-install-installed.svg)
         skin/classic/browser/addons/addon-install-restart.svg        (../shared/addons/addon-install-restart.svg)
         skin/classic/browser/addons/addon-install-warning.svg        (../shared/addons/addon-install-warning.svg)
         skin/classic/browser/addons/addon-install-anchor.svg         (../shared/addons/addon-install-anchor.svg)
@@ -629,16 +631,17 @@ browser.jar:
 % override chrome://browser/skin/places/unsortedBookmarks.png         chrome://browser/skin/places/unsortedBookmarks-XP.png             os=WINNT osversion<6
 % override chrome://browser/skin/preferences/alwaysAsk.png            chrome://browser/skin/preferences/alwaysAsk-XP.png                os=WINNT osversion<6
 % override chrome://browser/skin/preferences/application.png          chrome://browser/skin/preferences/application-XP.png              os=WINNT osversion<6
 % override chrome://browser/skin/preferences/mail.png                 chrome://browser/skin/preferences/mail-XP.png                     os=WINNT osversion<6
 % override chrome://browser/skin/preferences/Options.png              chrome://browser/skin/preferences/Options-XP.png                  os=WINNT osversion<6
 % override chrome://browser/skin/preferences/saveFile.png             chrome://browser/skin/preferences/saveFile-XP.png                 os=WINNT osversion<6
 % override chrome://browser/skin/tabbrowser/tab-separator.png         chrome://browser/skin/tabbrowser/tab-separator-XP.png             os=WINNT osversion<6
 
+% override chrome://browser/skin/actionicon-tab.png                   chrome://browser/skin/actionicon-tab-XPVista7.png                 os=WINNT osversion<=6.1
 % override chrome://browser/skin/sync-horizontalbar.png               chrome://browser/skin/sync-horizontalbar-XPVista7.png             os=WINNT osversion<=6.1
 % override chrome://browser/skin/sync-horizontalbar@2x.png            chrome://browser/skin/sync-horizontalbar-XPVista7@2x.png          os=WINNT osversion<=6.1
 % override chrome://browser/skin/syncProgress-horizontalbar.png       chrome://browser/skin/syncProgress-horizontalbar-XPVista7.png     os=WINNT osversion<=6.1
 % override chrome://browser/skin/syncProgress-horizontalbar@2x.png    chrome://browser/skin/syncProgress-horizontalbar-XPVista7@2x.png  os=WINNT osversion<=6.1
 % override chrome://browser/skin/syncProgress-toolbar.png             chrome://browser/skin/syncProgress-toolbar-XPVista7.png           os=WINNT osversion<=6.1
 % override chrome://browser/skin/syncProgress-toolbar@2x.png          chrome://browser/skin/syncProgress-toolbar-XPVista7@2x.png        os=WINNT osversion<=6.1
 % override chrome://browser/skin/toolbarbutton-dropdown-arrow.png     chrome://browser/skin/toolbarbutton-dropdown-arrow-XPVista7.png   os=WINNT osversion<=6.1
 % override chrome://browser/skin/tabbrowser/newtab.png                chrome://browser/skin/tabbrowser/newtab-XPVista7.png              os=WINNT osversion<=6.1