blob: b403841315bcc0426d3676602d1bd11006b3f02d (
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
|
// Copyright (c) 2013 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 CC_ANIMATION_ANIMATION_ID_PROVIDER_H_
#define CC_ANIMATION_ANIMATION_ID_PROVIDER_H_
#include "base/basictypes.h"
#include "cc/base/cc_export.h"
namespace cc {
class CC_EXPORT AnimationIdProvider {
public:
// These functions each return monotonically increasing values.
static int NextAnimationId();
static int NextGroupId();
private:
DISALLOW_IMPLICIT_CONSTRUCTORS(AnimationIdProvider);
};
} // namespace cc
#endif // CC_ANIMATION_ANIMATION_ID_PROVIDER_H_
|