scrollable_shelf_constants.cc 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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. #include "ash/shelf/scrollable_shelf_constants.h"
  5. namespace ash {
  6. namespace scrollable_shelf_constants {
  7. // The definitions of the histogram names for the scrollable shelf dragging
  8. // metrics.
  9. const char kScrollDraggingTabletLauncherVisibleHistogram[] =
  10. "Apps.ScrollableShelf.Drag.PresentationTime.TabletMode.LauncherVisible";
  11. const char kScrollDraggingTabletLauncherVisibleMaxLatencyHistogram[] =
  12. "Apps.ScrollableShelf.Drag.PresentationTime.MaxLatency.TabletMode."
  13. "LauncherVisible";
  14. const char kScrollDraggingTabletLauncherHiddenHistogram[] =
  15. "Apps.ScrollableShelf.Drag.PresentationTime.TabletMode.LauncherHidden";
  16. const char kScrollDraggingTabletLauncherHiddenMaxLatencyHistogram[] =
  17. "Apps.ScrollableShelf.Drag.PresentationTime.MaxLatency.TabletMode."
  18. "LauncherHidden";
  19. const char kScrollDraggingClamshellLauncherVisibleHistogram[] =
  20. "Apps.ScrollableShelf.Drag.PresentationTime.ClamshellMode.LauncherVisible";
  21. const char kScrollDraggingClamshellLauncherVisibleMaxLatencyHistogram[] =
  22. "Apps.ScrollableShelf.Drag.PresentationTime.MaxLatency.ClamshellMode."
  23. "LauncherVisible";
  24. const char kScrollDraggingClamshellLauncherHiddenHistogram[] =
  25. "Apps.ScrollableShelf.Drag.PresentationTime.ClamshellMode.LauncherHidden";
  26. const char kScrollDraggingClamshellLauncherHiddenMaxLatencyHistogram[] =
  27. "Apps.ScrollableShelf.Drag.PresentationTime.MaxLatency.ClamshellMode."
  28. "LauncherHidden";
  29. // The definitions of the histogram names for the scrollable shelf animation
  30. // smoothness metrics.
  31. const char kAnimationSmoothnessHistogram[] =
  32. "Apps.ScrollableShelf.AnimationSmoothness";
  33. const char kAnimationSmoothnessTabletLauncherVisibleHistogram[] =
  34. "Apps.ScrollableShelf.AnimationSmoothness.TabletMode.LauncherVisible";
  35. const char kAnimationSmoothnessTabletLauncherHiddenHistogram[] =
  36. "Apps.ScrollableShelf.AnimationSmoothness.TabletMode.LauncherHidden";
  37. const char kAnimationSmoothnessClamshellLauncherVisibleHistogram[] =
  38. "Apps.ScrollableShelf.AnimationSmoothness.ClamshellMode.LauncherVisible";
  39. const char kAnimationSmoothnessClamshellLauncherHiddenHistogram[] =
  40. "Apps.ScrollableShelf.AnimationSmoothness.ClamshellMode.LauncherHidden";
  41. } // namespace scrollable_shelf_constants
  42. } // namespace ash