Bug 898588 - Enable HiDPI app chrome for Desktop Web Runtime. r=jfkthame
authorMarco Castelluccio <mar.castelluccio@studenti.unina.it>
Wed, 31 Jul 2013 14:03:04 -0300
changeset 140772 2466e891446df947807ff3868d40e98b74d2b6fc
parent 140771 213244df4e6ef872abe98c593371efa871695fcb
child 140773 041986a971af304ebb05f8619536b0ff0e6d6c88
push id25039
push userryanvm@gmail.com
push dateWed, 31 Jul 2013 20:33:09 +0000
treeherdermozilla-central@cdda582f86ce [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjfkthame
bugs898588
milestone25.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 898588 - Enable HiDPI app chrome for Desktop Web Runtime. r=jfkthame
toolkit/webapps/WebappsInstaller.jsm
--- a/toolkit/webapps/WebappsInstaller.jsm
+++ b/toolkit/webapps/WebappsInstaller.jsm
@@ -589,16 +589,20 @@ MacNativeApp.prototype = {
     <key>CFBundleInfoDictionaryVersion</key>\n\
     <string>6.0</string>\n\
     <key>CFBundleName</key>\n\
     <string>' + escapeXML(this.appName) + '</string>\n\
     <key>CFBundlePackageType</key>\n\
     <string>APPL</string>\n\
     <key>CFBundleVersion</key>\n\
     <string>0</string>\n\
+    <key>NSHighResolutionCapable</key>\n\
+    <true/>\n\
+    <key>NSPrincipalClass</key>\n\
+    <string>GeckoNSApplication</string>\n\
     <key>FirefoxBinary</key>\n\
 #expand     <string>__MOZ_MACBUNDLE_ID__</string>\n\
   </dict>\n\
 </plist>';
 
     let infoPListFile = this.contentsDir.clone();
     infoPListFile.append("Info.plist");
     writeToFile(infoPListFile, infoPListContent);