app_types.h 686 B

123456789101112131415161718192021222324252627
  1. // Copyright 2021 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_CONSTANTS_APP_TYPES_H_
  5. #define ASH_CONSTANTS_APP_TYPES_H_
  6. namespace ash {
  7. // App type of the window.
  8. // This enum is used to control a UMA histogram buckets. If you change this
  9. // enum, you should update DownEventMetric in
  10. // ash/metrics/pointer_metrics_recorder.h as well.
  11. enum class AppType {
  12. NON_APP = 0,
  13. BROWSER,
  14. CHROME_APP,
  15. ARC_APP,
  16. CROSTINI_APP,
  17. SYSTEM_APP,
  18. // TODO(crbug.com/1090663): Migrate this into BROWSER.
  19. LACROS,
  20. };
  21. } // namespace ash
  22. #endif // ASH_CONSTANTS_APP_TYPES_H_