| 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_H_ | 5 #ifndef CC_RESOURCES_PICTURE_LAYER_TILING_H_ |
| 6 #define CC_RESOURCES_PICTURE_LAYER_TILING_H_ | 6 #define CC_RESOURCES_PICTURE_LAYER_TILING_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 #include <utility> | 9 #include <utility> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
| 13 #include "base/containers/hash_tables.h" | 13 #include "base/containers/hash_tables.h" |
| 14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
| 15 #include "cc/base/cc_export.h" | 15 #include "cc/base/cc_export.h" |
| 16 #include "cc/base/region.h" | 16 #include "cc/base/region.h" |
| 17 #include "cc/base/tiling_data.h" | 17 #include "cc/base/tiling_data.h" |
| 18 #include "cc/resources/tile.h" | 18 #include "cc/resources/tile.h" |
| 19 #include "cc/resources/tile_priority.h" | 19 #include "cc/resources/tile_priority.h" |
| 20 #include "cc/trees/occlusion.h" | 20 #include "cc/trees/occlusion.h" |
| 21 #include "ui/gfx/geometry/rect.h" | 21 #include "ui/gfx/geometry/rect.h" |
| 22 | 22 |
| 23 namespace base { | 23 namespace base { |
| 24 namespace trace_event { |
| 25 class TracedValue; |
| 26 } |
| 27 |
| 24 namespace debug { | 28 namespace debug { |
| 25 class TracedValue; | 29 using ::base::trace_event::TracedValue; |
| 26 } | 30 } |
| 27 } | 31 } |
| 28 | 32 |
| 29 namespace cc { | 33 namespace cc { |
| 30 | 34 |
| 31 class PictureLayerTiling; | 35 class PictureLayerTiling; |
| 32 class RasterSource; | 36 class RasterSource; |
| 33 | 37 |
| 34 class CC_EXPORT PictureLayerTilingClient { | 38 class CC_EXPORT PictureLayerTilingClient { |
| 35 public: | 39 public: |
| (...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 317 | 321 |
| 318 private: | 322 private: |
| 319 DISALLOW_ASSIGN(PictureLayerTiling); | 323 DISALLOW_ASSIGN(PictureLayerTiling); |
| 320 | 324 |
| 321 RectExpansionCache expansion_cache_; | 325 RectExpansionCache expansion_cache_; |
| 322 }; | 326 }; |
| 323 | 327 |
| 324 } // namespace cc | 328 } // namespace cc |
| 325 | 329 |
| 326 #endif // CC_RESOURCES_PICTURE_LAYER_TILING_H_ | 330 #endif // CC_RESOURCES_PICTURE_LAYER_TILING_H_ |
| OLD | NEW |