OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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_TILES_TILE_PRIORITY_H_ | 5 #ifndef CC_TILES_TILE_PRIORITY_H_ |
6 #define CC_TILES_TILE_PRIORITY_H_ | 6 #define CC_TILES_TILE_PRIORITY_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include <algorithm> | 10 #include <algorithm> |
9 #include <limits> | 11 #include <limits> |
10 #include <string> | 12 #include <string> |
11 | 13 |
12 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
13 #include "base/trace_event/trace_event_argument.h" | 15 #include "base/trace_event/trace_event_argument.h" |
14 #include "cc/base/cc_export.h" | 16 #include "cc/base/cc_export.h" |
15 | 17 |
16 namespace base { | 18 namespace base { |
17 class Value; | 19 class Value; |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 bool operator!=(const GlobalStateThatImpactsTilePriority& other) const { | 119 bool operator!=(const GlobalStateThatImpactsTilePriority& other) const { |
118 return !(*this == other); | 120 return !(*this == other); |
119 } | 121 } |
120 | 122 |
121 void AsValueInto(base::trace_event::TracedValue* dict) const; | 123 void AsValueInto(base::trace_event::TracedValue* dict) const; |
122 }; | 124 }; |
123 | 125 |
124 } // namespace cc | 126 } // namespace cc |
125 | 127 |
126 #endif // CC_TILES_TILE_PRIORITY_H_ | 128 #endif // CC_TILES_TILE_PRIORITY_H_ |
OLD | NEW |