| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_TEST_FAKE_PICTURE_LAYER_IMPL_H_ | 5 #ifndef CC_TEST_FAKE_PICTURE_LAYER_IMPL_H_ |
| 6 #define CC_TEST_FAKE_PICTURE_LAYER_IMPL_H_ | 6 #define CC_TEST_FAKE_PICTURE_LAYER_IMPL_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 150 FakePictureLayerImpl(LayerTreeImpl* tree_impl, | 150 FakePictureLayerImpl(LayerTreeImpl* tree_impl, |
| 151 int id, | 151 int id, |
| 152 scoped_refptr<DisplayListRasterSource> raster_source, | 152 scoped_refptr<DisplayListRasterSource> raster_source, |
| 153 bool is_mask); | 153 bool is_mask); |
| 154 FakePictureLayerImpl(LayerTreeImpl* tree_impl, | 154 FakePictureLayerImpl(LayerTreeImpl* tree_impl, |
| 155 int id, | 155 int id, |
| 156 scoped_refptr<DisplayListRasterSource> raster_source, | 156 scoped_refptr<DisplayListRasterSource> raster_source, |
| 157 bool is_mask, | 157 bool is_mask, |
| 158 const gfx::Size& layer_bounds); | 158 const gfx::Size& layer_bounds); |
| 159 FakePictureLayerImpl(LayerTreeImpl* tree_impl, int id, bool is_mask); | 159 FakePictureLayerImpl(LayerTreeImpl* tree_impl, int id, bool is_mask); |
| 160 FakePictureLayerImpl( | |
| 161 LayerTreeImpl* tree_impl, | |
| 162 int id, | |
| 163 bool is_mask, | |
| 164 scoped_refptr<LayerImpl::SyncedScrollOffset> synced_scroll_offset); | |
| 165 | 160 |
| 166 private: | 161 private: |
| 167 gfx::Size fixed_tile_size_; | 162 gfx::Size fixed_tile_size_; |
| 168 | 163 |
| 169 size_t append_quads_count_; | 164 size_t append_quads_count_; |
| 170 size_t did_become_active_call_count_; | 165 size_t did_become_active_call_count_; |
| 171 bool has_valid_tile_priorities_; | 166 bool has_valid_tile_priorities_; |
| 172 bool use_set_valid_tile_priorities_flag_; | 167 bool use_set_valid_tile_priorities_flag_; |
| 173 size_t release_resources_count_; | 168 size_t release_resources_count_; |
| 174 }; | 169 }; |
| 175 | 170 |
| 176 } // namespace cc | 171 } // namespace cc |
| 177 | 172 |
| 178 #endif // CC_TEST_FAKE_PICTURE_LAYER_IMPL_H_ | 173 #endif // CC_TEST_FAKE_PICTURE_LAYER_IMPL_H_ |
| OLD | NEW |