Index: cc/playback/float_clip_display_item.h |
diff --git a/cc/playback/float_clip_display_item.h b/cc/playback/float_clip_display_item.h |
deleted file mode 100644 |
index 1f68cef36e10b5c76f48a6f30caf3aa7c094b24d..0000000000000000000000000000000000000000 |
--- a/cc/playback/float_clip_display_item.h |
+++ /dev/null |
@@ -1,58 +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_PLAYBACK_FLOAT_CLIP_DISPLAY_ITEM_H_ |
-#define CC_PLAYBACK_FLOAT_CLIP_DISPLAY_ITEM_H_ |
- |
-#include <stddef.h> |
- |
-#include <memory> |
-#include <vector> |
- |
-#include "base/memory/ptr_util.h" |
-#include "cc/base/cc_export.h" |
-#include "cc/playback/display_item.h" |
-#include "ui/gfx/geometry/rect_f.h" |
- |
-class SkCanvas; |
- |
-namespace cc { |
- |
-class CC_EXPORT FloatClipDisplayItem : public DisplayItem { |
- public: |
- explicit FloatClipDisplayItem(const gfx::RectF& clip_rect); |
- ~FloatClipDisplayItem() override; |
- |
- void Raster(SkCanvas* canvas, |
- SkPicture::AbortCallback* callback) const override; |
- |
- size_t ExternalMemoryUsage() const { return 0; } |
- int ApproximateOpCount() const { return 1; } |
- |
- const gfx::RectF& clip_rect() const { return clip_rect_; } |
- |
- private: |
- void SetNew(const gfx::RectF& clip_rect); |
- |
- gfx::RectF clip_rect_; |
-}; |
- |
-class CC_EXPORT EndFloatClipDisplayItem : public DisplayItem { |
- public: |
- EndFloatClipDisplayItem(); |
- ~EndFloatClipDisplayItem() override; |
- |
- static std::unique_ptr<EndFloatClipDisplayItem> Create() { |
- return base::MakeUnique<EndFloatClipDisplayItem>(); |
- } |
- |
- void Raster(SkCanvas* canvas, |
- SkPicture::AbortCallback* callback) const override; |
- |
- int ApproximateOpCount() const { return 0; } |
-}; |
- |
-} // namespace cc |
- |
-#endif // CC_PLAYBACK_FLOAT_CLIP_DISPLAY_ITEM_H_ |