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_PILE_IMPL_H_ | 5 #ifndef CC_TEST_FAKE_PICTURE_PILE_IMPL_H_ |
6 #define CC_TEST_FAKE_PICTURE_PILE_IMPL_H_ | 6 #define CC_TEST_FAKE_PICTURE_PILE_IMPL_H_ |
7 | 7 |
8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
9 #include "cc/resources/picture_pile_impl.h" | 9 #include "cc/resources/picture_pile_impl.h" |
10 #include "cc/test/fake_content_layer_client.h" | 10 #include "cc/test/fake_content_layer_client.h" |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 | 95 |
96 protected: | 96 protected: |
97 FakePicturePileImpl(); | 97 FakePicturePileImpl(); |
98 FakePicturePileImpl(const PicturePile* other, | 98 FakePicturePileImpl(const PicturePile* other, |
99 base::WaitableEvent* playback_allowed_event); | 99 base::WaitableEvent* playback_allowed_event); |
100 ~FakePicturePileImpl() override; | 100 ~FakePicturePileImpl() override; |
101 | 101 |
102 FakeContentLayerClient client_; | 102 FakeContentLayerClient client_; |
103 SkPaint default_paint_; | 103 SkPaint default_paint_; |
104 base::WaitableEvent* playback_allowed_event_; | 104 base::WaitableEvent* playback_allowed_event_; |
105 SkTileGridFactory::TileGridInfo tile_grid_info_; | 105 gfx::Size tile_grid_size_; |
106 }; | 106 }; |
107 | 107 |
108 } // namespace cc | 108 } // namespace cc |
109 | 109 |
110 #endif // CC_TEST_FAKE_PICTURE_PILE_IMPL_H_ | 110 #endif // CC_TEST_FAKE_PICTURE_PILE_IMPL_H_ |
OLD | NEW |