Bug 655011 - Remove WinCE code from libpref; r=bsmedberg

This commit is contained in:
Ed Morley 2011-06-07 10:47:57 -07:00
parent 702c66b437
commit 3a85af8230
2 changed files with 1 additions and 32 deletions

View File

@ -62,11 +62,6 @@ DEFINES += -DOS_ARCH=$(OS_ARCH) \
-DMOZ_WIDGET_TOOLKIT=$(MOZ_WIDGET_TOOLKIT) \
$(NULL)
# this comes from a system header; we should probably be using XP_WINCE or something
ifdef WINCE
DEFINES += -DWINCE=1
endif
EXTRA_DSO_LDOPTS = \
$(LIBS_DIR) \
$(MOZ_COMPONENT_LIBS) \

View File

@ -65,11 +65,7 @@ pref("browser.cache.disk.smart_size.first_run", true);
// Does the user want smart-sizing?
pref("browser.cache.disk.smart_size.enabled", true);
// Size explicitly set by the user. Used when smart_size.enabled == false
#ifndef WINCE
pref("browser.cache.disk.capacity", 256000);
#else
pref("browser.cache.disk.capacity", 20000);
#endif
pref("browser.cache.memory.enable", true);
//pref("browser.cache.memory.capacity", -1);
// -1 = determine dynamically, 0 = none, n = memory capacity in kilobytes
@ -78,7 +74,7 @@ pref("browser.cache.disk_cache_ssl", true);
pref("browser.cache.check_doc_frequency", 3);
pref("browser.cache.offline.enable", true);
#ifndef WINCE
// offline cache capacity in kilobytes
pref("browser.cache.offline.capacity", 512000);
@ -89,12 +85,6 @@ pref("offline-apps.quota.max", 204800);
// the user should be warned if offline app disk usage exceeds this amount
// (in kilobytes)
pref("offline-apps.quota.warn", 51200);
#else
// Limited disk space on WinCE, tighten limits.
pref("browser.cache.offline.capacity", 15000);
pref("offline-apps.quota.max", 7000);
pref("offline-apps.quota.warn", 4000);
#endif
// Whether or not indexedDB is enabled.
pref("dom.indexedDB.enabled", true);
@ -208,11 +198,9 @@ pref("gfx.font_rendering.harfbuzz.scripts", 3);
#endif
#ifdef XP_WIN
#ifndef WINCE
pref("gfx.font_rendering.directwrite.enabled", false);
pref("gfx.font_rendering.directwrite.use_gdi_table_loading", true);
#endif
#endif
pref("accessibility.browsewithcaret", false);
pref("accessibility.warn_on_browsewithcaret", true);
@ -1884,13 +1872,8 @@ pref("intl.enable_tsf_support", false);
pref("intl.tsf.on_layout_change_interval", 100);
#endif
#ifdef WINCE
// bug 506798 - can't type in bookmarks panel on WinCE
pref("ui.panel.default_level_parent", true);
#else
// See bug 448927, on topmost panel, some IMEs are not usable on Windows.
pref("ui.panel.default_level_parent", false);
#endif
pref("mousewheel.system_scroll_override_on_root_content.enabled", true);
@ -3196,16 +3179,9 @@ pref("webgl.verbose", false);
pref("webgl.prefer-native-gl", false);
#ifdef XP_WIN
#ifndef WINCE
// The default TCP send window on Windows is too small, and autotuning only occurs on receive
pref("network.tcp.sendbuffer", 131072);
#endif
#endif
#ifdef WINCE
pref("mozilla.widget.disable-native-theme", true);
pref("gfx.color_management.mode", 0);
#endif
// Whether to disable acceleration for all widgets.
pref("layers.acceleration.disabled", false);
@ -3214,7 +3190,6 @@ pref("layers.acceleration.disabled", false);
pref("layers.acceleration.force-enabled", false);
#ifdef XP_WIN
#ifndef WINCE
// Whether to disable the automatic detection and use of direct2d.
pref("gfx.direct2d.disabled", false);
// Whether to attempt to enable Direct2D regardless of automatic detection or
@ -3224,7 +3199,6 @@ pref("gfx.direct2d.force-enabled", false);
pref("layers.prefer-opengl", false);
pref("layers.prefer-d3d9", false);
#endif
#endif
// Enable/Disable the geolocation API for content
pref("geo.enabled", true);