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 #ifndef CC_RESOURCES_CLIP_DISPLAY_ITEM_H_ | 5 #ifndef CC_PLAYBACK_CLIP_DISPLAY_ITEM_H_ |
6 #define CC_RESOURCES_CLIP_DISPLAY_ITEM_H_ | 6 #define CC_PLAYBACK_CLIP_DISPLAY_ITEM_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
11 #include "cc/base/cc_export.h" | 11 #include "cc/base/cc_export.h" |
12 #include "cc/resources/display_item.h" | 12 #include "cc/playback/display_item.h" |
13 #include "third_party/skia/include/core/SkRRect.h" | 13 #include "third_party/skia/include/core/SkRRect.h" |
14 #include "ui/gfx/geometry/rect.h" | 14 #include "ui/gfx/geometry/rect.h" |
15 | 15 |
16 class SkCanvas; | 16 class SkCanvas; |
17 class SkDrawPictureCallback; | 17 class SkDrawPictureCallback; |
18 | 18 |
19 namespace cc { | 19 namespace cc { |
20 | 20 |
21 class CC_EXPORT ClipDisplayItem : public DisplayItem { | 21 class CC_EXPORT ClipDisplayItem : public DisplayItem { |
22 public: | 22 public: |
(...skipping 15 matching lines...) Expand all Loading... |
38 public: | 38 public: |
39 EndClipDisplayItem(); | 39 EndClipDisplayItem(); |
40 ~EndClipDisplayItem() override; | 40 ~EndClipDisplayItem() override; |
41 | 41 |
42 void Raster(SkCanvas* canvas, SkDrawPictureCallback* callback) const override; | 42 void Raster(SkCanvas* canvas, SkDrawPictureCallback* callback) const override; |
43 void AsValueInto(base::trace_event::TracedValue* array) const override; | 43 void AsValueInto(base::trace_event::TracedValue* array) const override; |
44 }; | 44 }; |
45 | 45 |
46 } // namespace cc | 46 } // namespace cc |
47 | 47 |
48 #endif // CC_RESOURCES_CLIP_DISPLAY_ITEM_H_ | 48 #endif // CC_PLAYBACK_CLIP_DISPLAY_ITEM_H_ |
OLD | NEW |