| 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 // This is added temporarily. Once the renaming of namespace usages |
| 22 // accross all folders are done, this will be removed. |
| 23 // TODO(ssid): crrev.com/837303004 |
| 24 namespace debug { |
| 25 using ::base::trace_event::TracedValue; |
| 20 } | 26 } |
| 27 } // namespace base |
| 21 | 28 |
| 22 namespace cc { | 29 namespace cc { |
| 23 | 30 |
| 24 class CC_EXPORT PictureLayerTilingSet { | 31 class CC_EXPORT PictureLayerTilingSet { |
| 25 public: | 32 public: |
| 26 enum TilingRangeType { | 33 enum TilingRangeType { |
| 27 HIGHER_THAN_HIGH_RES, | 34 HIGHER_THAN_HIGH_RES, |
| 28 HIGH_RES, | 35 HIGH_RES, |
| 29 BETWEEN_HIGH_AND_LOW_RES, | 36 BETWEEN_HIGH_AND_LOW_RES, |
| 30 LOW_RES, | 37 LOW_RES, |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 173 const int skewport_extrapolation_limit_in_content_pixels_; | 180 const int skewport_extrapolation_limit_in_content_pixels_; |
| 174 PictureLayerTilingClient* client_; | 181 PictureLayerTilingClient* client_; |
| 175 | 182 |
| 176 friend class Iterator; | 183 friend class Iterator; |
| 177 DISALLOW_COPY_AND_ASSIGN(PictureLayerTilingSet); | 184 DISALLOW_COPY_AND_ASSIGN(PictureLayerTilingSet); |
| 178 }; | 185 }; |
| 179 | 186 |
| 180 } // namespace cc | 187 } // namespace cc |
| 181 | 188 |
| 182 #endif // CC_RESOURCES_PICTURE_LAYER_TILING_SET_H_ | 189 #endif // CC_RESOURCES_PICTURE_LAYER_TILING_SET_H_ |
| OLD | NEW |