mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-24 15:04:41 +08:00
Previously, this code was living in panels/emulation. However, there is no code relation between sensors and emulation, other than they are both concerning emulation techniques. Since the panels/emulation code is run in a separate frame for device mode emulation, we need to limit the amount of code to run, to unblock using adoptedStyleSheets for our style sheets. Therefore, if we move this code out, we have to deal with fewer problems, while it also makes more sense to put the code in a separate folder. R=jacktfranklin@chromium.org,mathias@chromium.org CC=kritisapra@google.com Bug: 1234798 Change-Id: I788550256d70c64027e584c795d08177d69a0984 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3063236 Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org> Reviewed-by: Jack Franklin <jacktfranklin@chromium.org> Reviewed-by: Mathias Bynens <mathias@chromium.org>