mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 23:31:56 +00:00
6bddc0a55e
This patch removes the 'ScreenOrientationInternal' type from dom/base/ScreenOrientation.h and moves it into the HalScreenConfiguration.h header, renaming it simply to 'ScreenOrientation' in the process. This has several knock-off effects: - It allows files that needed ScreenOrientationInternal to include a much smaller header than before - It greatly reduces the number of headers pulled in when including Hal.h - It clarifies the role of the type. The 'Internal' part in the name had nothing to do with it being part of the implementation. The type was public and called that way only to avoid clashing with the 'ScreenOrientation' class. Since we moved it into a different namespace it can be renamed safely. - It allows a file that was manually re-declaring 'ScreenConfigurationInternal' type to use the original one - Finally this fixes a few files which were missing headers they actually required but that would still build because unified compilation put them into units that already had those headers thanks to ScreenConfiguration.h Differential Revision: https://phabricator.services.mozilla.com/D4458 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
android | ||
cocoa | ||
fallback | ||
linux | ||
sandbox | ||
windows | ||
Hal.cpp | ||
Hal.h | ||
HalBatteryInformation.h | ||
HalImpl.h | ||
HalInternal.h | ||
HalLog.h | ||
HalNetworkInformation.h | ||
HalSandbox.h | ||
HalScreenConfiguration.h | ||
HalSensor.h | ||
HalTypes.h | ||
HalWakeLock.cpp | ||
HalWakeLock.h | ||
HalWakeLockInformation.h | ||
moz.build | ||
WindowIdentifier.cpp | ||
WindowIdentifier.h |