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

Side by Side Diff: cc/trees/element_id.h

Issue 2492133002: CC Animation: Move ElementId from animation to trees. (Closed)
Patch Set: Rebase. Created 4 years, 1 month 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/test/animation_test_common.h ('k') | cc/trees/element_id.cc » ('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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_ELEMENT_ID_H_ 5 #ifndef CC_TREES_ELEMENT_ID_H_
6 #define CC_ANIMATION_ELEMENT_ID_H_ 6 #define CC_TREES_ELEMENT_ID_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <cstdint> 10 #include <cstdint>
11 #include <functional> 11 #include <functional>
12 #include <iosfwd> 12 #include <iosfwd>
13 #include <memory> 13 #include <memory>
14 14
15 #include "base/hash.h" 15 #include "base/hash.h"
16 #include "cc/base/cc_export.h" 16 #include "cc/base/cc_export.h"
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 60
61 struct CC_EXPORT ElementIdHash { 61 struct CC_EXPORT ElementIdHash {
62 size_t operator()(ElementId key) const; 62 size_t operator()(ElementId key) const;
63 }; 63 };
64 64
65 // Stream operator so ElementId can be used in assertion statements. 65 // Stream operator so ElementId can be used in assertion statements.
66 CC_EXPORT std::ostream& operator<<(std::ostream& out, const ElementId& id); 66 CC_EXPORT std::ostream& operator<<(std::ostream& out, const ElementId& id);
67 67
68 } // namespace cc 68 } // namespace cc
69 69
70 #endif // CC_ANIMATION_ELEMENT_ID_H_ 70 #endif // CC_TREES_ELEMENT_ID_H_
OLDNEW
« no previous file with comments | « cc/test/animation_test_common.h ('k') | cc/trees/element_id.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698