OLD | NEW |
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 Loading... |
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 |
OLD | NEW |