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 #include "cc/test/fake_picture_layer_tiling_client.h" | 5 #include "cc/test/fake_picture_layer_tiling_client.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 | 8 |
9 #include <limits> | 9 #include <limits> |
10 | 10 |
11 #include "base/thread_task_runner_handle.h" | 11 #include "base/threading/thread_task_runner_handle.h" |
12 #include "cc/test/fake_raster_source.h" | 12 #include "cc/test/fake_raster_source.h" |
13 #include "cc/test/fake_tile_manager.h" | 13 #include "cc/test/fake_tile_manager.h" |
14 | 14 |
15 namespace cc { | 15 namespace cc { |
16 | 16 |
17 FakePictureLayerTilingClient::FakePictureLayerTilingClient() | 17 FakePictureLayerTilingClient::FakePictureLayerTilingClient() |
18 : tile_manager_(new FakeTileManager(&tile_manager_client_)), | 18 : tile_manager_(new FakeTileManager(&tile_manager_client_)), |
19 raster_source_(FakeRasterSource::CreateInfiniteFilled()), | 19 raster_source_(FakeRasterSource::CreateInfiniteFilled()), |
20 twin_set_(nullptr), | 20 twin_set_(nullptr), |
21 twin_tiling_(nullptr), | 21 twin_tiling_(nullptr), |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 return twin_set_->tiling_at(i); | 68 return twin_set_->tiling_at(i); |
69 } | 69 } |
70 return nullptr; | 70 return nullptr; |
71 } | 71 } |
72 | 72 |
73 bool FakePictureLayerTilingClient::RequiresHighResToDraw() const { | 73 bool FakePictureLayerTilingClient::RequiresHighResToDraw() const { |
74 return false; | 74 return false; |
75 } | 75 } |
76 | 76 |
77 } // namespace cc | 77 } // namespace cc |
OLD | NEW |