Index: cc/resources/float_clip_display_item.h |
diff --git a/cc/resources/float_clip_display_item.h b/cc/resources/float_clip_display_item.h |
deleted file mode 100644 |
index 2c6805979a9480ee5dfb0d15dfe40eb65d52dbb9..0000000000000000000000000000000000000000 |
--- a/cc/resources/float_clip_display_item.h |
+++ /dev/null |
@@ -1,49 +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_FLOAT_CLIP_DISPLAY_ITEM_H_ |
-#define CC_RESOURCES_FLOAT_CLIP_DISPLAY_ITEM_H_ |
- |
-#include <vector> |
- |
-#include "base/memory/scoped_ptr.h" |
-#include "cc/base/cc_export.h" |
-#include "cc/resources/display_item.h" |
-#include "ui/gfx/geometry/rect_f.h" |
- |
-class SkCanvas; |
-class SkDrawPictureCallback; |
- |
-namespace cc { |
- |
-class CC_EXPORT FloatClipDisplayItem : public DisplayItem { |
- public: |
- FloatClipDisplayItem(); |
- ~FloatClipDisplayItem() override; |
- |
- void SetNew(const gfx::RectF& clip_rect); |
- |
- void Raster(SkCanvas* canvas, SkDrawPictureCallback* callback) const override; |
- void AsValueInto(base::trace_event::TracedValue* array) const override; |
- |
- private: |
- gfx::RectF clip_rect_; |
-}; |
- |
-class CC_EXPORT EndFloatClipDisplayItem : public DisplayItem { |
- public: |
- EndFloatClipDisplayItem(); |
- ~EndFloatClipDisplayItem() override; |
- |
- static scoped_ptr<EndFloatClipDisplayItem> Create() { |
- return make_scoped_ptr(new EndFloatClipDisplayItem()); |
- } |
- |
- void Raster(SkCanvas* canvas, SkDrawPictureCallback* callback) const override; |
- void AsValueInto(base::trace_event::TracedValue* array) const override; |
-}; |
- |
-} // namespace cc |
- |
-#endif // CC_RESOURCES_FLOAT_CLIP_DISPLAY_ITEM_H_ |