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/transform_display_item.h" | 5 #include "cc/playback/transform_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 | 10 |
11 namespace cc { | 11 namespace cc { |
12 | 12 |
13 TransformDisplayItem::TransformDisplayItem() | 13 TransformDisplayItem::TransformDisplayItem() |
14 : transform_(gfx::Transform::kSkipInitialization) { | 14 : transform_(gfx::Transform::kSkipInitialization) { |
15 } | 15 } |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 SkDrawPictureCallback* callback) const { | 50 SkDrawPictureCallback* callback) const { |
51 canvas->restore(); | 51 canvas->restore(); |
52 } | 52 } |
53 | 53 |
54 void EndTransformDisplayItem::AsValueInto( | 54 void EndTransformDisplayItem::AsValueInto( |
55 base::trace_event::TracedValue* array) const { | 55 base::trace_event::TracedValue* array) const { |
56 array->AppendString("EndTransformDisplayItem"); | 56 array->AppendString("EndTransformDisplayItem"); |
57 } | 57 } |
58 | 58 |
59 } // namespace cc | 59 } // namespace cc |
OLD | NEW |