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> |
| 8 |
7 #include "cc/layers/picture_image_layer_impl.h" | 9 #include "cc/layers/picture_image_layer_impl.h" |
8 #include "cc/playback/display_item_list_settings.h" | 10 #include "cc/playback/display_item_list_settings.h" |
9 #include "cc/playback/drawing_display_item.h" | 11 #include "cc/playback/drawing_display_item.h" |
10 #include "third_party/skia/include/core/SkCanvas.h" | 12 #include "third_party/skia/include/core/SkCanvas.h" |
11 #include "third_party/skia/include/core/SkImage.h" | 13 #include "third_party/skia/include/core/SkImage.h" |
12 #include "third_party/skia/include/core/SkPictureRecorder.h" | 14 #include "third_party/skia/include/core/SkPictureRecorder.h" |
13 #include "ui/gfx/skia_util.h" | 15 #include "ui/gfx/skia_util.h" |
14 | 16 |
15 namespace cc { | 17 namespace cc { |
16 | 18 |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 | 94 |
93 bool PictureImageLayer::FillsBoundsCompletely() const { | 95 bool PictureImageLayer::FillsBoundsCompletely() const { |
94 return false; | 96 return false; |
95 } | 97 } |
96 | 98 |
97 size_t PictureImageLayer::GetApproximateUnsharedMemoryUsage() const { | 99 size_t PictureImageLayer::GetApproximateUnsharedMemoryUsage() const { |
98 return 0; | 100 return 0; |
99 } | 101 } |
100 | 102 |
101 } // namespace cc | 103 } // namespace cc |
OLD | NEW |