Introduce chromeos::TabletState
chromeos::TabletState is the singleton that actually holds the information about the current TabletMode state. The state getter method is public, but its setter is not. The idea is that only a handful of classes can actually set the state, eg ash::TabletModeController. In the future, Lacros will also be able to create a chromeos::TabletState instance and set the tablet mode state via the (upcoming) use of `zcr_remote_shell` Exo protocol extension. BUG=1113900 R=jamescook@chromium.org Change-Id: I2ec77e7f038095b7e4f9c776683993f6b30c409e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2443219 Commit-Queue: Antonio Gomes (GMT-4) <tonikitoo@igalia.com> Reviewed-by:James Cook <jamescook@chromium.org> Cr-Commit-Position: refs/heads/master@{#813394}
Showing
chromeos/ui/tablet_state.cc
0 → 100644
chromeos/ui/tablet_state.h
0 → 100644
Please register or sign in to comment