OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/clip_display_item.h" | 5 #include "cc/playback/clip_display_item.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include <string> | 9 #include <string> |
8 | 10 |
9 #include "base/logging.h" | 11 #include "base/logging.h" |
10 #include "base/strings/stringprintf.h" | 12 #include "base/strings/stringprintf.h" |
11 #include "base/trace_event/trace_event_argument.h" | 13 #include "base/trace_event/trace_event_argument.h" |
12 #include "cc/proto/display_item.pb.h" | 14 #include "cc/proto/display_item.pb.h" |
13 #include "cc/proto/gfx_conversions.h" | 15 #include "cc/proto/gfx_conversions.h" |
14 #include "cc/proto/skia_conversions.h" | 16 #include "cc/proto/skia_conversions.h" |
15 #include "third_party/skia/include/core/SkCanvas.h" | 17 #include "third_party/skia/include/core/SkCanvas.h" |
16 #include "ui/gfx/skia_util.h" | 18 #include "ui/gfx/skia_util.h" |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 base::trace_event::TracedValue* array) const { | 130 base::trace_event::TracedValue* array) const { |
129 array->AppendString(base::StringPrintf("EndClipDisplayItem visualRect: [%s]", | 131 array->AppendString(base::StringPrintf("EndClipDisplayItem visualRect: [%s]", |
130 visual_rect.ToString().c_str())); | 132 visual_rect.ToString().c_str())); |
131 } | 133 } |
132 | 134 |
133 size_t EndClipDisplayItem::ExternalMemoryUsage() const { | 135 size_t EndClipDisplayItem::ExternalMemoryUsage() const { |
134 return 0; | 136 return 0; |
135 } | 137 } |
136 | 138 |
137 } // namespace cc | 139 } // namespace cc |
OLD | NEW |