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

Unified Diff: cc/resources/skpicture_content_layer_updater.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/single_release_callback_impl.cc ('k') | cc/resources/skpicture_content_layer_updater.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/skpicture_content_layer_updater.h
diff --git a/cc/resources/skpicture_content_layer_updater.h b/cc/resources/skpicture_content_layer_updater.h
deleted file mode 100644
index 33480a873c8b6258b5047f807ad067349d658047..0000000000000000000000000000000000000000
--- a/cc/resources/skpicture_content_layer_updater.h
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright 2011 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_SKPICTURE_CONTENT_LAYER_UPDATER_H_
-#define CC_RESOURCES_SKPICTURE_CONTENT_LAYER_UPDATER_H_
-
-#include "cc/resources/content_layer_updater.h"
-#include "skia/ext/refptr.h"
-#include "third_party/skia/include/core/SkPicture.h"
-
-class SkCanvas;
-
-namespace cc {
-
-class LayerPainter;
-
-// This class records the content_rect into an SkPicture. Subclass provides
-// SkCanvas to DrawPicture() for tile updating based on this recorded picture.
-class SkPictureContentLayerUpdater : public ContentLayerUpdater {
- protected:
- SkPictureContentLayerUpdater(
- scoped_ptr<LayerPainter> painter,
- int layer_id);
- ~SkPictureContentLayerUpdater() override;
-
- void PrepareToUpdate(const gfx::Size& content_size,
- const gfx::Rect& paint_rect,
- const gfx::Size& tile_size,
- float contents_width_scale,
- float contents_height_scale) override;
- void DrawPicture(SkCanvas* canvas);
-
- private:
- skia::RefPtr<SkPicture> picture_;
-
- DISALLOW_COPY_AND_ASSIGN(SkPictureContentLayerUpdater);
-};
-
-} // namespace cc
-
-#endif // CC_RESOURCES_SKPICTURE_CONTENT_LAYER_UPDATER_H_
« no previous file with comments | « cc/resources/single_release_callback_impl.cc ('k') | cc/resources/skpicture_content_layer_updater.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698