| 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) 2008-2009 Torch Mobile, Inc. | 3 * Copyright (C) 2008-2009 Torch Mobile, Inc. |
| 4 * Copyright (C) Research In Motion Limited 2009-2010. All rights reserved. | 4 * Copyright (C) Research In Motion Limited 2009-2010. All rights reserved. |
| 5 * Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies) | 5 * Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies) |
| 6 * | 6 * |
| 7 * Redistribution and use in source and binary forms, with or without | 7 * Redistribution and use in source and binary forms, with or without |
| 8 * modification, are permitted provided that the following conditions | 8 * modification, are permitted provided that the following conditions |
| 9 * are met: | 9 * are met: |
| 10 * 1. Redistributions of source code must retain the above copyright | 10 * 1. Redistributions of source code must retain the above copyright |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR | 22 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR |
| 23 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY | 23 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY |
| 24 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 24 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 27 */ | 27 */ |
| 28 | 28 |
| 29 #ifndef ImageDecoder_h | 29 #ifndef ImageDecoder_h |
| 30 #define ImageDecoder_h | 30 #define ImageDecoder_h |
| 31 | 31 |
| 32 #include "NativeImageSkia.h" | |
| 33 #include "SkColorPriv.h" | 32 #include "SkColorPriv.h" |
| 34 #include "core/platform/PlatformScreen.h" | 33 #include "core/platform/PlatformScreen.h" |
| 35 #include "core/platform/SharedBuffer.h" | 34 #include "core/platform/SharedBuffer.h" |
| 36 #include "core/platform/graphics/ImageSource.h" | 35 #include "core/platform/graphics/ImageSource.h" |
| 37 #include "core/platform/graphics/IntRect.h" | 36 #include "core/platform/graphics/IntRect.h" |
| 37 #include "core/platform/graphics/skia/NativeImageSkia.h" |
| 38 #include <wtf/Assertions.h> | 38 #include <wtf/Assertions.h> |
| 39 #include <wtf/RefPtr.h> | 39 #include <wtf/RefPtr.h> |
| 40 #include <wtf/text/WTFString.h> | 40 #include <wtf/text/WTFString.h> |
| 41 #include <wtf/Vector.h> | 41 #include <wtf/Vector.h> |
| 42 | 42 |
| 43 #if USE(QCMSLIB) | 43 #if USE(QCMSLIB) |
| 44 #include "qcms.h" | 44 #include "qcms.h" |
| 45 #if OS(DARWIN) | 45 #if OS(DARWIN) |
| 46 #include <ApplicationServices/ApplicationServices.h> | 46 #include <ApplicationServices/ApplicationServices.h> |
| 47 #include "core/platform/graphics/cg/GraphicsContextCG.h" | 47 #include "core/platform/graphics/cg/GraphicsContextCG.h" |
| (...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 421 IntSize m_size; | 421 IntSize m_size; |
| 422 bool m_sizeAvailable; | 422 bool m_sizeAvailable; |
| 423 int m_maxNumPixels; | 423 int m_maxNumPixels; |
| 424 bool m_isAllDataReceived; | 424 bool m_isAllDataReceived; |
| 425 bool m_failed; | 425 bool m_failed; |
| 426 }; | 426 }; |
| 427 | 427 |
| 428 } // namespace WebCore | 428 } // namespace WebCore |
| 429 | 429 |
| 430 #endif | 430 #endif |
| OLD | NEW |