mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-20 00:35:44 +00:00
ba088f5b71
The MVM is needed for both handling of meta-viewport tags and APZ zooming. However, the set of functionality needed in the two modes are not the same. This patch adds a mechanism to create an MVM with a flag that lets it know which mode it is operating in. Eventually we may want to split this into two or more classes but for now this seems like a reasonable way forward. The flag is currently set on the MVM on creation based on whether or not the meta-viewport support is needed. There's no code that meaningfully *uses* the flag yet, so this patch should have no functional change. The bulk of the patch is ensuring that we appropriately destroy and re-create the MVM if the flag required changes. Differential Revision: https://phabricator.services.mozilla.com/D79224 |
||
---|---|---|
.. | ||
public | ||
src | ||
test | ||
testutil | ||
util |