| 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_RESOURCES_TILE_PRIORITY_H_ | 5 #ifndef CC_RESOURCES_TILE_PRIORITY_H_ |
| 6 #define CC_RESOURCES_TILE_PRIORITY_H_ | 6 #define CC_RESOURCES_TILE_PRIORITY_H_ |
| 7 | 7 |
| 8 #include <algorithm> | 8 #include <algorithm> |
| 9 #include <limits> | 9 #include <limits> |
| 10 | 10 |
| 11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
| 12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
| 13 #include "cc/resources/picture_pile.h" | 13 #include "cc/resources/picture_pile.h" |
| 14 #include "ui/gfx/quad_f.h" | 14 #include "ui/gfx/geometry/quad_f.h" |
| 15 #include "ui/gfx/rect.h" | 15 #include "ui/gfx/rect.h" |
| 16 #include "ui/gfx/size.h" | 16 #include "ui/gfx/size.h" |
| 17 | 17 |
| 18 namespace base { | 18 namespace base { |
| 19 class Value; | 19 class Value; |
| 20 } | 20 } |
| 21 | 21 |
| 22 namespace cc { | 22 namespace cc { |
| 23 | 23 |
| 24 enum WhichTree { | 24 enum WhichTree { |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 bool operator!=(const GlobalStateThatImpactsTilePriority& other) const { | 167 bool operator!=(const GlobalStateThatImpactsTilePriority& other) const { |
| 168 return !(*this == other); | 168 return !(*this == other); |
| 169 } | 169 } |
| 170 | 170 |
| 171 scoped_ptr<base::Value> AsValue() const; | 171 scoped_ptr<base::Value> AsValue() const; |
| 172 }; | 172 }; |
| 173 | 173 |
| 174 } // namespace cc | 174 } // namespace cc |
| 175 | 175 |
| 176 #endif // CC_RESOURCES_TILE_PRIORITY_H_ | 176 #endif // CC_RESOURCES_TILE_PRIORITY_H_ |
| OLD | NEW |