summaryrefslogtreecommitdiffstats
path: root/chromium/ui/display/tablet_state.cc
blob: b14be18ae49c9c3f990aab04d624c790535f766e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "ui/display/tablet_state.h"

namespace display {

bool IsTabletStateChanging(TabletState state) {
  return state == TabletState::kEnteringTabletMode ||
         state == TabletState::kExitingTabletMode;
}

}  // namespace display