-
- Downloads
Bug 1744687 - Part 1. Lock orientation backend for Windows Tablet. r=gsvelto
Since Windows tablet mode has a orientation lock API, this patch implements orientation lock backend for Windows tablet mode. `GetAutoRotationState` API recognizes whether orientation API is supported on the device. So this fix uses this API to check orientation API capability. Differential Revision: https://phabricator.services.mozilla.com/D162451
Showing
- hal/moz.build 1 addition, 1 deletionhal/moz.build
- hal/windows/WindowsScreenConfiguration.cpp 98 additions, 0 deletionshal/windows/WindowsScreenConfiguration.cpp
- widget/Screen.cpp 14 additions, 0 deletionswidget/Screen.cpp
- widget/Screen.h 6 additions, 0 deletionswidget/Screen.h
- widget/windows/WinUtils.cpp 3 additions, 2 deletionswidget/windows/WinUtils.cpp
- widget/windows/WinUtils.h 2 additions, 0 deletionswidget/windows/WinUtils.h
Loading
Please register or sign in to comment