Bug 526808: set DPI for desktop builds to match hildon devices for better testability, r=mfinkle
authorGavin Sharp <gavin@gavinsharp.com>
Thu, 05 Nov 2009 13:42:50 -0500
changeset 65763 b88c0936cce1c98359169e941148267b3086fe4b
parent 65762 e1515b733a83a7f603d9708d75e2cdfaee1ac5d9
child 65764 6266017dfa1d55d6a6b7370aad09f9a5f2739d7e
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmfinkle
bugs526808
Bug 526808: set DPI for desktop builds to match hildon devices for better testability, r=mfinkle
mobile/app/mobile.js
--- a/mobile/app/mobile.js
+++ b/mobile/app/mobile.js
@@ -41,18 +41,19 @@ pref("general.useragent.extra.mobile", "
 pref("browser.chromeURL", "chrome://browser/content/");
 
 pref("browser.startup.homepage", "about:firstrun");
 
 #if MOZ_PLATFORM_HILDON
 pref("browser.ui.cursor", false);
 #elifdef WINCE
 pref("browser.ui.cursor", false);
-#else
+#else // DESKTOP
 pref("browser.ui.cursor", true);
+pref("layout.css.dpi", 265);
 #endif
 
 #ifdef MOZ_PLATFORM_HILDON
 pref("browser.ui.panning.fixup.mousemove", true);
 #else
 pref("browser.ui.panning.fixup.mousemove", false);
 #endif