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

Unified Diff: cc/resources/image_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/gpu_tile_task_worker_pool.cc ('k') | cc/resources/image_layer_updater.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/image_layer_updater.h
diff --git a/cc/resources/image_layer_updater.h b/cc/resources/image_layer_updater.h
deleted file mode 100644
index 81225ba7b5e79f17669dcdcef2d91eda29c45ed5..0000000000000000000000000000000000000000
--- a/cc/resources/image_layer_updater.h
+++ /dev/null
@@ -1,60 +0,0 @@
-// Copyright 2012 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_IMAGE_LAYER_UPDATER_H_
-#define CC_RESOURCES_IMAGE_LAYER_UPDATER_H_
-
-#include "cc/base/cc_export.h"
-#include "cc/resources/layer_updater.h"
-#include "third_party/skia/include/core/SkBitmap.h"
-
-namespace cc {
-
-class ResourceUpdateQueue;
-
-class CC_EXPORT ImageLayerUpdater : public LayerUpdater {
- public:
- class Resource : public LayerUpdater::Resource {
- public:
- Resource(ImageLayerUpdater* updater,
- scoped_ptr<PrioritizedResource> texture);
- ~Resource() override;
-
- void Update(ResourceUpdateQueue* queue,
- const gfx::Rect& source_rect,
- const gfx::Vector2d& dest_offset,
- bool partial_update) override;
-
- private:
- ImageLayerUpdater* updater_;
-
- DISALLOW_COPY_AND_ASSIGN(Resource);
- };
-
- static scoped_refptr<ImageLayerUpdater> Create();
-
- scoped_ptr<LayerUpdater::Resource> CreateResource(
- PrioritizedResourceManager*) override;
-
- void UpdateTexture(ResourceUpdateQueue* queue,
- PrioritizedResource* texture,
- const gfx::Rect& source_rect,
- const gfx::Vector2d& dest_offset,
- bool partial_update);
-
- void SetBitmap(const SkBitmap& bitmap);
- bool UsingBitmap(const SkBitmap& bitmap) const;
-
- private:
- ImageLayerUpdater() {}
- ~ImageLayerUpdater() override {}
-
- SkBitmap bitmap_;
-
- DISALLOW_COPY_AND_ASSIGN(ImageLayerUpdater);
-};
-
-} // namespace cc
-
-#endif // CC_RESOURCES_IMAGE_LAYER_UPDATER_H_
« no previous file with comments | « cc/resources/gpu_tile_task_worker_pool.cc ('k') | cc/resources/image_layer_updater.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698