Index: cc/resources/display_item_list.h |
diff --git a/cc/resources/display_item_list.h b/cc/resources/display_item_list.h |
deleted file mode 100644 |
index 39694d72a1dba7ed8d5ecd444bc597a50941a5b4..0000000000000000000000000000000000000000 |
--- a/cc/resources/display_item_list.h |
+++ /dev/null |
@@ -1,63 +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_DISPLAY_ITEM_LIST_H_ |
-#define CC_RESOURCES_DISPLAY_ITEM_LIST_H_ |
- |
-#include "base/memory/ref_counted.h" |
-#include "base/memory/scoped_ptr.h" |
-#include "base/trace_event/trace_event.h" |
-#include "cc/base/cc_export.h" |
-#include "cc/base/scoped_ptr_vector.h" |
-#include "cc/resources/display_item.h" |
-#include "skia/ext/refptr.h" |
-#include "third_party/skia/include/core/SkPicture.h" |
-#include "ui/gfx/geometry/rect.h" |
- |
-class SkCanvas; |
-class SkDrawPictureCallback; |
- |
-namespace cc { |
- |
-class CC_EXPORT DisplayItemList |
- : public base::RefCountedThreadSafe<DisplayItemList> { |
- public: |
- static scoped_refptr<DisplayItemList> Create(); |
- |
- void Raster(SkCanvas* canvas, |
- SkDrawPictureCallback* callback, |
- float contents_scale) const; |
- |
- void AppendItem(scoped_ptr<DisplayItem> item); |
- |
- void set_layer_rect(gfx::Rect layer_rect) { layer_rect_ = layer_rect; } |
- gfx::Rect layer_rect() const { return layer_rect_; } |
- |
- void CreateAndCacheSkPicture(); |
- |
- bool IsSuitableForGpuRasterization() const; |
- int ApproximateOpCount() const; |
- size_t PictureMemoryUsage() const; |
- |
- scoped_refptr<base::trace_event::ConvertableToTraceFormat> AsValue() const; |
- |
- void EmitTraceSnapshot() const; |
- |
- private: |
- DisplayItemList(); |
- ~DisplayItemList(); |
- ScopedPtrVector<DisplayItem> items_; |
- skia::RefPtr<SkPicture> picture_; |
- |
- gfx::Rect layer_rect_; |
- bool is_suitable_for_gpu_rasterization_; |
- int approximate_op_count_; |
- |
- friend class base::RefCountedThreadSafe<DisplayItemList>; |
- DISALLOW_COPY_AND_ASSIGN(DisplayItemList); |
-}; |
- |
-} // namespace cc |
- |
-#endif // CC_RESOURCES_DISPLAY_ITEM_LIST_H_ |