Index: cc/layers/picture_image_layer.h |
diff --git a/cc/layers/picture_image_layer.h b/cc/layers/picture_image_layer.h |
deleted file mode 100644 |
index 8d40550bd19d1f0293895667ff42d6bb2696aa06..0000000000000000000000000000000000000000 |
--- a/cc/layers/picture_image_layer.h |
+++ /dev/null |
@@ -1,49 +0,0 @@ |
-// Copyright 2010 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_LAYERS_PICTURE_IMAGE_LAYER_H_ |
-#define CC_LAYERS_PICTURE_IMAGE_LAYER_H_ |
- |
-#include "cc/base/cc_export.h" |
-#include "cc/layers/content_layer_client.h" |
-#include "cc/layers/picture_layer.h" |
-#include "third_party/skia/include/core/SkBitmap.h" |
-#include "ui/gfx/geometry/size.h" |
- |
-namespace cc { |
- |
-class CC_EXPORT PictureImageLayer : public PictureLayer, ContentLayerClient { |
- public: |
- static scoped_refptr<PictureImageLayer> Create(); |
- |
- void SetBitmap(const SkBitmap& image); |
- |
- // Layer implementation. |
- scoped_ptr<LayerImpl> CreateLayerImpl(LayerTreeImpl* tree_impl) override; |
- |
- // ContentLayerClient implementation. |
- void PaintContents( |
- SkCanvas* canvas, |
- const gfx::Rect& clip, |
- ContentLayerClient::PaintingControlSetting painting_control) override; |
- scoped_refptr<DisplayItemList> PaintContentsToDisplayList( |
- const gfx::Rect& clip, |
- ContentLayerClient::PaintingControlSetting painting_control) override; |
- bool FillsBoundsCompletely() const override; |
- |
- protected: |
- bool HasDrawableContent() const override; |
- |
- private: |
- PictureImageLayer(); |
- ~PictureImageLayer() override; |
- |
- SkBitmap bitmap_; |
- |
- DISALLOW_COPY_AND_ASSIGN(PictureImageLayer); |
-}; |
- |
-} // namespace cc |
- |
-#endif // CC_LAYERS_PICTURE_IMAGE_LAYER_H_ |