OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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/playback/float_clip_display_item.h" | 5 #include "cc/playback/float_clip_display_item.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include "base/strings/stringprintf.h" | 9 #include "base/strings/stringprintf.h" |
8 #include "base/trace_event/trace_event_argument.h" | 10 #include "base/trace_event/trace_event_argument.h" |
9 #include "cc/proto/display_item.pb.h" | 11 #include "cc/proto/display_item.pb.h" |
10 #include "cc/proto/gfx_conversions.h" | 12 #include "cc/proto/gfx_conversions.h" |
11 #include "third_party/skia/include/core/SkCanvas.h" | 13 #include "third_party/skia/include/core/SkCanvas.h" |
12 #include "ui/gfx/skia_util.h" | 14 #include "ui/gfx/skia_util.h" |
13 | 15 |
14 namespace cc { | 16 namespace cc { |
15 | 17 |
16 FloatClipDisplayItem::FloatClipDisplayItem(const gfx::RectF& clip_rect) { | 18 FloatClipDisplayItem::FloatClipDisplayItem(const gfx::RectF& clip_rect) { |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 array->AppendString( | 88 array->AppendString( |
87 base::StringPrintf("EndFloatClipDisplayItem visualRect: [%s]", | 89 base::StringPrintf("EndFloatClipDisplayItem visualRect: [%s]", |
88 visual_rect.ToString().c_str())); | 90 visual_rect.ToString().c_str())); |
89 } | 91 } |
90 | 92 |
91 size_t EndFloatClipDisplayItem::ExternalMemoryUsage() const { | 93 size_t EndFloatClipDisplayItem::ExternalMemoryUsage() const { |
92 return 0; | 94 return 0; |
93 } | 95 } |
94 | 96 |
95 } // namespace cc | 97 } // namespace cc |
OLD | NEW |