gecko-dev/hal
Emilio Cobos Álvarez 28290f66db Bug 1754858 - Simplify screen orientation API implementation. r=smaug,m_kato,geckoview-reviewers
Make the ScreenOrientation part of the screen struct, as it should. Stop
using HAL to propagate just screen orientation updates, use the more
general screen manager.

Instead of HAL observers, add a simple observer service notification,
and clean a bunch of the code.

This will simplify bug 1754802 a bit, and is generally simpler.
Shouldn't change behavior. I've tested the events and some common
orientation locking use cases like Youtube, and they behave the same.

Differential Revision: https://phabricator.services.mozilla.com/D138477
2022-02-15 20:22:54 +00:00
..
android Bug 1754858 - Simplify screen orientation API implementation. r=smaug,m_kato,geckoview-reviewers 2022-02-15 20:22:54 +00:00
cocoa
fallback Bug 1754858 - Simplify screen orientation API implementation. r=smaug,m_kato,geckoview-reviewers 2022-02-15 20:22:54 +00:00
linux
sandbox Bug 1754858 - Simplify screen orientation API implementation. r=smaug,m_kato,geckoview-reviewers 2022-02-15 20:22:54 +00:00
windows Bug 1710473 - Remove hal::SetProcessPrioritySupported(). r=gsvelto,geckoview-reviewers,aklotz 2021-05-10 19:59:24 +00:00
Hal.cpp Bug 1754858 - Simplify screen orientation API implementation. r=smaug,m_kato,geckoview-reviewers 2022-02-15 20:22:54 +00:00
Hal.h Bug 1754858 - Simplify screen orientation API implementation. r=smaug,m_kato,geckoview-reviewers 2022-02-15 20:22:54 +00:00
HalBatteryInformation.h
HalIPCUtils.h Bug 1754813 - Make Hal::ScreenOrientation an enum class. r=gsvelto,m_kato,geckoview-reviewers 2022-02-14 07:51:06 +00:00
HalImpl.h
HalInternal.h
HalLog.h
HalNetworkInformation.h
HalSandbox.h
HalScreenConfiguration.h Bug 1754858 - Simplify screen orientation API implementation. r=smaug,m_kato,geckoview-reviewers 2022-02-15 20:22:54 +00:00
HalSensor.h Bug 1701789 - Restore UserProximityEvent r=smaug 2021-03-30 20:44:47 +00:00
HalTypes.h Bug 1677466 - Move ParamTraits specializations with extra dependencies out of IPCMessageUtils.h. r=mccr8 2020-12-10 11:09:21 +00:00
HalWakeLock.cpp Bug 1747138 - Breakdown CPU and GPU time by process type, r=chutten,gsvelto 2022-02-03 20:37:21 +00:00
HalWakeLock.h
HalWakeLockInformation.h
HalWakeLockInternal.h
WindowIdentifier.cpp
WindowIdentifier.h
moz.build Bug 1754858 - Simplify screen orientation API implementation. r=smaug,m_kato,geckoview-reviewers 2022-02-15 20:22:54 +00:00