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

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

Issue 683113005: Update from chromium https://crrev.com/302282 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « cc/test/fake_delegated_renderer_layer_impl.cc ('k') | cc/test/layer_test_common.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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_
OLDNEW
« no previous file with comments | « cc/test/fake_delegated_renderer_layer_impl.cc ('k') | cc/test/layer_test_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698