blob: b912b8f95ebb48107ecd3cbabeb4ff46e07dd3e6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
// Copyright 2016 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 THIRD_PARTY_BLINK_RENDERER_CORE_ANIMATION_INTERPOLATION_TYPES_MAP_H_
#define THIRD_PARTY_BLINK_RENDERER_CORE_ANIMATION_INTERPOLATION_TYPES_MAP_H_
#include <memory>
#include "third_party/blink/renderer/platform/wtf/vector.h"
namespace blink {
class InterpolationType;
class PropertyHandle;
using InterpolationTypes = Vector<std::unique_ptr<const InterpolationType>>;
class InterpolationTypesMap {
STACK_ALLOCATED();
public:
virtual const InterpolationTypes& Get(const PropertyHandle&) const = 0;
virtual size_t Version() const { return 0; }
};
} // namespace blink
#endif // THIRD_PARTY_BLINK_RENDERER_CORE_ANIMATION_INTERPOLATION_TYPES_MAP_H_
|