Bug 1074030 - Copy the OS X overlay scrollbar fade parameters to B2G. r=fabrice, a=bajaj
authorKartikaya Gupta <kgupta@mozilla.com>
Mon, 29 Sep 2014 15:32:11 -0400
changeset 225288 7f3c5ce2fd361f229740fe95655d5e3021ba0e51
parent 225287 c5dfc4c853f046c047507babbbfd1b628baa0742
child 225289 8e76e4e3735a98022e0ae4bf6baaae3cf98024f6
push id3979
push userraliiev@mozilla.com
push dateMon, 13 Oct 2014 16:35:44 +0000
treeherdermozilla-beta@30f2cc610691 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersfabrice, bajaj
bugs1074030
milestone34.0a2
Bug 1074030 - Copy the OS X overlay scrollbar fade parameters to B2G. r=fabrice, a=bajaj
b2g/app/b2g.js
--- a/b2g/app/b2g.js
+++ b/b2g/app/b2g.js
@@ -669,16 +669,18 @@ pref("javascript.options.mem.gc_min_empt
 #else
 pref("javascript.options.mem.gc_min_empty_chunk_count", 0);
 #endif
 pref("javascript.options.mem.gc_max_empty_chunk_count", 2);
 
 // Show/Hide scrollbars when active/inactive
 pref("ui.showHideScrollbars", 1);
 pref("ui.useOverlayScrollbars", 1);
+pref("ui.scrollbarFadeBeginDelay", 450);
+pref("ui.scrollbarFadeDuration", 200);
 
 // Enable the ProcessPriorityManager, and give processes with no visible
 // documents a 1s grace period before they're eligible to be marked as
 // background. Background processes that are perceivable due to playing
 // media are given a longer grace period to accomodate changing tracks, etc.
 pref("dom.ipc.processPriorityManager.enabled", true);
 pref("dom.ipc.processPriorityManager.backgroundGracePeriodMS", 1000);
 pref("dom.ipc.processPriorityManager.backgroundPerceivableGracePeriodMS", 5000);