Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(108)

Unified Diff: cc/resources/filter_display_item.h

Issue 1057283003: Remove parts of //cc we aren't using (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/resources/eviction_tile_priority_queue.cc ('k') | cc/resources/filter_display_item.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/filter_display_item.h
diff --git a/cc/resources/filter_display_item.h b/cc/resources/filter_display_item.h
deleted file mode 100644
index 28eeb95dc806f81ef9e8b9af1a79b644bd928602..0000000000000000000000000000000000000000
--- a/cc/resources/filter_display_item.h
+++ /dev/null
@@ -1,64 +0,0 @@
-// Copyright 2014 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_FILTER_DISPLAY_ITEM_H_
-#define CC_RESOURCES_FILTER_DISPLAY_ITEM_H_
-
-#include "base/memory/scoped_ptr.h"
-#include "cc/base/cc_export.h"
-#include "cc/output/filter_operations.h"
-#include "cc/resources/display_item.h"
-#include "ui/gfx/geometry/rect_f.h"
-
-class SkCanvas;
-class SkDrawPictureCallback;
-
-namespace cc {
-
-class CC_EXPORT FilterDisplayItem : public DisplayItem {
- public:
- ~FilterDisplayItem() override;
-
- static scoped_ptr<FilterDisplayItem> Create(const FilterOperations& filters,
- gfx::RectF bounds) {
- return make_scoped_ptr(new FilterDisplayItem(filters, bounds));
- }
-
- void Raster(SkCanvas* canvas, SkDrawPictureCallback* callback) const override;
-
- bool IsSuitableForGpuRasterization() const override;
- int ApproximateOpCount() const override;
- size_t PictureMemoryUsage() const override;
- void AsValueInto(base::trace_event::TracedValue* array) const override;
-
- protected:
- FilterDisplayItem(const FilterOperations& filters, gfx::RectF bounds);
-
- private:
- FilterOperations filters_;
- gfx::RectF bounds_;
-};
-
-class CC_EXPORT EndFilterDisplayItem : public DisplayItem {
- public:
- ~EndFilterDisplayItem() override;
-
- static scoped_ptr<EndFilterDisplayItem> Create() {
- return make_scoped_ptr(new EndFilterDisplayItem());
- }
-
- void Raster(SkCanvas* canvas, SkDrawPictureCallback* callback) const override;
-
- bool IsSuitableForGpuRasterization() const override;
- int ApproximateOpCount() const override;
- size_t PictureMemoryUsage() const override;
- void AsValueInto(base::trace_event::TracedValue* array) const override;
-
- protected:
- EndFilterDisplayItem();
-};
-
-} // namespace cc
-
-#endif // CC_RESOURCES_FILTER_DISPLAY_ITEM_H_
« no previous file with comments | « cc/resources/eviction_tile_priority_queue.cc ('k') | cc/resources/filter_display_item.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698