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

Unified Diff: cc/animation_id_provider.h

Issue 11896017: Thread ui opacity animations (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix ash_unittests Created 7 years, 10 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/rotator/screen_rotation.cc ('k') | cc/animation_id_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/animation_id_provider.h
diff --git a/cc/animation_id_provider.h b/cc/animation_id_provider.h
new file mode 100644
index 0000000000000000000000000000000000000000..07a2452801d3ce8108c77ac15e43824fd99ed9cc
--- /dev/null
+++ b/cc/animation_id_provider.h
@@ -0,0 +1,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
« no previous file with comments | « ash/rotator/screen_rotation.cc ('k') | cc/animation_id_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698