chromium/cc/animation/scroll_offset_animations.h

// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CC_ANIMATION_SCROLL_OFFSET_ANIMATIONS_H_
#define CC_ANIMATION_SCROLL_OFFSET_ANIMATIONS_H_

#include <unordered_map>

#include "base/memory/raw_ptr.h"
#include "cc/animation/scroll_offset_animations_impl.h"
#include "cc/trees/mutator_host_client.h"

namespace cc {

// A ScrollOffsetAnimationUpdate represents a change on the main thread
// that may impact an impl-only scroll offset animation.
// Note that this class only exists on the main thread.
struct CC_ANIMATION_EXPORT ScrollOffsetAnimationUpdate {};

// ScrollOffsetAnimations contains a list of ScrollOffsetAnimationUpdates.
// PushPropertiesTo is called during commit time and the necessary update is
// made to the impl-only animation.
class CC_ANIMATION_EXPORT ScrollOffsetAnimations {};

}  // namespace cc

#endif  // CC_ANIMATION_SCROLL_OFFSET_ANIMATIONS_H_