| OLD | NEW |
| (Empty) |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef BLIMP_COMMON_COMPOSITOR_WEBP_DECODER_H_ | |
| 6 #define BLIMP_COMMON_COMPOSITOR_WEBP_DECODER_H_ | |
| 7 | |
| 8 #include <stddef.h> | |
| 9 | |
| 10 #include "blimp/common/blimp_common_export.h" | |
| 11 #include "third_party/skia/include/core/SkData.h" | |
| 12 | |
| 13 class SkBitmap; | |
| 14 | |
| 15 namespace blimp { | |
| 16 | |
| 17 // WebPDecoder is an implementation of SkPicture::InstallPixelRefProc which | |
| 18 // is used by the client to decode WebP images that are part of an SkPicture. | |
| 19 BLIMP_COMMON_EXPORT bool WebPDecoder(const void* input, | |
| 20 size_t input_size, | |
| 21 SkBitmap* bitmap); | |
| 22 | |
| 23 } // namespace blimp | |
| 24 | |
| 25 #endif // BLIMP_COMMON_COMPOSITOR_WEBP_DECODER_H_ | |
| OLD | NEW |