Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(169)

Side by Side Diff: cc/test/fake_picture_layer_impl.h

Issue 502453003: cc: Remove tiles from recycle tree that were deleted on active. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: don't maintain recycled twin Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « cc/resources/picture_layer_tiling_unittest.cc ('k') | cc/test/fake_picture_layer_tiling_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698