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

Side by Side Diff: cc/layers/picture_image_layer.cc

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/layers/picture_image_layer.h ('k') | cc/layers/picture_image_layer_unittest.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 2010 The Chromium Authors. All rights reserved. 1 // Copyright 2010 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 #include "cc/layers/picture_image_layer.h" 5 #include "cc/layers/picture_image_layer.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include "cc/layers/picture_layer_impl.h" 9 #include "cc/layers/picture_layer_impl.h"
10 #include "cc/paint/drawing_display_item.h"
10 #include "cc/paint/paint_canvas.h" 11 #include "cc/paint/paint_canvas.h"
11 #include "cc/paint/paint_recorder.h" 12 #include "cc/paint/paint_recorder.h"
12 #include "cc/playback/drawing_display_item.h"
13 #include "cc/trees/layer_tree_host.h" 13 #include "cc/trees/layer_tree_host.h"
14 #include "cc/trees/layer_tree_settings.h" 14 #include "cc/trees/layer_tree_settings.h"
15 15
16 namespace cc { 16 namespace cc {
17 17
18 scoped_refptr<PictureImageLayer> PictureImageLayer::Create() { 18 scoped_refptr<PictureImageLayer> PictureImageLayer::Create() {
19 return make_scoped_refptr(new PictureImageLayer()); 19 return make_scoped_refptr(new PictureImageLayer());
20 } 20 }
21 21
22 PictureImageLayer::PictureImageLayer() : PictureLayer(this) {} 22 PictureImageLayer::PictureImageLayer() : PictureLayer(this) {}
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 86
87 bool PictureImageLayer::FillsBoundsCompletely() const { 87 bool PictureImageLayer::FillsBoundsCompletely() const {
88 return false; 88 return false;
89 } 89 }
90 90
91 size_t PictureImageLayer::GetApproximateUnsharedMemoryUsage() const { 91 size_t PictureImageLayer::GetApproximateUnsharedMemoryUsage() const {
92 return 0; 92 return 0;
93 } 93 }
94 94
95 } // namespace cc 95 } // namespace cc
OLDNEW
« no previous file with comments | « cc/layers/picture_image_layer.h ('k') | cc/layers/picture_image_layer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698