personalization_entry_point.h 1008 B

12345678910111213141516171819202122232425262728293031323334
  1. // Copyright 2022 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_PERSONALIZATION_ENTRY_POINT_H_
  5. #define ASH_CONSTANTS_PERSONALIZATION_ENTRY_POINT_H_
  6. namespace ash {
  7. // Entry points lead to Personalization Hub.
  8. // These values are persisted to logs. Entries should not be renumbered and
  9. // numeric values should never be reused.
  10. enum class PersonalizationEntryPoint {
  11. // Home screen right click.
  12. kHomeScreen = 0,
  13. // System tray/ Quick Settings.
  14. kSystemTray = 1,
  15. // Launcher search.
  16. kLauncherSearch = 2,
  17. // Settings
  18. kSettings = 3,
  19. // Settings search.
  20. kSettingsSearch = 4,
  21. // Keyboard brightness slider.
  22. kKeyboardBrightnessSlider = 5,
  23. kMaxValue = kKeyboardBrightnessSlider,
  24. };
  25. inline constexpr char kPersonalizationEntryPointHistogramName[] =
  26. "Ash.Personalization.EntryPoint";
  27. } // namespace ash
  28. #endif // ASH_CONSTANTS_PERSONALIZATION_ENTRY_POINT_H_