| 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 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 222 m_width = width; | 222 m_width = width; |
| 223 m_height = height; | 223 m_height = height; |
| 224 } | 224 } |
| 225 blink::IntRect frameRect() const { return blink::IntRect(m_xOffset, m_yOffse
t, m_width, m_height); } | 225 blink::IntRect frameRect() const { return blink::IntRect(m_xOffset, m_yOffse
t, m_width, m_height); } |
| 226 unsigned xOffset() const { return m_xOffset; } | 226 unsigned xOffset() const { return m_xOffset; } |
| 227 unsigned yOffset() const { return m_yOffset; } | 227 unsigned yOffset() const { return m_yOffset; } |
| 228 unsigned width() const { return m_width; } | 228 unsigned width() const { return m_width; } |
| 229 unsigned height() const { return m_height; } | 229 unsigned height() const { return m_height; } |
| 230 size_t transparentPixel() const { return m_transparentPixel; } | 230 size_t transparentPixel() const { return m_transparentPixel; } |
| 231 void setTransparentPixel(size_t pixel) { m_transparentPixel = pixel; } | 231 void setTransparentPixel(size_t pixel) { m_transparentPixel = pixel; } |
| 232 blink::ImageFrame::DisposalMethod disposalMethod() const { return m_disposal
Method; } | 232 blink::ImageFrame::DisposalMethod getDisposalMethod() const { return m_dispo
salMethod; } |
| 233 void setDisposalMethod(blink::ImageFrame::DisposalMethod disposalMethod) { m
_disposalMethod = disposalMethod; } | 233 void setDisposalMethod(blink::ImageFrame::DisposalMethod disposalMethod) { m
_disposalMethod = disposalMethod; } |
| 234 unsigned delayTime() const { return m_delayTime; } | 234 unsigned delayTime() const { return m_delayTime; } |
| 235 void setDelayTime(unsigned delay) { m_delayTime = delay; } | 235 void setDelayTime(unsigned delay) { m_delayTime = delay; } |
| 236 bool isComplete() const { return m_isComplete; } | 236 bool isComplete() const { return m_isComplete; } |
| 237 void setComplete() { m_isComplete = true; } | 237 void setComplete() { m_isComplete = true; } |
| 238 bool isHeaderDefined() const { return m_isHeaderDefined; } | 238 bool isHeaderDefined() const { return m_isHeaderDefined; } |
| 239 void setHeaderDefined() { m_isHeaderDefined = true; } | 239 void setHeaderDefined() { m_isHeaderDefined = true; } |
| 240 bool isDataSizeDefined() const { return m_isDataSizeDefined; } | 240 bool isDataSizeDefined() const { return m_isDataSizeDefined; } |
| 241 int dataSize() const { return m_dataSize; } | 241 int dataSize() const { return m_dataSize; } |
| 242 void setDataSize(int size) | 242 void setDataSize(int size) |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 354 GIFColorMap m_globalColorMap; | 354 GIFColorMap m_globalColorMap; |
| 355 int m_loopCount; // Netscape specific extension block to control the number
of animation loops a GIF renders. | 355 int m_loopCount; // Netscape specific extension block to control the number
of animation loops a GIF renders. |
| 356 | 356 |
| 357 Vector<OwnPtr<GIFFrameContext>> m_frames; | 357 Vector<OwnPtr<GIFFrameContext>> m_frames; |
| 358 | 358 |
| 359 RefPtr<blink::SharedBuffer> m_data; | 359 RefPtr<blink::SharedBuffer> m_data; |
| 360 bool m_parseCompleted; | 360 bool m_parseCompleted; |
| 361 }; | 361 }; |
| 362 | 362 |
| 363 #endif | 363 #endif |
| OLD | NEW |