blob: 62823bee50261c74c6a0dcc01769f5def2e8fc99 [file] [log] [blame]
// 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/macros.h"
#include "cc/animation/animation_export.h"
namespace cc {
class CC_ANIMATION_EXPORT AnimationIdProvider {
public:
// These functions each return monotonically increasing values.
static int NextKeyframeModelId();
static int NextGroupId();
static int NextTimelineId();
static int NextAnimationId();
private:
DISALLOW_IMPLICIT_CONSTRUCTORS(AnimationIdProvider);
};
} // namespace cc
#endif // CC_ANIMATION_ANIMATION_ID_PROVIDER_H_