tablet_state.h 508 B

1234567891011121314151617181920
  1. // Copyright 2020 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #ifndef UI_DISPLAY_TABLET_STATE_H_
  5. #define UI_DISPLAY_TABLET_STATE_H_
  6. namespace display {
  7. // Tracks whether we are in the process of entering or exiting tablet mode.
  8. enum class TabletState {
  9. kInClamshellMode,
  10. kEnteringTabletMode,
  11. kInTabletMode,
  12. kExitingTabletMode,
  13. };
  14. } // namespace display
  15. #endif // UI_DISPLAY_TABLET_STATE_H_