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

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

Issue 2542083004: Make //blimp/client/app a real embedder of //blimp/client/public (Closed)
Patch Set: Fix findbugs issue Created 4 years 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/core/compositor/decoding_image_generator.h
diff --git a/blimp/client/core/compositor/decoding_image_generator.h b/blimp/client/core/compositor/decoding_image_generator.h
deleted file mode 100644
index 7e9fbb572e878a9b433570dabf06406e08164853..0000000000000000000000000000000000000000
--- a/blimp/client/core/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_CORE_COMPOSITOR_DECODING_IMAGE_GENERATOR_H_
-#define BLIMP_CLIENT_CORE_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_CORE_COMPOSITOR_DECODING_IMAGE_GENERATOR_H_
« no previous file with comments | « blimp/client/core/compositor/blob_channel_feature.h ('k') | blimp/client/core/compositor/decoding_image_generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698