screen_backlight_type.h 663 B

123456789101112131415161718192021222324
  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 ASH_PUBLIC_CPP_SCREEN_BACKLIGHT_TYPE_H_
  5. #define ASH_PUBLIC_CPP_SCREEN_BACKLIGHT_TYPE_H_
  6. namespace ash {
  7. // Screen backlight state as communicated by D-Bus signals from powerd about
  8. // backlight brightness changes.
  9. enum class ScreenBacklightState {
  10. // The screen is on.
  11. ON,
  12. // The screen is off.
  13. OFF,
  14. // The screen is off, specifically due to an automated change like user
  15. // inactivity.
  16. OFF_AUTO,
  17. };
  18. } // namespace ash
  19. #endif // ASH_PUBLIC_CPP_SCREEN_BACKLIGHT_TYPE_H_