| 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_PICTURE_LAYER_TILING_SET_H_ |
| 6 #define CC_PICTURE_LAYER_TILING_SET_H_ | 6 #define CC_PICTURE_LAYER_TILING_SET_H_ |
| 7 | 7 |
| 8 #include "cc/picture_layer_tiling.h" | 8 #include "cc/picture_layer_tiling.h" |
| 9 #include "cc/region.h" | 9 #include "cc/region.h" |
| 10 #include "cc/scoped_ptr_vector.h" | 10 #include "cc/scoped_ptr_vector.h" |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 PictureLayerTiling::LayerDeviceAlignment layer_device_alignment_; | 104 PictureLayerTiling::LayerDeviceAlignment layer_device_alignment_; |
| 105 PictureLayerTiling::Iterator tiling_iter_; | 105 PictureLayerTiling::Iterator tiling_iter_; |
| 106 int current_tiling_; | 106 int current_tiling_; |
| 107 int ideal_tiling_; | 107 int ideal_tiling_; |
| 108 | 108 |
| 109 Region current_region_; | 109 Region current_region_; |
| 110 Region missing_region_; | 110 Region missing_region_; |
| 111 Region::Iterator region_iter_; | 111 Region::Iterator region_iter_; |
| 112 }; | 112 }; |
| 113 | 113 |
| 114 scoped_ptr<base::Value> AsValue() const; |
| 115 |
| 114 private: | 116 private: |
| 115 PictureLayerTilingClient* client_; | 117 PictureLayerTilingClient* client_; |
| 116 gfx::Size layer_bounds_; | 118 gfx::Size layer_bounds_; |
| 117 ScopedPtrVector<PictureLayerTiling> tilings_; | 119 ScopedPtrVector<PictureLayerTiling> tilings_; |
| 118 | 120 |
| 119 friend class Iterator; | 121 friend class Iterator; |
| 120 }; | 122 }; |
| 121 | 123 |
| 122 } // namespace cc | 124 } // namespace cc |
| 123 | 125 |
| 124 #endif // CC_PICTURE_LAYER_TILING_SET_H_ | 126 #endif // CC_PICTURE_LAYER_TILING_SET_H_ |
| OLD | NEW |