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 #ifndef CC_RESOURCES_LAYER_TILING_DATA_H_ | 5 #ifndef CC_RESOURCES_LAYER_TILING_DATA_H_ |
6 #define CC_RESOURCES_LAYER_TILING_DATA_H_ | 6 #define CC_RESOURCES_LAYER_TILING_DATA_H_ |
7 | 7 |
8 #include <utility> | 8 #include <utility> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/containers/hash_tables.h" | 11 #include "base/containers/hash_tables.h" |
12 #include "base/containers/scoped_ptr_hash_map.h" | 12 #include "base/containers/scoped_ptr_hash_map.h" |
13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
14 #include "cc/base/cc_export.h" | 14 #include "cc/base/cc_export.h" |
15 #include "cc/base/simple_enclosed_region.h" | 15 #include "cc/base/simple_enclosed_region.h" |
16 #include "cc/base/tiling_data.h" | 16 #include "cc/base/tiling_data.h" |
17 #include "ui/gfx/rect.h" | 17 #include "ui/gfx/geometry/rect.h" |
18 | 18 |
19 namespace cc { | 19 namespace cc { |
20 | 20 |
21 class CC_EXPORT LayerTilingData { | 21 class CC_EXPORT LayerTilingData { |
22 public: | 22 public: |
23 enum BorderTexelOption { | 23 enum BorderTexelOption { |
24 HAS_BORDER_TEXELS, | 24 HAS_BORDER_TEXELS, |
25 NO_BORDER_TEXELS | 25 NO_BORDER_TEXELS |
26 }; | 26 }; |
27 | 27 |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 | 93 |
94 TileMap tiles_; | 94 TileMap tiles_; |
95 TilingData tiling_data_; | 95 TilingData tiling_data_; |
96 | 96 |
97 DISALLOW_COPY(LayerTilingData); | 97 DISALLOW_COPY(LayerTilingData); |
98 }; | 98 }; |
99 | 99 |
100 } // namespace cc | 100 } // namespace cc |
101 | 101 |
102 #endif // CC_RESOURCES_LAYER_TILING_DATA_H_ | 102 #endif // CC_RESOURCES_LAYER_TILING_DATA_H_ |
OLD | NEW |