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_PICTURE_LAYER_TILING_SET_H_ | 5 #ifndef CC_RESOURCES_PICTURE_LAYER_TILING_SET_H_ |
6 #define CC_RESOURCES_PICTURE_LAYER_TILING_SET_H_ | 6 #define CC_RESOURCES_PICTURE_LAYER_TILING_SET_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "cc/base/region.h" | 11 #include "cc/base/region.h" |
12 #include "cc/base/scoped_ptr_vector.h" | 12 #include "cc/base/scoped_ptr_vector.h" |
13 #include "cc/resources/picture_layer_tiling.h" | 13 #include "cc/resources/picture_layer_tiling.h" |
14 #include "ui/gfx/geometry/size.h" | 14 #include "ui/gfx/geometry/size.h" |
15 | 15 |
16 namespace base { | 16 namespace base { |
| 17 namespace trace_event { |
| 18 class TracedValue; |
| 19 } |
| 20 |
17 namespace debug { | 21 namespace debug { |
18 class TracedValue; | 22 using ::base::trace_event::TracedValue; |
19 } | 23 } |
20 } | 24 } |
21 | 25 |
22 namespace cc { | 26 namespace cc { |
23 | 27 |
24 class CC_EXPORT PictureLayerTilingSet { | 28 class CC_EXPORT PictureLayerTilingSet { |
25 public: | 29 public: |
26 enum TilingRangeType { | 30 enum TilingRangeType { |
27 HIGHER_THAN_HIGH_RES, | 31 HIGHER_THAN_HIGH_RES, |
28 HIGH_RES, | 32 HIGH_RES, |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
173 const int skewport_extrapolation_limit_in_content_pixels_; | 177 const int skewport_extrapolation_limit_in_content_pixels_; |
174 PictureLayerTilingClient* client_; | 178 PictureLayerTilingClient* client_; |
175 | 179 |
176 friend class Iterator; | 180 friend class Iterator; |
177 DISALLOW_COPY_AND_ASSIGN(PictureLayerTilingSet); | 181 DISALLOW_COPY_AND_ASSIGN(PictureLayerTilingSet); |
178 }; | 182 }; |
179 | 183 |
180 } // namespace cc | 184 } // namespace cc |
181 | 185 |
182 #endif // CC_RESOURCES_PICTURE_LAYER_TILING_SET_H_ | 186 #endif // CC_RESOURCES_PICTURE_LAYER_TILING_SET_H_ |
OLD | NEW |