ambient_animation_resource_constants.h 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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_AMBIENT_RESOURCES_AMBIENT_ANIMATION_RESOURCE_CONSTANTS_H_
  5. #define ASH_AMBIENT_RESOURCES_AMBIENT_ANIMATION_RESOURCE_CONSTANTS_H_
  6. #include <array>
  7. #include "base/strings/string_piece.h"
  8. namespace ash {
  9. namespace ambient {
  10. namespace resources {
  11. // Feel the breeze.
  12. inline constexpr base::StringPiece kClipBottomAssetId = "clip_bottom.png";
  13. inline constexpr base::StringPiece kClipTopAssetId = "clip_top.png";
  14. inline constexpr base::StringPiece kFrameImage1AssetId = "frame_image_1.png";
  15. inline constexpr base::StringPiece kFrameImage2AssetId = "frame_image_2.png";
  16. inline constexpr base::StringPiece kTreeShadowAssetId = "tree_shadow.png";
  17. inline constexpr base::StringPiece kStringAssetId = "string.png";
  18. inline constexpr int kFeelTheBreezeNumStaticAssets = 6;
  19. inline constexpr std::array<base::StringPiece, kFeelTheBreezeNumStaticAssets>
  20. kAllFeelTheBreezeStaticAssets = {kClipBottomAssetId, kClipTopAssetId,
  21. kFrameImage1AssetId, kFrameImage2AssetId,
  22. kTreeShadowAssetId, kStringAssetId};
  23. // Float on by.
  24. inline constexpr base::StringPiece kShadowA1AssetId = "shadow_a_1.png";
  25. inline constexpr base::StringPiece kShadowB1AssetId = "shadow_b_1.png";
  26. inline constexpr base::StringPiece kShadowC1AssetId = "shadow_c_1.png";
  27. inline constexpr base::StringPiece kShadowD1AssetId = "shadow_d_1.png";
  28. inline constexpr base::StringPiece kShadowE1AssetId = "shadow_e_1.png";
  29. inline constexpr base::StringPiece kShadowF1AssetId = "shadow_f_1.png";
  30. inline constexpr base::StringPiece kShadowG1AssetId = "shadow_g_1.png";
  31. inline constexpr base::StringPiece kShadowH1AssetId = "shadow_h_1.png";
  32. inline constexpr int kFloatOnByNumStaticAssets = 8;
  33. inline constexpr std::array<base::StringPiece, kFloatOnByNumStaticAssets>
  34. kAllFloatOnByStaticAssets = {
  35. kShadowA1AssetId, kShadowB1AssetId, kShadowC1AssetId, kShadowD1AssetId,
  36. kShadowE1AssetId, kShadowF1AssetId, kShadowG1AssetId, kShadowH1AssetId,
  37. };
  38. } // namespace resources
  39. } // namespace ambient
  40. } // namespace ash
  41. #endif // ASH_AMBIENT_RESOURCES_AMBIENT_ANIMATION_RESOURCE_CONSTANTS_H_