Bug 1215959 - (GeckoCaret2) update experimental prefs, r=snorp

This commit is contained in:
Mark Capella 2015-12-01 15:25:06 -05:00
parent 0c8ded1b65
commit eda494195a
3 changed files with 12 additions and 73 deletions

View File

@ -897,33 +897,15 @@ pref("browser.readinglist.enabled", true);
// Whether to use the unified telemetry behavior, requires a restart.
pref("toolkit.telemetry.unified", false);
// Turn off selection caret by default
pref("selectioncaret.enabled", false);
// Unified AccessibleCarets (touch-caret and selection-carets).
pref("layout.accessiblecaret.enabled", false);
// Android generates long tap (mouse) events.
pref("layout.accessiblecaret.use_long_tap_injector", false);
// Selection carets never fall-back to internal LongTap detector.
pref("selectioncaret.detects.longtap", false);
// Selection carets override caret visibility.
pref("selectioncaret.visibility.affectscaret", true);
// Selection caret visibility observes composition
// selections generated by soft keyboard managers.
pref("selectioncaret.observes.compositions", true);
// Turn off touch caret by default.
pref("touchcaret.enabled", false);
// TouchCaret never auto-hides.
pref("touchcaret.expiration.time", 0);
// Touch caret stays visible under a wider range of conditions
// than the default b2g. We can display the caret in empty editables
// for example, and do not auto-hide until loss of focus.
pref("touchcaret.extendedvisibility", true);
// The TouchCaret and the SelectionCarets will indicate when the
// TextSelection actionbar is to be openned or closed.
pref("caret.manages-android-actionbar", true);
// Android tries to maintain extended visibility of the AccessibleCarets
// during Selection change notifications generated by Javascript,
// or misc internal events.
pref("layout.accessiblecaret.extendedvisibility", true);
// Disable sending console to logcat on release builds.
#ifdef RELEASE_BUILD

View File

@ -891,34 +891,6 @@ pref("browser.readinglist.enabled", true);
// Whether to use the unified telemetry behavior, requires a restart.
pref("toolkit.telemetry.unified", false);
// Turn off selection caret by default
pref("selectioncaret.enabled", false);
// Selection carets never fall-back to internal LongTap detector.
pref("selectioncaret.detects.longtap", false);
// Selection carets override caret visibility.
pref("selectioncaret.visibility.affectscaret", true);
// Selection caret visibility observes composition
// selections generated by soft keyboard managers.
pref("selectioncaret.observes.compositions", true);
// Turn off touch caret by default.
pref("touchcaret.enabled", false);
// TouchCaret never auto-hides.
pref("touchcaret.expiration.time", 0);
// Touch caret stays visible under a wider range of conditions
// than the default b2g. We can display the caret in empty editables
// for example, and do not auto-hide until loss of focus.
pref("touchcaret.extendedvisibility", true);
// The TouchCaret and the SelectionCarets will indicate when the
// TextSelection actionbar is to be openned or closed.
pref("caret.manages-android-actionbar", true);
// Disable sending console to logcat on release builds.
#ifdef RELEASE_BUILD
pref("consoleservice.logcat", false);

View File

@ -4875,25 +4875,6 @@ pref("selectioncaret.enabled", false);
// user click on selection caret or not. In app units.
pref("selectioncaret.inflatesize.threshold", 40);
// Selection carets will fall-back to internal LongTap detector.
pref("selectioncaret.detects.longtap", true);
// Selection carets do not affect caret visibility.
pref("selectioncaret.visibility.affectscaret", false);
// Selection caret visibility does not observe composition
// selections generated by soft keyboard managers.
pref("selectioncaret.observes.compositions", false);
// The Touch caret by default observes the b2g visibility rules, and
// not the extended Android visibility rules that allow for touchcaret
// display in empty editable fields, for example.
pref("touchcaret.extendedvisibility", false);
// Desktop and b2g don't need to open or close the Android
// TextSelection (Actionbar) utility.
pref("caret.manages-android-actionbar", false);
// New implementation to unify touch-caret and selection-carets.
pref("layout.accessiblecaret.enabled", false);
@ -4911,6 +4892,10 @@ pref("layout.accessiblecaret.timeout_ms", 3000);
// or long tap events does not fired by APZ.
pref("layout.accessiblecaret.use_long_tap_injector", true);
// Selection change notifications generated by Javascript, or misc internal
// events hide AccessibleCarets by default.
pref("layout.accessiblecaret.extendedvisibility", false);
// Wakelock is disabled by default.
pref("dom.wakelock.enabled", false);