Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(193)

Side by Side Diff: cc/animation/animation_id_provider.h

Issue 1539203002: Switch to standard integer types in cc/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more includes Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « cc/animation/animation_host.cc ('k') | cc/animation/animation_player.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_ANIMATION_ID_PROVIDER_H_ 5 #ifndef CC_ANIMATION_ANIMATION_ID_PROVIDER_H_
6 #define CC_ANIMATION_ANIMATION_ID_PROVIDER_H_ 6 #define CC_ANIMATION_ANIMATION_ID_PROVIDER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/macros.h"
9 #include "cc/base/cc_export.h" 9 #include "cc/base/cc_export.h"
10 10
11 namespace cc { 11 namespace cc {
12 12
13 class CC_EXPORT AnimationIdProvider { 13 class CC_EXPORT AnimationIdProvider {
14 public: 14 public:
15 // These functions each return monotonically increasing values. 15 // These functions each return monotonically increasing values.
16 static int NextAnimationId(); 16 static int NextAnimationId();
17 static int NextGroupId(); 17 static int NextGroupId();
18 static int NextTimelineId(); 18 static int NextTimelineId();
19 static int NextPlayerId(); 19 static int NextPlayerId();
20 20
21 private: 21 private:
22 DISALLOW_IMPLICIT_CONSTRUCTORS(AnimationIdProvider); 22 DISALLOW_IMPLICIT_CONSTRUCTORS(AnimationIdProvider);
23 }; 23 };
24 24
25 } // namespace cc 25 } // namespace cc
26 26
27 #endif // CC_ANIMATION_ANIMATION_ID_PROVIDER_H_ 27 #endif // CC_ANIMATION_ANIMATION_ID_PROVIDER_H_
OLDNEW
« no previous file with comments | « cc/animation/animation_host.cc ('k') | cc/animation/animation_player.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698