Chromium Code Reviews
DescriptionAllow arc app to lock screen orientation in TouchView/Tablet mode
mojo change:
* Added orientation lock parameter to AppInfo
* Added OnTaskOrientationLockRequested method on AppHost
c++ change:
* Apply orientation lock to arc windows upon Tablet mode entry
* Unset lock and set the rotation back upon Tablet mode exit.
* Apply the rotation lock when a task requested. This is kept only on memory and does not persist.
BUG=626445
,b/28341028
TEST=ChromeLauncherControllerImplTest.ArcOrientatinoLock
Review-Url: https://codereview.chromium.org/2112013002
Cr-Commit-Position: refs/heads/master@{#404244}
(cherry picked from commit 342f3485150be7e10404671e811d9c881f8b62ea)
Committed: https://chromium.googlesource.com/chromium/src/+/41c090842fe6ec0a457cb92998336f2884b6e5c2
Patch Set 1 #Patch Set 2 : Mark POWER key as system key so that it won't be passed to regular apps. #
Messages
Total messages: 2 (1 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||