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 21 matching lines...) Expand all Loading... |
32 #include "platform/PlatformExport.h" | 32 #include "platform/PlatformExport.h" |
33 #include "platform/graphics/ThreadSafeDataTransport.h" | 33 #include "platform/graphics/ThreadSafeDataTransport.h" |
34 #include "wtf/PassOwnPtr.h" | 34 #include "wtf/PassOwnPtr.h" |
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 WebCore { | 42 namespace blink { |
43 | 43 |
44 class ImageDecoder; | 44 class ImageDecoder; |
45 class ScaledImageFragment; | 45 class ScaledImageFragment; |
46 class SharedBuffer; | 46 class SharedBuffer; |
47 | 47 |
48 class PLATFORM_EXPORT ImageDecoderFactory { | 48 class PLATFORM_EXPORT ImageDecoderFactory { |
49 WTF_MAKE_NONCOPYABLE(ImageDecoderFactory); | 49 WTF_MAKE_NONCOPYABLE(ImageDecoderFactory); |
50 public: | 50 public: |
51 ImageDecoderFactory() {} | 51 ImageDecoderFactory() {} |
52 virtual ~ImageDecoderFactory() { } | 52 virtual ~ImageDecoderFactory() { } |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 | 118 |
119 OwnPtr<ImageDecoderFactory> m_imageDecoderFactory; | 119 OwnPtr<ImageDecoderFactory> m_imageDecoderFactory; |
120 | 120 |
121 // Prevents multiple decode operations on the same data. | 121 // Prevents multiple decode operations on the same data. |
122 Mutex m_decodeMutex; | 122 Mutex m_decodeMutex; |
123 | 123 |
124 // Protect concurrent access to m_hasAlpha. | 124 // Protect concurrent access to m_hasAlpha. |
125 Mutex m_alphaMutex; | 125 Mutex m_alphaMutex; |
126 }; | 126 }; |
127 | 127 |
128 } // namespace WebCore | 128 } // namespace blink |
129 | 129 |
130 #endif | 130 #endif |
OLD | NEW |