devicemode.h 548 B

123456789101112131415161718
  1. // Copyright 2017 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 CHROMEOS_SYSTEM_DEVICEMODE_H_
  5. #define CHROMEOS_SYSTEM_DEVICEMODE_H_
  6. #include "base/component_export.h"
  7. namespace chromeos {
  8. // Returns true when running as system compositor. Ie. using libudev, kms and
  9. // evdev for input and output.
  10. COMPONENT_EXPORT(CHROMEOS_SYSTEM) bool IsRunningAsSystemCompositor();
  11. } // namespace chromeos
  12. #endif // CHROMEOS_SYSTEM_DEVICEMODE_H_