gecko-dev/hal
Gabriele Svelto 6bddc0a55e Bug 1486772 - Refactor the screen-orientation types and headers r=smaug
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
2018-08-29 20:54:56 +00:00
..
android Bug 1486772 - Refactor the screen-orientation types and headers r=smaug 2018-08-29 20:54:56 +00:00
cocoa Bug 1470994 - remove unused accuracy field from SensorData; r=gsvelto 2018-06-27 16:05:48 +03:00
fallback Bug 1486772 - Refactor the screen-orientation types and headers r=smaug 2018-08-29 20:54:56 +00:00
linux Bug 1382955 (part 3) - Remove a bunch of unused HAL stuff. r=gsvelto,kanru. 2017-08-02 10:09:32 +10:00
sandbox Bug 1486772 - Refactor the screen-orientation types and headers r=smaug 2018-08-29 20:54:56 +00:00
windows Bug 1480177 Lowercase includes to fix MinGW Build Errors r=froydnj 2018-07-30 22:43:24 -05:00
Hal.cpp Bug 1486772 - Refactor the screen-orientation types and headers r=smaug 2018-08-29 20:54:56 +00:00
Hal.h Bug 1486772 - Refactor the screen-orientation types and headers r=smaug 2018-08-29 20:54:56 +00:00
HalBatteryInformation.h Bug 1482753 - Move battery/Types.h into hal/ and BatteryObserver into hal namespace. r=gsvelto 2018-08-13 10:57:50 +09:00
HalImpl.h
HalInternal.h Bug 1465898 - Remove unused code for managing physical audio devices; r=agaynor 2018-06-04 22:28:09 +02:00
HalLog.h
HalNetworkInformation.h Bug 1482753 - Move network/Types.h into hal/ and NetworkObserver into hal namespace. r=gsvelto 2018-08-13 10:57:50 +09:00
HalSandbox.h
HalScreenConfiguration.h Bug 1486772 - Refactor the screen-orientation types and headers r=smaug 2018-08-29 20:54:56 +00:00
HalSensor.h Bug 1469309 - Remove an unused sensor type; r=agaynor 2018-06-19 09:18:09 +02:00
HalTypes.h Bug 1465898 - Remove unused code for managing physical audio devices; r=agaynor 2018-06-04 22:28:09 +02:00
HalWakeLock.cpp
HalWakeLock.h
HalWakeLockInformation.h Bug 1482753 - Move power/Types.h into hal/ and WakeLockObserver into hal namespace. r=gsvelto 2018-08-13 10:57:50 +09:00
moz.build Bug 1482753 - Move power/Types.h into hal/ and WakeLockObserver into hal namespace. r=gsvelto 2018-08-13 10:57:50 +09:00
WindowIdentifier.cpp
WindowIdentifier.h