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

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

Issue 2748263002: Move cc::DisplayItemList and related classes into cc/paint/ (Closed)
Patch Set: Merge branch 'master' into ccpaint Created 3 years, 9 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
« no previous file with comments | « cc/test/fake_picture_layer.h ('k') | cc/test/fake_picture_layer_tiling_client.h » ('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 <stddef.h> 8 #include <stddef.h>
9 9
10 #include <memory> 10 #include <memory>
11 11
12 #include "base/memory/ptr_util.h" 12 #include "base/memory/ptr_util.h"
13 #include "cc/layers/picture_layer_impl.h" 13 #include "cc/layers/picture_layer_impl.h"
14 #include "cc/playback/raster_source.h" 14 #include "cc/raster/raster_source.h"
15 15
16 namespace cc { 16 namespace cc {
17 17
18 class FakePictureLayerImpl : public PictureLayerImpl { 18 class FakePictureLayerImpl : public PictureLayerImpl {
19 public: 19 public:
20 using TileRequirementCheck = bool (PictureLayerTiling::*)(const Tile*) const; 20 using TileRequirementCheck = bool (PictureLayerTiling::*)(const Tile*) const;
21 21
22 static std::unique_ptr<FakePictureLayerImpl> Create(LayerTreeImpl* tree_impl, 22 static std::unique_ptr<FakePictureLayerImpl> Create(LayerTreeImpl* tree_impl,
23 int id) { 23 int id) {
24 Layer::LayerMaskType mask_type = Layer::LayerMaskType::NOT_MASK; 24 Layer::LayerMaskType mask_type = Layer::LayerMaskType::NOT_MASK;
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 size_t did_become_active_call_count_ = 0; 189 size_t did_become_active_call_count_ = 0;
190 bool has_valid_tile_priorities_ = false; 190 bool has_valid_tile_priorities_ = false;
191 bool use_set_valid_tile_priorities_flag_ = false; 191 bool use_set_valid_tile_priorities_flag_ = false;
192 size_t release_resources_count_ = 0; 192 size_t release_resources_count_ = 0;
193 size_t release_tile_resources_count_ = 0; 193 size_t release_tile_resources_count_ = 0;
194 }; 194 };
195 195
196 } // namespace cc 196 } // namespace cc
197 197
198 #endif // CC_TEST_FAKE_PICTURE_LAYER_IMPL_H_ 198 #endif // CC_TEST_FAKE_PICTURE_LAYER_IMPL_H_
OLDNEW
« no previous file with comments | « cc/test/fake_picture_layer.h ('k') | cc/test/fake_picture_layer_tiling_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698