12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- // Copyright 2022 The Chromium Authors. All rights reserved.
- // Use of this source code is governed by a BSD-style license that can be
- // found in the LICENSE file.
- #ifndef ASH_AMBIENT_RESOURCES_AMBIENT_ANIMATION_RESOURCE_CONSTANTS_H_
- #define ASH_AMBIENT_RESOURCES_AMBIENT_ANIMATION_RESOURCE_CONSTANTS_H_
- #include <array>
- #include "base/strings/string_piece.h"
- namespace ash {
- namespace ambient {
- namespace resources {
- // Feel the breeze.
- inline constexpr base::StringPiece kClipBottomAssetId = "clip_bottom.png";
- inline constexpr base::StringPiece kClipTopAssetId = "clip_top.png";
- inline constexpr base::StringPiece kFrameImage1AssetId = "frame_image_1.png";
- inline constexpr base::StringPiece kFrameImage2AssetId = "frame_image_2.png";
- inline constexpr base::StringPiece kTreeShadowAssetId = "tree_shadow.png";
- inline constexpr base::StringPiece kStringAssetId = "string.png";
- inline constexpr int kFeelTheBreezeNumStaticAssets = 6;
- inline constexpr std::array<base::StringPiece, kFeelTheBreezeNumStaticAssets>
- kAllFeelTheBreezeStaticAssets = {kClipBottomAssetId, kClipTopAssetId,
- kFrameImage1AssetId, kFrameImage2AssetId,
- kTreeShadowAssetId, kStringAssetId};
- // Float on by.
- inline constexpr base::StringPiece kShadowA1AssetId = "shadow_a_1.png";
- inline constexpr base::StringPiece kShadowB1AssetId = "shadow_b_1.png";
- inline constexpr base::StringPiece kShadowC1AssetId = "shadow_c_1.png";
- inline constexpr base::StringPiece kShadowD1AssetId = "shadow_d_1.png";
- inline constexpr base::StringPiece kShadowE1AssetId = "shadow_e_1.png";
- inline constexpr base::StringPiece kShadowF1AssetId = "shadow_f_1.png";
- inline constexpr base::StringPiece kShadowG1AssetId = "shadow_g_1.png";
- inline constexpr base::StringPiece kShadowH1AssetId = "shadow_h_1.png";
- inline constexpr int kFloatOnByNumStaticAssets = 8;
- inline constexpr std::array<base::StringPiece, kFloatOnByNumStaticAssets>
- kAllFloatOnByStaticAssets = {
- kShadowA1AssetId, kShadowB1AssetId, kShadowC1AssetId, kShadowD1AssetId,
- kShadowE1AssetId, kShadowF1AssetId, kShadowG1AssetId, kShadowH1AssetId,
- };
- } // namespace resources
- } // namespace ambient
- } // namespace ash
- #endif // ASH_AMBIENT_RESOURCES_AMBIENT_ANIMATION_RESOURCE_CONSTANTS_H_
|