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 <limits> | 7 #include <limits> |
8 | 8 |
9 #include "cc/test/fake_picture_pile_impl.h" | 9 #include "cc/test/fake_picture_pile_impl.h" |
10 #include "cc/test/fake_tile_manager.h" | 10 #include "cc/test/fake_tile_manager.h" |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 | 74 |
75 PictureLayerTiling* FakePictureLayerTilingClient::GetRecycledTwinTiling( | 75 PictureLayerTiling* FakePictureLayerTilingClient::GetRecycledTwinTiling( |
76 const PictureLayerTiling* tiling) { | 76 const PictureLayerTiling* tiling) { |
77 return recycled_twin_tiling_; | 77 return recycled_twin_tiling_; |
78 } | 78 } |
79 | 79 |
80 WhichTree FakePictureLayerTilingClient::GetTree() const { | 80 WhichTree FakePictureLayerTilingClient::GetTree() const { |
81 return tree_; | 81 return tree_; |
82 } | 82 } |
83 | 83 |
| 84 bool FakePictureLayerTilingClient::HasValidTilePriorities() const { |
| 85 return true; |
| 86 } |
| 87 |
84 bool FakePictureLayerTilingClient::RequiresHighResToDraw() const { | 88 bool FakePictureLayerTilingClient::RequiresHighResToDraw() const { |
85 return false; | 89 return false; |
86 } | 90 } |
87 | 91 |
88 } // namespace cc | 92 } // namespace cc |
OLD | NEW |