Bug 944938 - Add default values for some AsyncPanZoom prefs to all.js. r=kats

This commit is contained in:
Markus Stange 2014-06-03 15:39:50 +02:00
parent 7aea5fc3e9
commit 07b16a1cf9

View File

@ -359,6 +359,9 @@ pref("media.video_stats.enabled", true);
// Whether to enable the audio writing APIs on the audio element
pref("media.audio_data.enabled", false);
// Whether to use async panning and zooming
pref("layers.async-pan-zoom.enabled", false);
// Whether to lock touch scrolling to one axis at a time
// 0 = FREE (No locking at all)
// 1 = STANDARD (Once locked, remain locked until scrolling ends)
@ -368,8 +371,16 @@ pref("apz.axis_lock_mode", 0);
// Whether to print the APZC tree for debugging
pref("apz.printtree", false);
#ifdef XP_MACOSX
// Layerize scrollable subframes to allow async panning
pref("apz.subframe.enabled", true);
pref("apz.fling_repaint_interval", 16);
pref("apz.pan_repaint_interval", 16);
pref("apz.apz.x_skate_size_multiplier", "2.5");
pref("apz.apz.y_skate_size_multiplier", "3.5");
#else
pref("apz.subframe.enabled", false);
#endif
// APZ testing (bug 961289)
pref("apz.test.logging_enabled", false);