summaryrefslogtreecommitdiff
path: root/chromium/ui/display/tablet_state.h
blob: 0ac12df0e4a97ccea6eeef968b12f008b104695f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef UI_DISPLAY_TABLET_STATE_H_
#define UI_DISPLAY_TABLET_STATE_H_

namespace display {

// Tracks whether we are in the process of entering or exiting tablet mode.
enum class TabletState {
  kInClamshellMode,
  kEnteringTabletMode,
  kInTabletMode,
  kExitingTabletMode,
};

}  // namespace display

#endif  // UI_DISPLAY_TABLET_STATE_H_