| OLD | NEW |
| 1 // Copyright 2010 The Chromium Authors. All rights reserved. | 1 // Copyright 2010 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_BASE_TILING_DATA_H_ | 5 #ifndef CC_BASE_TILING_DATA_H_ |
| 6 #define CC_BASE_TILING_DATA_H_ | 6 #define CC_BASE_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/logging.h" | 11 #include "base/logging.h" |
| 12 #include "cc/base/cc_export.h" | 12 #include "cc/base/cc_export.h" |
| 13 #include "ui/gfx/rect.h" | 13 #include "ui/gfx/geometry/rect.h" |
| 14 #include "ui/gfx/size.h" | 14 #include "ui/gfx/geometry/size.h" |
| 15 | 15 |
| 16 namespace gfx { | 16 namespace gfx { |
| 17 class Vector2d; | 17 class Vector2d; |
| 18 } | 18 } |
| 19 | 19 |
| 20 namespace cc { | 20 namespace cc { |
| 21 | 21 |
| 22 class CC_EXPORT TilingData { | 22 class CC_EXPORT TilingData { |
| 23 public: | 23 public: |
| 24 TilingData(); | 24 TilingData(); |
| (...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 257 int border_texels_; | 257 int border_texels_; |
| 258 | 258 |
| 259 // These are computed values. | 259 // These are computed values. |
| 260 int num_tiles_x_; | 260 int num_tiles_x_; |
| 261 int num_tiles_y_; | 261 int num_tiles_y_; |
| 262 }; | 262 }; |
| 263 | 263 |
| 264 } // namespace cc | 264 } // namespace cc |
| 265 | 265 |
| 266 #endif // CC_BASE_TILING_DATA_H_ | 266 #endif // CC_BASE_TILING_DATA_H_ |
| OLD | NEW |