| OLD | NEW |
| 1 /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ | 1 /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ |
| 2 /* ***** BEGIN LICENSE BLOCK ***** | 2 /* ***** BEGIN LICENSE BLOCK ***** |
| 3 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 | 3 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 |
| 4 * | 4 * |
| 5 * The contents of this file are subject to the Mozilla Public License Version | 5 * The contents of this file are subject to the Mozilla Public License Version |
| 6 * 1.1 (the "License"); you may not use this file except in compliance with | 6 * 1.1 (the "License"); you may not use this file except in compliance with |
| 7 * the License. You may obtain a copy of the License at | 7 * the License. You may obtain a copy of the License at |
| 8 * http://www.mozilla.org/MPL/ | 8 * http://www.mozilla.org/MPL/ |
| 9 * | 9 * |
| 10 * Software distributed under the License is distributed on an "AS IS" basis, | 10 * Software distributed under the License is distributed on an "AS IS" basis, |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 * of those above. If you wish to allow use of your version of this file only | 28 * of those above. If you wish to allow use of your version of this file only |
| 29 * under the terms of either the GPL or the LGPL, and not to allow others to | 29 * under the terms of either the GPL or the LGPL, and not to allow others to |
| 30 * use your version of this file under the terms of the MPL, indicate your | 30 * use your version of this file under the terms of the MPL, indicate your |
| 31 * decision by deleting the provisions above and replace them with the notice | 31 * decision by deleting the provisions above and replace them with the notice |
| 32 * and other provisions required by the GPL or the LGPL. If you do not delete | 32 * and other provisions required by the GPL or the LGPL. If you do not delete |
| 33 * the provisions above, a recipient may use your version of this file under | 33 * the provisions above, a recipient may use your version of this file under |
| 34 * the terms of any one of the MPL, the GPL or the LGPL. | 34 * the terms of any one of the MPL, the GPL or the LGPL. |
| 35 * | 35 * |
| 36 * ***** END LICENSE BLOCK ***** */ | 36 * ***** END LICENSE BLOCK ***** */ |
| 37 | 37 |
| 38 #ifndef GIFImageReader_h | 38 #ifndef SKY_ENGINE_PLATFORM_IMAGE-DECODERS_GIF_GIFIMAGEREADER_H_ |
| 39 #define GIFImageReader_h | 39 #define SKY_ENGINE_PLATFORM_IMAGE-DECODERS_GIF_GIFIMAGEREADER_H_ |
| 40 | 40 |
| 41 // Define ourselves as the clientPtr. Mozilla just hacked their C++ callback cl
ass into this old C decoder, | 41 // Define ourselves as the clientPtr. Mozilla just hacked their C++ callback cl
ass into this old C decoder, |
| 42 // so we will too. | 42 // so we will too. |
| 43 #include "platform/image-decoders/gif/GIFImageDecoder.h" | 43 #include "platform/image-decoders/gif/GIFImageDecoder.h" |
| 44 #include "sky/engine/platform/SharedBuffer.h" | 44 #include "sky/engine/platform/SharedBuffer.h" |
| 45 #include "sky/engine/wtf/Noncopyable.h" | 45 #include "sky/engine/wtf/Noncopyable.h" |
| 46 #include "sky/engine/wtf/OwnPtr.h" | 46 #include "sky/engine/wtf/OwnPtr.h" |
| 47 #include "sky/engine/wtf/PassOwnPtr.h" | 47 #include "sky/engine/wtf/PassOwnPtr.h" |
| 48 #include "sky/engine/wtf/Vector.h" | 48 #include "sky/engine/wtf/Vector.h" |
| 49 | 49 |
| (...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 357 int m_loopCount; // Netscape specific extension block to control the number
of animation loops a GIF renders. | 357 int m_loopCount; // Netscape specific extension block to control the number
of animation loops a GIF renders. |
| 358 | 358 |
| 359 Vector<OwnPtr<GIFFrameContext> > m_frames; | 359 Vector<OwnPtr<GIFFrameContext> > m_frames; |
| 360 | 360 |
| 361 RefPtr<blink::SharedBuffer> m_data; | 361 RefPtr<blink::SharedBuffer> m_data; |
| 362 bool m_parseCompleted; | 362 bool m_parseCompleted; |
| 363 }; | 363 }; |
| 364 | 364 |
| 365 } // namespace blink | 365 } // namespace blink |
| 366 | 366 |
| 367 #endif | 367 #endif // SKY_ENGINE_PLATFORM_IMAGE-DECODERS_GIF_GIFIMAGEREADER_H_ |
| OLD | NEW |