mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-20 16:55:40 +00:00
Bug 1644271 - Add a pref to enable the MobileViewportManager. r=tnikkel
Currently false by default, so no functional change in the default configuration. Differential Revision: https://phabricator.services.mozilla.com/D79223
This commit is contained in:
parent
3f2018eaf1
commit
f89c7c3302
@ -10878,7 +10878,8 @@ bool UseMobileViewportManager(PresShell* aPresShell, Document* aDocument) {
|
||||
}
|
||||
}
|
||||
}
|
||||
return nsLayoutUtils::ShouldHandleMetaViewport(aDocument) ||
|
||||
return StaticPrefs::apz_mvm_force_enabled() ||
|
||||
nsLayoutUtils::ShouldHandleMetaViewport(aDocument) ||
|
||||
nsLayoutUtils::AllowZoomingForDocument(aDocument);
|
||||
}
|
||||
|
||||
|
@ -494,6 +494,11 @@
|
||||
value: false
|
||||
mirror: always
|
||||
|
||||
- name: apz.mvm.force-enabled
|
||||
type: RelaxedAtomicBool
|
||||
value: false
|
||||
mirror: always
|
||||
|
||||
- name: apz.one_touch_pinch.enabled
|
||||
type: RelaxedAtomicBool
|
||||
value: true
|
||||
|
Loading…
Reference in New Issue
Block a user