OLD | NEW |
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 #include "cc/test/fake_content_layer_client.h" | 5 #include "cc/test/fake_content_layer_client.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include "cc/playback/clip_display_item.h" | 9 #include "cc/playback/clip_display_item.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 "cc/playback/transform_display_item.h" | 12 #include "cc/playback/transform_display_item.h" |
11 #include "third_party/skia/include/core/SkCanvas.h" | 13 #include "third_party/skia/include/core/SkCanvas.h" |
12 #include "third_party/skia/include/core/SkPictureRecorder.h" | 14 #include "third_party/skia/include/core/SkPictureRecorder.h" |
13 #include "ui/gfx/geometry/rect_conversions.h" | 15 #include "ui/gfx/geometry/rect_conversions.h" |
14 #include "ui/gfx/skia_util.h" | 16 #include "ui/gfx/skia_util.h" |
15 | 17 |
16 namespace cc { | 18 namespace cc { |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 return display_list; | 107 return display_list; |
106 } | 108 } |
107 | 109 |
108 bool FakeContentLayerClient::FillsBoundsCompletely() const { return false; } | 110 bool FakeContentLayerClient::FillsBoundsCompletely() const { return false; } |
109 | 111 |
110 size_t FakeContentLayerClient::GetApproximateUnsharedMemoryUsage() const { | 112 size_t FakeContentLayerClient::GetApproximateUnsharedMemoryUsage() const { |
111 return reported_memory_usage_; | 113 return reported_memory_usage_; |
112 } | 114 } |
113 | 115 |
114 } // namespace cc | 116 } // namespace cc |
OLD | NEW |