Index: cc/resources/clip_path_display_item.h |
diff --git a/cc/resources/clip_path_display_item.h b/cc/resources/clip_path_display_item.h |
deleted file mode 100644 |
index 9f6842c6759c91809dcbb40af90d5c1ff997c786..0000000000000000000000000000000000000000 |
--- a/cc/resources/clip_path_display_item.h |
+++ /dev/null |
@@ -1,50 +0,0 @@ |
-// Copyright 2015 The Chromium Authors. All rights reserved. |
-// Use of this source code is governed by a BSD-style license that can be |
-// found in the LICENSE file. |
- |
-#ifndef CC_RESOURCES_CLIP_PATH_DISPLAY_ITEM_H_ |
-#define CC_RESOURCES_CLIP_PATH_DISPLAY_ITEM_H_ |
- |
-#include "base/memory/scoped_ptr.h" |
-#include "cc/base/cc_export.h" |
-#include "cc/resources/display_item.h" |
-#include "third_party/skia/include/core/SkPath.h" |
-#include "third_party/skia/include/core/SkRegion.h" |
- |
-class SkCanvas; |
-class SkDrawPictureCallback; |
- |
-namespace cc { |
- |
-class CC_EXPORT ClipPathDisplayItem : public DisplayItem { |
- public: |
- ClipPathDisplayItem(); |
- ~ClipPathDisplayItem() override; |
- |
- void SetNew(const SkPath& path, SkRegion::Op clip_op, bool antialias); |
- |
- void Raster(SkCanvas* canvas, SkDrawPictureCallback* callback) const override; |
- void AsValueInto(base::trace_event::TracedValue* array) const override; |
- |
- private: |
- SkPath clip_path_; |
- SkRegion::Op clip_op_; |
- bool antialias_; |
-}; |
- |
-class CC_EXPORT EndClipPathDisplayItem : public DisplayItem { |
- public: |
- EndClipPathDisplayItem(); |
- ~EndClipPathDisplayItem() override; |
- |
- static scoped_ptr<EndClipPathDisplayItem> Create() { |
- return make_scoped_ptr(new EndClipPathDisplayItem()); |
- } |
- |
- void Raster(SkCanvas* canvas, SkDrawPictureCallback* callback) const override; |
- void AsValueInto(base::trace_event::TracedValue* array) const override; |
-}; |
- |
-} // namespace cc |
- |
-#endif // CC_RESOURCES_CLIP_PATH_DISPLAY_ITEM_H_ |