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> |
| 9 |
8 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
9 #include "cc/layers/picture_layer_impl.h" | 11 #include "cc/layers/picture_layer_impl.h" |
10 #include "cc/playback/display_list_raster_source.h" | 12 #include "cc/playback/display_list_raster_source.h" |
11 | 13 |
12 namespace cc { | 14 namespace cc { |
13 | 15 |
14 class FakePictureLayerImpl : public PictureLayerImpl { | 16 class FakePictureLayerImpl : public PictureLayerImpl { |
15 public: | 17 public: |
16 static scoped_ptr<FakePictureLayerImpl> Create( | 18 static scoped_ptr<FakePictureLayerImpl> Create( |
17 LayerTreeImpl* tree_impl, int id) { | 19 LayerTreeImpl* tree_impl, int id) { |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 size_t append_quads_count_; | 177 size_t append_quads_count_; |
176 size_t did_become_active_call_count_; | 178 size_t did_become_active_call_count_; |
177 bool has_valid_tile_priorities_; | 179 bool has_valid_tile_priorities_; |
178 bool use_set_valid_tile_priorities_flag_; | 180 bool use_set_valid_tile_priorities_flag_; |
179 size_t release_resources_count_; | 181 size_t release_resources_count_; |
180 }; | 182 }; |
181 | 183 |
182 } // namespace cc | 184 } // namespace cc |
183 | 185 |
184 #endif // CC_TEST_FAKE_PICTURE_LAYER_IMPL_H_ | 186 #endif // CC_TEST_FAKE_PICTURE_LAYER_IMPL_H_ |
OLD | NEW |