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

Unified Diff: blimp/common/compositor/blimp_image_serialization_processor.h

Issue 1955493002: Move BlimpImageSerializationProcessor and WebPDecoder to //blimp/client (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments, moved to blimp::client namespace, renamed webp_decoder.[cc|h] according to func… Created 4 years, 7 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 | « blimp/common/BUILD.gn ('k') | blimp/common/compositor/blimp_image_serialization_processor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/common/compositor/blimp_image_serialization_processor.h
diff --git a/blimp/common/compositor/blimp_image_serialization_processor.h b/blimp/common/compositor/blimp_image_serialization_processor.h
deleted file mode 100644
index 9deb15bd2f218ba04d359e5ee434129f3f813c8c..0000000000000000000000000000000000000000
--- a/blimp/common/compositor/blimp_image_serialization_processor.h
+++ /dev/null
@@ -1,43 +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 BLIMP_COMMON_COMPOSITOR_BLIMP_IMAGE_SERIALIZATION_PROCESSOR_H_
-#define BLIMP_COMMON_COMPOSITOR_BLIMP_IMAGE_SERIALIZATION_PROCESSOR_H_
-
-#include <memory>
-
-#include "base/macros.h"
-#include "blimp/common/blimp_common_export.h"
-#include "cc/proto/image_serialization_processor.h"
-#include "third_party/skia/include/core/SkPicture.h"
-
-class SkPixelSerializer;
-
-namespace blimp {
-
-// BlimpImageSerializationProcessor provides functionality to serialize and
-// deserialize Skia images.
-class BLIMP_COMMON_EXPORT BlimpImageSerializationProcessor
- : public cc::ImageSerializationProcessor {
- public:
- // Denotes whether the BlimpImageSerializationProcessor should act as a
- // serializer (engine) or deserializer (client).
- enum class Mode { SERIALIZATION, DESERIALIZATION };
- explicit BlimpImageSerializationProcessor(Mode mode);
- ~BlimpImageSerializationProcessor();
-
- // cc::ImageSerializationProcessor implementation.
- SkPixelSerializer* GetPixelSerializer() override;
- SkPicture::InstallPixelRefProc GetPixelDeserializer() override;
-
- private:
- std::unique_ptr<SkPixelSerializer> pixel_serializer_;
- SkPicture::InstallPixelRefProc pixel_deserializer_;
-
- DISALLOW_COPY_AND_ASSIGN(BlimpImageSerializationProcessor);
-};
-
-} // namespace blimp
-
-#endif // BLIMP_COMMON_COMPOSITOR_BLIMP_IMAGE_SERIALIZATION_PROCESSOR_H_
« no previous file with comments | « blimp/common/BUILD.gn ('k') | blimp/common/compositor/blimp_image_serialization_processor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698