| 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_LAYER_IMPL_H_ | 5 #ifndef CC_TEST_FAKE_PICTURE_LAYER_IMPL_H_ |
| 6 #define CC_TEST_FAKE_PICTURE_LAYER_IMPL_H_ | 6 #define CC_TEST_FAKE_PICTURE_LAYER_IMPL_H_ |
| 7 | 7 |
| 8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 9 #include "cc/layers/picture_layer_impl.h" | 9 #include "cc/layers/picture_layer_impl.h" |
| 10 | 10 |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 | 70 |
| 71 size_t CountTilesRequired( | 71 size_t CountTilesRequired( |
| 72 TileRequirementCheck is_tile_required_callback) const; | 72 TileRequirementCheck is_tile_required_callback) const; |
| 73 size_t CountTilesRequiredForActivation() const; | 73 size_t CountTilesRequiredForActivation() const; |
| 74 size_t CountTilesRequiredForDraw() const; | 74 size_t CountTilesRequiredForDraw() const; |
| 75 | 75 |
| 76 using PictureLayerImpl::AddTiling; | 76 using PictureLayerImpl::AddTiling; |
| 77 using PictureLayerImpl::CleanUpTilingsOnActiveLayer; | 77 using PictureLayerImpl::CleanUpTilingsOnActiveLayer; |
| 78 using PictureLayerImpl::CanHaveTilings; | 78 using PictureLayerImpl::CanHaveTilings; |
| 79 using PictureLayerImpl::MinimumContentsScale; | 79 using PictureLayerImpl::MinimumContentsScale; |
| 80 using PictureLayerImpl::GetViewportForTilePriorityInContentSpace; | 80 using PictureLayerImpl::viewport_rect_for_tile_priority_in_content_space; |
| 81 using PictureLayerImpl::SanityCheckTilingState; | 81 using PictureLayerImpl::SanityCheckTilingState; |
| 82 using PictureLayerImpl::GetRecycledTwinLayer; | 82 using PictureLayerImpl::GetRecycledTwinLayer; |
| 83 using PictureLayerImpl::UpdateRasterSource; | 83 using PictureLayerImpl::UpdateRasterSource; |
| 84 | 84 |
| 85 using PictureLayerImpl::UpdateIdealScales; | 85 using PictureLayerImpl::UpdateIdealScales; |
| 86 using PictureLayerImpl::MaximumTilingContentsScale; | 86 using PictureLayerImpl::MaximumTilingContentsScale; |
| 87 | 87 |
| 88 float raster_page_scale() const { return raster_page_scale_; } | 88 float raster_page_scale() const { return raster_page_scale_; } |
| 89 void set_raster_page_scale(float scale) { raster_page_scale_ = scale; } | 89 void set_raster_page_scale(float scale) { raster_page_scale_ = scale; } |
| 90 | 90 |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 145 size_t append_quads_count_; | 145 size_t append_quads_count_; |
| 146 size_t did_become_active_call_count_; | 146 size_t did_become_active_call_count_; |
| 147 bool has_valid_tile_priorities_; | 147 bool has_valid_tile_priorities_; |
| 148 bool use_set_valid_tile_priorities_flag_; | 148 bool use_set_valid_tile_priorities_flag_; |
| 149 size_t release_resources_count_; | 149 size_t release_resources_count_; |
| 150 }; | 150 }; |
| 151 | 151 |
| 152 } // namespace cc | 152 } // namespace cc |
| 153 | 153 |
| 154 #endif // CC_TEST_FAKE_PICTURE_LAYER_IMPL_H_ | 154 #endif // CC_TEST_FAKE_PICTURE_LAYER_IMPL_H_ |
| OLD | NEW |