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

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

Issue 1362663002: cc: Remove PicturePile and PicturePileImpl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase and update Created 5 years, 2 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 #include "cc/playback/raster_source.h"
10 11
11 namespace cc { 12 namespace cc {
12 13
13 class FakePictureLayerImpl : public PictureLayerImpl { 14 class FakePictureLayerImpl : public PictureLayerImpl {
14 public: 15 public:
15 static scoped_ptr<FakePictureLayerImpl> Create( 16 static scoped_ptr<FakePictureLayerImpl> Create(
16 LayerTreeImpl* tree_impl, int id) { 17 LayerTreeImpl* tree_impl, int id) {
17 bool is_mask = false; 18 bool is_mask = false;
18 return make_scoped_ptr(new FakePictureLayerImpl(tree_impl, id, is_mask)); 19 return make_scoped_ptr(new FakePictureLayerImpl(tree_impl, id, is_mask));
19 } 20 }
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 size_t append_quads_count_; 170 size_t append_quads_count_;
170 size_t did_become_active_call_count_; 171 size_t did_become_active_call_count_;
171 bool has_valid_tile_priorities_; 172 bool has_valid_tile_priorities_;
172 bool use_set_valid_tile_priorities_flag_; 173 bool use_set_valid_tile_priorities_flag_;
173 size_t release_resources_count_; 174 size_t release_resources_count_;
174 }; 175 };
175 176
176 } // namespace cc 177 } // namespace cc
177 178
178 #endif // CC_TEST_FAKE_PICTURE_LAYER_IMPL_H_ 179 #endif // CC_TEST_FAKE_PICTURE_LAYER_IMPL_H_
OLDNEW
« no previous file with comments | « cc/test/fake_display_list_recording_source.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