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