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