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

Unified Diff: blimp/client/feature/compositor/decoding_image_generator.h

Issue 2160363002: Move ImageSerializationProcessor code to blimp/client/core (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@split-blimp-client-core
Patch Set: fix public_deps for //blimp/test Created 4 years, 5 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
Index: blimp/client/feature/compositor/decoding_image_generator.h
diff --git a/blimp/client/feature/compositor/decoding_image_generator.h b/blimp/client/feature/compositor/decoding_image_generator.h
deleted file mode 100644
index 3a3d2dea6113b89991c38f0e22dac505067fb937..0000000000000000000000000000000000000000
--- a/blimp/client/feature/compositor/decoding_image_generator.h
+++ /dev/null
@@ -1,48 +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_CLIENT_FEATURE_COMPOSITOR_DECODING_IMAGE_GENERATOR_H_
-#define BLIMP_CLIENT_FEATURE_COMPOSITOR_DECODING_IMAGE_GENERATOR_H_
-
-#include "base/macros.h"
-#include "third_party/skia/include/core/SkImageGenerator.h"
-#include "third_party/skia/include/core/SkImageInfo.h"
-
-class SkData;
-
-namespace blimp {
-namespace client {
-
-class DecodingImageGenerator : public SkImageGenerator {
- public:
- static SkImageGenerator* create(SkData* data);
- explicit DecodingImageGenerator(const SkImageInfo info,
- const void* data,
- size_t size);
- ~DecodingImageGenerator() override;
-
- protected:
- // SkImageGenerator implementation.
- bool onGetPixels(const SkImageInfo&,
- void* pixels,
- size_t rowBytes,
- SkPMColor table[],
- int* tableCount) override;
-
- bool onQueryYUV8(SkYUVSizeInfo* sizeInfo,
- SkYUVColorSpace* colorSpace) const override;
-
- bool onGetYUV8Planes(const SkYUVSizeInfo&,
- void* planes[3]) override;
-
- private:
- SkBitmap decoded_bitmap_;
-
- DISALLOW_COPY_AND_ASSIGN(DecodingImageGenerator);
-};
-
-} // namespace client
-} // namespace blimp
-
-#endif // BLIMP_CLIENT_FEATURE_COMPOSITOR_DECODING_IMAGE_GENERATOR_H_

Powered by Google App Engine
This is Rietveld 408576698