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