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

Unified Diff: cc/blimp/engine_picture_cache.h

Issue 2646623002: cc: Remove all blimp code from cc. (Closed)
Patch Set: test build Created 3 years, 11 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/blimp/deserialized_content_layer_client.cc ('k') | cc/blimp/image_serialization_processor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/blimp/engine_picture_cache.h
diff --git a/cc/blimp/engine_picture_cache.h b/cc/blimp/engine_picture_cache.h
deleted file mode 100644
index d198b32ad7b7636536c88da708f53a3cc645625c..0000000000000000000000000000000000000000
--- a/cc/blimp/engine_picture_cache.h
+++ /dev/null
@@ -1,33 +0,0 @@
-// Copyright 2016 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_BLIMP_ENGINE_PICTURE_CACHE_H_
-#define CC_BLIMP_ENGINE_PICTURE_CACHE_H_
-
-#include <vector>
-
-class SkPicture;
-
-namespace cc {
-struct PictureData;
-
-// EnginePictureCache provides functionaltiy for marking when SkPictures are in
-// use an when they stop being in use. Based on this, a PictureCacheUpdate can
-// be retrieved that includes all the new items since last time it was called.
-// This PictureCacheUpdate is then supposed to be sent to the client.
-class EnginePictureCache {
- public:
- virtual ~EnginePictureCache() {}
-
- // MarkUsed must be called when an SkPicture needs to available on the client.
- virtual void MarkUsed(const SkPicture* picture) = 0;
-
- // Called when a PictureCacheUpdate is going to be sent to the client. This
- // must contain all the new SkPictures that are in use since last call.
- virtual std::vector<PictureData> CalculateCacheUpdateAndFlush() = 0;
-};
-
-} // namespace cc
-
-#endif // CC_BLIMP_ENGINE_PICTURE_CACHE_H_
« no previous file with comments | « cc/blimp/deserialized_content_layer_client.cc ('k') | cc/blimp/image_serialization_processor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698