Bug 1347047 Part 3 - Remove pref layout.accessiblecaret.timeout_ms. draft
authorAstley Chen <aschen@mozilla.com>
Fri, 17 Mar 2017 08:50:39 +0800
changeset 500305 12b729e030be90dacb5c605d930141cce814964e
parent 500304 4710675633bba9ea81cf4d27fe93c9585ee751b5
child 549597 51115afe1f60e39525e7999febe58f1e76dc6ce7
push id49678
push useraschen@mozilla.com
push dateFri, 17 Mar 2017 00:51:50 +0000
bugs1347047
milestone55.0a1
Bug 1347047 Part 3 - Remove pref layout.accessiblecaret.timeout_ms. MozReview-Commit-ID: CaHS2OlAhTq
b2g/app/b2g.js
modules/libpref/init/all.js
--- a/b2g/app/b2g.js
+++ b/b2g/app/b2g.js
@@ -884,19 +884,16 @@ pref("dom.apps.reviewer_paths", "/review
 
 // New implementation to unify touch-caret and selection-carets.
 pref("layout.accessiblecaret.enabled", true);
 
 // Show the selection bars at the two ends of the selection highlight. Required
 // by the spec in bug 921965.
 pref("layout.accessiblecaret.bar.enabled", true);
 
-// Hide the caret in cursor mode after 3 seconds.
-pref("layout.accessiblecaret.timeout_ms", 3000);
-
 // Hide carets and text selection dialog during scrolling.
 pref("layout.accessiblecaret.always_show_when_scrolling", false);
 
 // Enable sync with Firefox Accounts.
 pref("services.sync.fxaccounts.enabled", true);
 pref("identity.fxaccounts.enabled", true);
 
 pref("identity.fxaccounts.remote.oauth.uri", "https://oauth.accounts.firefox.com/v1");
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -5282,20 +5282,16 @@ pref("layout.accessiblecaret.margin-left
 pref("layout.accessiblecaret.bar.width", "2.0");
 
 // Show no selection bars at the two ends of the selection highlight.
 pref("layout.accessiblecaret.bar.enabled", false);
 
 // Show the caret when long tapping on an empty content.
 pref("layout.accessiblecaret.caret_shown_when_long_tapping_on_empty_content", false);
 
-// Timeout in milliseconds to hide the accessiblecaret under cursor mode while
-// no one touches it. Set the value to 0 to disable this feature.
-pref("layout.accessiblecaret.timeout_ms", 0);
-
 // Simulate long tap to select words on the platforms where APZ is not enabled
 // or long tap events does not fired by APZ.
 pref("layout.accessiblecaret.use_long_tap_injector", false);
 
 // By default, carets become tilt only when they are overlapping.
 pref("layout.accessiblecaret.always_tilt", false);
 
 // By default, carets always show when scrolling (either panning for zooming)