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

Side by Side Diff: cc/test/fake_picture_layer.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_content_layer_client.cc ('k') | cc/test/fake_picture_layer_impl.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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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_H_ 5 #ifndef CC_TEST_FAKE_PICTURE_LAYER_H_
6 #define CC_TEST_FAKE_PICTURE_LAYER_H_ 6 #define CC_TEST_FAKE_PICTURE_LAYER_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/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "cc/layers/picture_layer.h" 13 #include "cc/layers/picture_layer.h"
14 #include "cc/playback/recording_source.h" 14 #include "cc/layers/recording_source.h"
15 15
16 namespace cc { 16 namespace cc {
17 class FakePictureLayer : public PictureLayer { 17 class FakePictureLayer : public PictureLayer {
18 public: 18 public:
19 static scoped_refptr<FakePictureLayer> Create(ContentLayerClient* client) { 19 static scoped_refptr<FakePictureLayer> Create(ContentLayerClient* client) {
20 return make_scoped_refptr(new FakePictureLayer(client)); 20 return make_scoped_refptr(new FakePictureLayer(client));
21 } 21 }
22 22
23 static scoped_refptr<FakePictureLayer> CreateWithRecordingSource( 23 static scoped_refptr<FakePictureLayer> CreateWithRecordingSource(
24 ContentLayerClient* client, 24 ContentLayerClient* client,
(...skipping 25 matching lines...) Expand all
50 50
51 int update_count_; 51 int update_count_;
52 bool always_update_resources_; 52 bool always_update_resources_;
53 53
54 bool force_unsuitable_for_gpu_rasterization_; 54 bool force_unsuitable_for_gpu_rasterization_;
55 }; 55 };
56 56
57 } // namespace cc 57 } // namespace cc
58 58
59 #endif // CC_TEST_FAKE_PICTURE_LAYER_H_ 59 #endif // CC_TEST_FAKE_PICTURE_LAYER_H_
OLDNEW
« no previous file with comments | « cc/test/fake_content_layer_client.cc ('k') | cc/test/fake_picture_layer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698