| 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 } | 51 } |
| 52 | 52 |
| 53 using PictureLayerImpl::AddTiling; | 53 using PictureLayerImpl::AddTiling; |
| 54 using PictureLayerImpl::CleanUpTilingsOnActiveLayer; | 54 using PictureLayerImpl::CleanUpTilingsOnActiveLayer; |
| 55 using PictureLayerImpl::CanHaveTilings; | 55 using PictureLayerImpl::CanHaveTilings; |
| 56 using PictureLayerImpl::DoPostCommitInitializationIfNeeded; | 56 using PictureLayerImpl::DoPostCommitInitializationIfNeeded; |
| 57 using PictureLayerImpl::MinimumContentsScale; | 57 using PictureLayerImpl::MinimumContentsScale; |
| 58 using PictureLayerImpl::GetViewportForTilePriorityInContentSpace; | 58 using PictureLayerImpl::GetViewportForTilePriorityInContentSpace; |
| 59 using PictureLayerImpl::SanityCheckTilingState; | 59 using PictureLayerImpl::SanityCheckTilingState; |
| 60 using PictureLayerImpl::GetRecycledTwinLayer; | 60 using PictureLayerImpl::GetRecycledTwinLayer; |
| 61 using PictureLayerImpl::UpdatePile; |
| 61 | 62 |
| 62 using PictureLayerImpl::UpdateIdealScales; | 63 using PictureLayerImpl::UpdateIdealScales; |
| 63 using PictureLayerImpl::MaximumTilingContentsScale; | 64 using PictureLayerImpl::MaximumTilingContentsScale; |
| 64 | 65 |
| 65 void SetNeedsPostCommitInitialization() { | 66 void SetNeedsPostCommitInitialization() { |
| 66 needs_post_commit_initialization_ = true; | 67 needs_post_commit_initialization_ = true; |
| 67 } | 68 } |
| 68 | 69 |
| 69 bool needs_post_commit_initialization() const { | 70 bool needs_post_commit_initialization() const { |
| 70 return needs_post_commit_initialization_; | 71 return needs_post_commit_initialization_; |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 size_t append_quads_count_; | 129 size_t append_quads_count_; |
| 129 size_t did_become_active_call_count_; | 130 size_t did_become_active_call_count_; |
| 130 bool has_valid_tile_priorities_; | 131 bool has_valid_tile_priorities_; |
| 131 bool use_set_valid_tile_priorities_flag_; | 132 bool use_set_valid_tile_priorities_flag_; |
| 132 size_t release_resources_count_; | 133 size_t release_resources_count_; |
| 133 }; | 134 }; |
| 134 | 135 |
| 135 } // namespace cc | 136 } // namespace cc |
| 136 | 137 |
| 137 #endif // CC_TEST_FAKE_PICTURE_LAYER_IMPL_H_ | 138 #endif // CC_TEST_FAKE_PICTURE_LAYER_IMPL_H_ |
| OLD | NEW |