| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005, 2006 Apple Computer, Inc. All rights reserved. | 2 * Copyright (C) 2004, 2005, 2006 Apple Computer, Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 class SkBitmap; | 35 class SkBitmap; |
| 36 | 36 |
| 37 namespace blink { | 37 namespace blink { |
| 38 | 38 |
| 39 class DeferredImageDecoder; | 39 class DeferredImageDecoder; |
| 40 class ImageOrientation; | 40 class ImageOrientation; |
| 41 class IntPoint; | 41 class IntPoint; |
| 42 class IntSize; | 42 class IntSize; |
| 43 class SharedBuffer; | 43 class SharedBuffer; |
| 44 | 44 |
| 45 // This is a helper class used by BitmapImage only. If you need an image | |
| 46 // decoder then you should look into | |
| 47 // Source/platform/image-decoders/ImageDecoder.h. | |
| 48 class PLATFORM_EXPORT ImageSource { | 45 class PLATFORM_EXPORT ImageSource { |
| 49 WTF_MAKE_NONCOPYABLE(ImageSource); | 46 WTF_MAKE_NONCOPYABLE(ImageSource); |
| 50 public: | 47 public: |
| 51 enum AlphaOption { | 48 enum AlphaOption { |
| 52 AlphaPremultiplied, | 49 AlphaPremultiplied, |
| 53 AlphaNotPremultiplied | 50 AlphaNotPremultiplied |
| 54 }; | 51 }; |
| 55 | 52 |
| 56 enum GammaAndColorProfileOption { | 53 enum GammaAndColorProfileOption { |
| 57 GammaAndColorProfileApplied, | 54 GammaAndColorProfileApplied, |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 private: | 108 private: |
| 112 OwnPtr<DeferredImageDecoder> m_decoder; | 109 OwnPtr<DeferredImageDecoder> m_decoder; |
| 113 | 110 |
| 114 AlphaOption m_alphaOption; | 111 AlphaOption m_alphaOption; |
| 115 GammaAndColorProfileOption m_gammaAndColorProfileOption; | 112 GammaAndColorProfileOption m_gammaAndColorProfileOption; |
| 116 }; | 113 }; |
| 117 | 114 |
| 118 } // namespace blink | 115 } // namespace blink |
| 119 | 116 |
| 120 #endif | 117 #endif |
| OLD | NEW |