| 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 debug { | 17 namespace trace_event { |
| 18 class TracedValue; | 18 class TracedValue; |
| 19 } | 19 } |
| 20 |
| 21 // TODO(ssid): remove these aliases after the tracing clients are moved to the |
| 22 // new trace_event namespace. See crbug.com/451032. ETA: March 2015 |
| 23 namespace debug { |
| 24 using ::base::trace_event::TracedValue; |
| 20 } | 25 } |
| 26 } // namespace base |
| 21 | 27 |
| 22 namespace cc { | 28 namespace cc { |
| 23 | 29 |
| 24 class CC_EXPORT PictureLayerTilingSet { | 30 class CC_EXPORT PictureLayerTilingSet { |
| 25 public: | 31 public: |
| 26 enum TilingRangeType { | 32 enum TilingRangeType { |
| 27 HIGHER_THAN_HIGH_RES, | 33 HIGHER_THAN_HIGH_RES, |
| 28 HIGH_RES, | 34 HIGH_RES, |
| 29 BETWEEN_HIGH_AND_LOW_RES, | 35 BETWEEN_HIGH_AND_LOW_RES, |
| 30 LOW_RES, | 36 LOW_RES, |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 173 const int skewport_extrapolation_limit_in_content_pixels_; | 179 const int skewport_extrapolation_limit_in_content_pixels_; |
| 174 PictureLayerTilingClient* client_; | 180 PictureLayerTilingClient* client_; |
| 175 | 181 |
| 176 friend class Iterator; | 182 friend class Iterator; |
| 177 DISALLOW_COPY_AND_ASSIGN(PictureLayerTilingSet); | 183 DISALLOW_COPY_AND_ASSIGN(PictureLayerTilingSet); |
| 178 }; | 184 }; |
| 179 | 185 |
| 180 } // namespace cc | 186 } // namespace cc |
| 181 | 187 |
| 182 #endif // CC_RESOURCES_PICTURE_LAYER_TILING_SET_H_ | 188 #endif // CC_RESOURCES_PICTURE_LAYER_TILING_SET_H_ |
| OLD | NEW |