| 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 PassRefPtr<SkImage> createImage(size_t index, bool knownToBeOpaque) const; | 84 PassRefPtr<SkImage> createImage(size_t index, bool knownToBeOpaque) const; |
| 85 void activateLazyDecoding(); | 85 void activateLazyDecoding(); |
| 86 | 86 |
| 87 RefPtr<SharedBuffer> m_data; | 87 RefPtr<SharedBuffer> m_data; |
| 88 bool m_allDataReceived; | 88 bool m_allDataReceived; |
| 89 unsigned m_lastDataSize; | 89 unsigned m_lastDataSize; |
| 90 OwnPtr<ImageDecoder> m_actualDecoder; | 90 OwnPtr<ImageDecoder> m_actualDecoder; |
| 91 | 91 |
| 92 String m_filenameExtension; | 92 String m_filenameExtension; |
| 93 IntSize m_size; | 93 IntSize m_size; |
| 94 ImageOrientation m_orientation; | |
| 95 int m_repetitionCount; | 94 int m_repetitionCount; |
| 96 bool m_hasColorProfile; | 95 bool m_hasColorProfile; |
| 97 | 96 |
| 98 // Carries only frame state and other information. Does not carry bitmap. | 97 // Carries only frame state and other information. Does not carry bitmap. |
| 99 Vector<FrameData> m_frameData; | 98 Vector<FrameData> m_frameData; |
| 100 RefPtr<ImageFrameGenerator> m_frameGenerator; | 99 RefPtr<ImageFrameGenerator> m_frameGenerator; |
| 101 | 100 |
| 102 static bool s_enabled; | 101 static bool s_enabled; |
| 103 }; | 102 }; |
| 104 | 103 |
| 105 } // namespace blink | 104 } // namespace blink |
| 106 | 105 |
| 107 #endif | 106 #endif |
| OLD | NEW |