| 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 26 matching lines...) Expand all Loading... |
| 37 OVERRIDE; | 37 OVERRIDE; |
| 38 virtual void AppendQuads(RenderPass* render_pass, | 38 virtual void AppendQuads(RenderPass* render_pass, |
| 39 const OcclusionTracker<LayerImpl>& occlusion_tracker, | 39 const OcclusionTracker<LayerImpl>& occlusion_tracker, |
| 40 AppendQuadsData* append_quads_data) OVERRIDE; | 40 AppendQuadsData* append_quads_data) OVERRIDE; |
| 41 virtual gfx::Size CalculateTileSize( | 41 virtual gfx::Size CalculateTileSize( |
| 42 const gfx::Size& content_bounds) const OVERRIDE; | 42 const gfx::Size& content_bounds) const OVERRIDE; |
| 43 | 43 |
| 44 using PictureLayerImpl::AddTiling; | 44 using PictureLayerImpl::AddTiling; |
| 45 using PictureLayerImpl::CleanUpTilingsOnActiveLayer; | 45 using PictureLayerImpl::CleanUpTilingsOnActiveLayer; |
| 46 using PictureLayerImpl::CanHaveTilings; | 46 using PictureLayerImpl::CanHaveTilings; |
| 47 using PictureLayerImpl::MarkVisibleResourcesAsRequired; | |
| 48 using PictureLayerImpl::DoPostCommitInitializationIfNeeded; | 47 using PictureLayerImpl::DoPostCommitInitializationIfNeeded; |
| 49 using PictureLayerImpl::MinimumContentsScale; | 48 using PictureLayerImpl::MinimumContentsScale; |
| 50 using PictureLayerImpl::SanityCheckTilingState; | 49 using PictureLayerImpl::SanityCheckTilingState; |
| 51 | 50 |
| 52 using PictureLayerImpl::UpdateIdealScales; | 51 using PictureLayerImpl::UpdateIdealScales; |
| 53 using PictureLayerImpl::MaximumTilingContentsScale; | 52 using PictureLayerImpl::MaximumTilingContentsScale; |
| 54 | 53 |
| 55 void SetNeedsPostCommitInitialization() { | 54 void SetNeedsPostCommitInitialization() { |
| 56 needs_post_commit_initialization_ = true; | 55 needs_post_commit_initialization_ = true; |
| 57 } | 56 } |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 | 106 |
| 108 private: | 107 private: |
| 109 gfx::Size fixed_tile_size_; | 108 gfx::Size fixed_tile_size_; |
| 110 | 109 |
| 111 size_t append_quads_count_; | 110 size_t append_quads_count_; |
| 112 }; | 111 }; |
| 113 | 112 |
| 114 } // namespace cc | 113 } // namespace cc |
| 115 | 114 |
| 116 #endif // CC_TEST_FAKE_PICTURE_LAYER_IMPL_H_ | 115 #endif // CC_TEST_FAKE_PICTURE_LAYER_IMPL_H_ |
| OLD | NEW |