#ifndef THIRD_PARTY_BLINK_RENDERER_CORE_ANIMATION_ANIMATION_TIME_DELTA_H_
#define THIRD_PARTY_BLINK_RENDERER_CORE_ANIMATION_ANIMATION_TIME_DELTA_H_
#include "third_party/blink/renderer/core/animation/buildflags.h"
#include "base/time/time.h"
#include "third_party/blink/renderer/core/core_export.h"
#include "third_party/blink/renderer/platform/wtf/allocator/allocator.h"
#include <limits>
#include <ostream>
namespace blink {
#if !BUILDFLAG(BLINK_ANIMATION_USE_TIME_DELTA)
class CORE_EXPORT AnimationTimeDelta { … };
template <typename T>
AnimationTimeDelta operator*(T a, AnimationTimeDelta td) { … }
bool CORE_EXPORT operator==(const AnimationTimeDelta& lhs,
const AnimationTimeDelta& rhs);
bool CORE_EXPORT operator!=(const AnimationTimeDelta& lhs,
const AnimationTimeDelta& rhs);
bool CORE_EXPORT operator>(const AnimationTimeDelta& lhs,
const AnimationTimeDelta& rhs);
bool CORE_EXPORT operator<(const AnimationTimeDelta& lhs,
const AnimationTimeDelta& rhs);
bool CORE_EXPORT operator>=(const AnimationTimeDelta& lhs,
const AnimationTimeDelta& rhs);
bool CORE_EXPORT operator<=(const AnimationTimeDelta& lhs,
const AnimationTimeDelta& rhs);
CORE_EXPORT std::ostream& operator<<(std::ostream& os,
const AnimationTimeDelta& time);
#else
using AnimationTimeDelta = base::TimeDelta;
#define ANIMATION_TIME_DELTA_FROM_SECONDS …
#define ANIMATION_TIME_DELTA_FROM_MILLISECONDS …
#endif
}
#endif