| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006 Apple Computer, Inc. All rights reserved. | 2 * Copyright (C) 2006 Apple Computer, Inc. All rights reserved. |
| 3 * Copyright (C) Research In Motion Limited 2009-2010. All rights reserved. | 3 * Copyright (C) Research In Motion Limited 2009-2010. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 #include "public/platform/Platform.h" | 36 #include "public/platform/Platform.h" |
| 37 #include "wtf/Assertions.h" | 37 #include "wtf/Assertions.h" |
| 38 #include "wtf/RefPtr.h" | 38 #include "wtf/RefPtr.h" |
| 39 #include "wtf/text/WTFString.h" | 39 #include "wtf/text/WTFString.h" |
| 40 #include "wtf/Vector.h" | 40 #include "wtf/Vector.h" |
| 41 | 41 |
| 42 #if USE(QCMSLIB) | 42 #if USE(QCMSLIB) |
| 43 #include "qcms.h" | 43 #include "qcms.h" |
| 44 #if OS(MACOSX) | 44 #if OS(MACOSX) |
| 45 #include <ApplicationServices/ApplicationServices.h> | 45 #include <ApplicationServices/ApplicationServices.h> |
| 46 #include "platform/graphics/cg/GraphicsContextCG.h" | |
| 47 #include "wtf/RetainPtr.h" | 46 #include "wtf/RetainPtr.h" |
| 48 #endif | 47 #endif |
| 49 #endif | 48 #endif |
| 50 | 49 |
| 51 namespace WebCore { | 50 namespace WebCore { |
| 52 | 51 |
| 53 // ImageDecoder is a base for all format-specific decoders | 52 // ImageDecoder is a base for all format-specific decoders |
| 54 // (e.g. JPEGImageDecoder). This base manages the ImageFrame cache. | 53 // (e.g. JPEGImageDecoder). This base manages the ImageFrame cache. |
| 55 // | 54 // |
| 56 class PLATFORM_EXPORT ImageDecoder { | 55 class PLATFORM_EXPORT ImageDecoder { |
| (...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 299 | 298 |
| 300 IntSize m_size; | 299 IntSize m_size; |
| 301 bool m_sizeAvailable; | 300 bool m_sizeAvailable; |
| 302 bool m_isAllDataReceived; | 301 bool m_isAllDataReceived; |
| 303 bool m_failed; | 302 bool m_failed; |
| 304 }; | 303 }; |
| 305 | 304 |
| 306 } // namespace WebCore | 305 } // namespace WebCore |
| 307 | 306 |
| 308 #endif | 307 #endif |
| OLD | NEW |