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

Unified Diff: blimp/client/feature/compositor/blimp_image_decoder.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
Index: blimp/client/feature/compositor/blimp_image_decoder.h
diff --git a/blimp/client/feature/compositor/blimp_image_decoder.h b/blimp/client/feature/compositor/blimp_image_decoder.h
new file mode 100644
index 0000000000000000000000000000000000000000..e7f6c81f436ced4dace5593b706ea83610d4a055
--- /dev/null
+++ b/blimp/client/feature/compositor/blimp_image_decoder.h
@@ -0,0 +1,23 @@
+// 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_BLIMP_IMAGE_DECODER_H_
+#define BLIMP_CLIENT_FEATURE_COMPOSITOR_BLIMP_IMAGE_DECODER_H_
+
+#include <stddef.h>
+
+class SkBitmap;
+
+namespace blimp {
+namespace client {
+
+// BlimpImageDecoder is an implementation of SkPicture::InstallPixelRefProc
+// which is used by the client to decode WebP images that are part of an
+// SkPicture.
+bool BlimpImageDecoder(const void* input, size_t input_size, SkBitmap* bitmap);
+
+} // namespace client
+} // namespace blimp
+
+#endif // BLIMP_CLIENT_FEATURE_COMPOSITOR_BLIMP_IMAGE_DECODER_H_
« no previous file with comments | « blimp/client/feature/compositor/blimp_compositor_unittest.cc ('k') | blimp/client/feature/compositor/blimp_image_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698