| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include <memory> |
| 5 #include "platform/image-decoders/ImageDecoder.h" | 6 #include "platform/image-decoders/ImageDecoder.h" |
| 6 #include "wtf/Vector.h" | 7 #include "platform/wtf/Vector.h" |
| 7 #include <memory> | |
| 8 | 8 |
| 9 class SkBitmap; | 9 class SkBitmap; |
| 10 | 10 |
| 11 namespace blink { | 11 namespace blink { |
| 12 class ImageDecoder; | 12 class ImageDecoder; |
| 13 class SharedBuffer; | 13 class SharedBuffer; |
| 14 | 14 |
| 15 const char decodersTestingDir[] = "Source/platform/image-decoders/testing"; | 15 const char decodersTestingDir[] = "Source/platform/image-decoders/testing"; |
| 16 | 16 |
| 17 using DecoderCreator = std::unique_ptr<ImageDecoder> (*)(); | 17 using DecoderCreator = std::unique_ptr<ImageDecoder> (*)(); |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 const char* dir, | 102 const char* dir, |
| 103 const char* file); | 103 const char* file); |
| 104 void testResumePartialDecodeAfterClearFrameBufferCache(DecoderCreator, | 104 void testResumePartialDecodeAfterClearFrameBufferCache(DecoderCreator, |
| 105 const char* file); | 105 const char* file); |
| 106 | 106 |
| 107 // Verifies that result of alpha blending is similar for AlphaPremultiplied and | 107 // Verifies that result of alpha blending is similar for AlphaPremultiplied and |
| 108 // AlphaNotPremultiplied cases. | 108 // AlphaNotPremultiplied cases. |
| 109 void testAlphaBlending(DecoderCreatorWithAlpha, const char*); | 109 void testAlphaBlending(DecoderCreatorWithAlpha, const char*); |
| 110 | 110 |
| 111 } // namespace blink | 111 } // namespace blink |
| OLD | NEW |