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/resources/float_clip_display_item.h" | 5 #include "cc/playback/float_clip_display_item.h" |
6 | 6 |
7 #include "base/strings/stringprintf.h" | 7 #include "base/strings/stringprintf.h" |
8 #include "base/trace_event/trace_event_argument.h" | 8 #include "base/trace_event/trace_event_argument.h" |
9 #include "third_party/skia/include/core/SkCanvas.h" | 9 #include "third_party/skia/include/core/SkCanvas.h" |
10 #include "ui/gfx/skia_util.h" | 10 #include "ui/gfx/skia_util.h" |
11 | 11 |
12 namespace cc { | 12 namespace cc { |
13 | 13 |
14 FloatClipDisplayItem::FloatClipDisplayItem() { | 14 FloatClipDisplayItem::FloatClipDisplayItem() { |
15 } | 15 } |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 SkDrawPictureCallback* callback) const { | 49 SkDrawPictureCallback* callback) const { |
50 canvas->restore(); | 50 canvas->restore(); |
51 } | 51 } |
52 | 52 |
53 void EndFloatClipDisplayItem::AsValueInto( | 53 void EndFloatClipDisplayItem::AsValueInto( |
54 base::trace_event::TracedValue* array) const { | 54 base::trace_event::TracedValue* array) const { |
55 array->AppendString("EndFloatClipDisplayItem"); | 55 array->AppendString("EndFloatClipDisplayItem"); |
56 } | 56 } |
57 | 57 |
58 } // namespace cc | 58 } // namespace cc |
OLD | NEW |