| OLD | NEW |
| 1 // Copyright 2011 The Chromium Authors. All rights reserved. | 1 // Copyright 2011 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 | 5 |
| 6 #ifndef CC_LAYER_TILING_DATA_H_ | 6 #ifndef CC_LAYER_TILING_DATA_H_ |
| 7 #define CC_LAYER_TILING_DATA_H_ | 7 #define CC_LAYER_TILING_DATA_H_ |
| 8 | 8 |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 11 #include "cc/cc_export.h" | 11 #include "cc/base/cc_export.h" |
| 12 #include "cc/hash_pair.h" | 12 #include "cc/base/hash_pair.h" |
| 13 #include "cc/region.h" | 13 #include "cc/base/region.h" |
| 14 #include "cc/scoped_ptr_hash_map.h" | 14 #include "cc/base/scoped_ptr_hash_map.h" |
| 15 #include "cc/tiling_data.h" | 15 #include "cc/base/tiling_data.h" |
| 16 #include "ui/gfx/rect.h" | 16 #include "ui/gfx/rect.h" |
| 17 | 17 |
| 18 namespace cc { | 18 namespace cc { |
| 19 | 19 |
| 20 class CC_EXPORT LayerTilingData { | 20 class CC_EXPORT LayerTilingData { |
| 21 public: | 21 public: |
| 22 enum BorderTexelOption { HasBorderTexels, NoBorderTexels }; | 22 enum BorderTexelOption { HasBorderTexels, NoBorderTexels }; |
| 23 | 23 |
| 24 ~LayerTilingData(); | 24 ~LayerTilingData(); |
| 25 | 25 |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 protected: | 80 protected: |
| 81 LayerTilingData(const gfx::Size& tileSize, BorderTexelOption); | 81 LayerTilingData(const gfx::Size& tileSize, BorderTexelOption); |
| 82 | 82 |
| 83 TileMap m_tiles; | 83 TileMap m_tiles; |
| 84 TilingData m_tilingData; | 84 TilingData m_tilingData; |
| 85 }; | 85 }; |
| 86 | 86 |
| 87 } | 87 } |
| 88 | 88 |
| 89 #endif // CC_LAYER_TILING_DATA_H_ | 89 #endif // CC_LAYER_TILING_DATA_H_ |
| OLD | NEW |