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/resources/clip_display_item.h" | 5 #include "cc/playback/clip_display_item.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "base/strings/stringprintf.h" | 9 #include "base/strings/stringprintf.h" |
10 #include "base/trace_event/trace_event_argument.h" | 10 #include "base/trace_event/trace_event_argument.h" |
11 #include "third_party/skia/include/core/SkCanvas.h" | 11 #include "third_party/skia/include/core/SkCanvas.h" |
12 #include "ui/gfx/skia_util.h" | 12 #include "ui/gfx/skia_util.h" |
13 | 13 |
14 namespace cc { | 14 namespace cc { |
15 | 15 |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 SkDrawPictureCallback* callback) const { | 86 SkDrawPictureCallback* callback) const { |
87 canvas->restore(); | 87 canvas->restore(); |
88 } | 88 } |
89 | 89 |
90 void EndClipDisplayItem::AsValueInto( | 90 void EndClipDisplayItem::AsValueInto( |
91 base::trace_event::TracedValue* array) const { | 91 base::trace_event::TracedValue* array) const { |
92 array->AppendString("EndClipDisplayItem"); | 92 array->AppendString("EndClipDisplayItem"); |
93 } | 93 } |
94 | 94 |
95 } // namespace cc | 95 } // namespace cc |
OLD | NEW |