blob: 4f854eb66f87d62ca6ca328278df987e2da8a98b [file] [log] [blame]
// Copyright 2021 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_CONSTANTS_AMBIENT_ANIMATION_THEME_H_
#define ASH_CONSTANTS_AMBIENT_ANIMATION_THEME_H_
#include <ostream>
#include "base/component_export.h"
namespace ash {
// Each corresponds to an animation design for ambient mode that UX created and
// has its own Lottie file.
//
// These values are persisted in user pref storage and logs, so they should
// never be renumbered or reused.
enum class AmbientAnimationTheme {
// This is the one exception in the list, and it describes the mode where
// IMAX photos are displayed at full screen in a slideshow fashion. This is
// not currently implemented as an "animation" and doesn't have a Lottie file.
// It is currently implemented entirely as a native UI view.
kSlideshow = 0,
kFeelTheBreeze = 1,
kFloatOnBy = 2,
kMaxValue = kFloatOnBy,
};
inline constexpr AmbientAnimationTheme kDefaultAmbientAnimationTheme =
AmbientAnimationTheme::kSlideshow;
COMPONENT_EXPORT(ASH_CONSTANTS)
std::ostream& operator<<(std::ostream& os, AmbientAnimationTheme theme);
} // namespace ash
#endif // ASH_CONSTANTS_AMBIENT_ANIMATION_THEME_H_