summaryrefslogtreecommitdiffstats
path: root/cc/animation_id_provider.h
blob: 07a2452801d3ce8108c77ac15e43824fd99ed9cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// 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_ID_PROVIDER
#define CC_ANIMATION_ID_PROVIDER

#include "cc/cc_export.h"

namespace cc {

class CC_EXPORT AnimationIdProvider {
 public:
  // These functions each return monotonically increasing values.
  static int NextAnimationId();
  static int NextGroupId();
};

}

#endif  // CC_ANIMATION_ID_PROVIDER