OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CC_ANIMATION_ID_PROVIDER | 5 #ifndef CC_ANIMATION_ID_PROVIDER |
6 #define CC_ANIMATION_ID_PROVIDER | 6 #define CC_ANIMATION_ID_PROVIDER |
7 | 7 |
8 #include "cc/cc_export.h" | 8 #include "cc/base/cc_export.h" |
9 | 9 |
10 namespace cc { | 10 namespace cc { |
11 | 11 |
12 class CC_EXPORT AnimationIdProvider { | 12 class CC_EXPORT AnimationIdProvider { |
13 public: | 13 public: |
14 // These functions each return monotonically increasing values. | 14 // These functions each return monotonically increasing values. |
15 static int NextAnimationId(); | 15 static int NextAnimationId(); |
16 static int NextGroupId(); | 16 static int NextGroupId(); |
17 }; | 17 }; |
18 | 18 |
19 } | 19 } |
20 | 20 |
21 #endif // CC_ANIMATION_ID_PROVIDER | 21 #endif // CC_ANIMATION_ID_PROVIDER |
OLD | NEW |