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_TEST_FAKE_PICTURE_LAYER_TILING_CLIENT_H_ | 5 #ifndef CC_TEST_FAKE_PICTURE_LAYER_TILING_CLIENT_H_ |
6 #define CC_TEST_FAKE_PICTURE_LAYER_TILING_CLIENT_H_ | 6 #define CC_TEST_FAKE_PICTURE_LAYER_TILING_CLIENT_H_ |
7 | 7 |
8 #include "cc/resources/picture_layer_tiling.h" | 8 #include "cc/resources/picture_layer_tiling.h" |
9 #include "cc/resources/picture_pile_impl.h" | 9 #include "cc/resources/picture_pile_impl.h" |
10 #include "cc/resources/tile.h" | 10 #include "cc/resources/tile.h" |
11 #include "cc/resources/tile_manager.h" | 11 #include "cc/resources/tile_manager.h" |
12 #include "cc/test/fake_tile_manager_client.h" | 12 #include "cc/test/fake_tile_manager_client.h" |
13 #include "ui/gfx/rect.h" | 13 #include "ui/gfx/geometry/rect.h" |
14 | 14 |
15 namespace cc { | 15 namespace cc { |
16 | 16 |
17 class FakePictureLayerTilingClient : public PictureLayerTilingClient { | 17 class FakePictureLayerTilingClient : public PictureLayerTilingClient { |
18 public: | 18 public: |
19 FakePictureLayerTilingClient(); | 19 FakePictureLayerTilingClient(); |
20 explicit FakePictureLayerTilingClient(ResourceProvider* resource_provider); | 20 explicit FakePictureLayerTilingClient(ResourceProvider* resource_provider); |
21 ~FakePictureLayerTilingClient() override; | 21 ~FakePictureLayerTilingClient() override; |
22 | 22 |
23 // PictureLayerTilingClient implementation. | 23 // PictureLayerTilingClient implementation. |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 Region invalidation_; | 75 Region invalidation_; |
76 size_t max_tiles_for_interest_area_; | 76 size_t max_tiles_for_interest_area_; |
77 float skewport_target_time_in_seconds_; | 77 float skewport_target_time_in_seconds_; |
78 int skewport_extrapolation_limit_in_content_pixels_; | 78 int skewport_extrapolation_limit_in_content_pixels_; |
79 WhichTree tree_; | 79 WhichTree tree_; |
80 }; | 80 }; |
81 | 81 |
82 } // namespace cc | 82 } // namespace cc |
83 | 83 |
84 #endif // CC_TEST_FAKE_PICTURE_LAYER_TILING_CLIENT_H_ | 84 #endif // CC_TEST_FAKE_PICTURE_LAYER_TILING_CLIENT_H_ |
OLD | NEW |