| 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_PICTURE_LAYER_TILING_SET_H_ | 5 #ifndef CC_RESOURCES_PICTURE_LAYER_TILING_SET_H_ |
| 6 #define CC_PICTURE_LAYER_TILING_SET_H_ | 6 #define CC_RESOURCES_PICTURE_LAYER_TILING_SET_H_ |
| 7 | 7 |
| 8 #include "cc/base/region.h" | 8 #include "cc/base/region.h" |
| 9 #include "cc/base/scoped_ptr_vector.h" | 9 #include "cc/base/scoped_ptr_vector.h" |
| 10 #include "cc/picture_layer_tiling.h" | 10 #include "cc/resources/picture_layer_tiling.h" |
| 11 #include "ui/gfx/size.h" | 11 #include "ui/gfx/size.h" |
| 12 | 12 |
| 13 namespace cc { | 13 namespace cc { |
| 14 | 14 |
| 15 class CC_EXPORT PictureLayerTilingSet { | 15 class CC_EXPORT PictureLayerTilingSet { |
| 16 public: | 16 public: |
| 17 explicit PictureLayerTilingSet(PictureLayerTilingClient* client); | 17 explicit PictureLayerTilingSet(PictureLayerTilingClient* client); |
| 18 ~PictureLayerTilingSet(); | 18 ~PictureLayerTilingSet(); |
| 19 | 19 |
| 20 void SetClient(PictureLayerTilingClient* client); | 20 void SetClient(PictureLayerTilingClient* client); |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 private: | 115 private: |
| 116 PictureLayerTilingClient* client_; | 116 PictureLayerTilingClient* client_; |
| 117 gfx::Size layer_bounds_; | 117 gfx::Size layer_bounds_; |
| 118 ScopedPtrVector<PictureLayerTiling> tilings_; | 118 ScopedPtrVector<PictureLayerTiling> tilings_; |
| 119 | 119 |
| 120 friend class Iterator; | 120 friend class Iterator; |
| 121 }; | 121 }; |
| 122 | 122 |
| 123 } // namespace cc | 123 } // namespace cc |
| 124 | 124 |
| 125 #endif // CC_PICTURE_LAYER_TILING_SET_H_ | 125 #endif // CC_RESOURCES_PICTURE_LAYER_TILING_SET_H_ |
| OLD | NEW |