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

Unified Diff: cc/picture_image_layer.h

Issue 12603013: Part 10 of cc/ directory shuffles: layers (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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/output/software_renderer_unittest.cc ('k') | cc/picture_image_layer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/picture_image_layer.h
diff --git a/cc/picture_image_layer.h b/cc/picture_image_layer.h
deleted file mode 100644
index 0a2aa6ddfd0e6470ef3b2b08ffba46b80a5cc618..0000000000000000000000000000000000000000
--- a/cc/picture_image_layer.h
+++ /dev/null
@@ -1,42 +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_PICTURE_IMAGE_LAYER_H_
-#define CC_PICTURE_IMAGE_LAYER_H_
-
-#include "cc/base/cc_export.h"
-#include "cc/content_layer_client.h"
-#include "cc/picture_layer.h"
-#include "third_party/skia/include/core/SkBitmap.h"
-#include "ui/gfx/size.h"
-
-namespace cc {
-
-class CC_EXPORT PictureImageLayer : public PictureLayer, ContentLayerClient {
- public:
- static scoped_refptr<PictureImageLayer> Create();
-
- void SetBitmap(const SkBitmap& image);
-
- // Layer implementation.
- virtual scoped_ptr<LayerImpl> CreateLayerImpl(
- LayerTreeImpl* tree_impl) OVERRIDE;
- virtual bool DrawsContent() const OVERRIDE;
-
- // ContentLayerClient implementation.
- virtual void PaintContents(
- SkCanvas* canvas,
- gfx::Rect clip,
- gfx::RectF* opaque) OVERRIDE;
-
- private:
- PictureImageLayer();
- virtual ~PictureImageLayer();
-
- SkBitmap bitmap_;
-};
-
-} // namespace cc
-
-#endif // CC_PICTURE_IMAGE_LAYER_H_
« no previous file with comments | « cc/output/software_renderer_unittest.cc ('k') | cc/picture_image_layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698