OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google 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 #include "wtf/PassRefPtr.h" | 35 #include "wtf/PassRefPtr.h" |
36 #include "wtf/RefCounted.h" | 36 #include "wtf/RefCounted.h" |
37 #include "wtf/RefPtr.h" | 37 #include "wtf/RefPtr.h" |
38 #include "wtf/ThreadingPrimitives.h" | 38 #include "wtf/ThreadingPrimitives.h" |
39 #include "wtf/ThreadSafeRefCounted.h" | 39 #include "wtf/ThreadSafeRefCounted.h" |
40 #include "wtf/Vector.h" | 40 #include "wtf/Vector.h" |
41 | 41 |
42 namespace blink { | 42 namespace blink { |
43 | 43 |
44 class ImageDecoder; | 44 class ImageDecoder; |
45 class ImagePlanes; | |
46 class SharedBuffer; | 45 class SharedBuffer; |
47 | 46 |
48 class PLATFORM_EXPORT ImageDecoderFactory { | 47 class PLATFORM_EXPORT ImageDecoderFactory { |
49 WTF_MAKE_NONCOPYABLE(ImageDecoderFactory); | 48 WTF_MAKE_NONCOPYABLE(ImageDecoderFactory); |
50 public: | 49 public: |
51 ImageDecoderFactory() {} | 50 ImageDecoderFactory() {} |
52 virtual ~ImageDecoderFactory() { } | 51 virtual ~ImageDecoderFactory() { } |
53 virtual PassOwnPtr<ImageDecoder> create() = 0; | 52 virtual PassOwnPtr<ImageDecoder> create() = 0; |
54 }; | 53 }; |
55 | 54 |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 // Prevents multiple decode operations on the same data. | 116 // Prevents multiple decode operations on the same data. |
118 Mutex m_decodeMutex; | 117 Mutex m_decodeMutex; |
119 | 118 |
120 // Protect concurrent access to m_hasAlpha. | 119 // Protect concurrent access to m_hasAlpha. |
121 Mutex m_alphaMutex; | 120 Mutex m_alphaMutex; |
122 }; | 121 }; |
123 | 122 |
124 } // namespace blink | 123 } // namespace blink |
125 | 124 |
126 #endif | 125 #endif |
OLD | NEW |