| OLD | NEW |
| 1 /* | 1 /* |
| 2 Copyright (C) 1998 Lars Knoll (knoll@mpi-hd.mpg.de) | 2 Copyright (C) 1998 Lars Knoll (knoll@mpi-hd.mpg.de) |
| 3 Copyright (C) 2001 Dirk Mueller <mueller@kde.org> | 3 Copyright (C) 2001 Dirk Mueller <mueller@kde.org> |
| 4 Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com) | 4 Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com) |
| 5 Copyright (C) 2004, 2005, 2006, 2007 Apple Inc. All rights reserved. | 5 Copyright (C) 2004, 2005, 2006, 2007 Apple Inc. All rights reserved. |
| 6 | 6 |
| 7 This library is free software; you can redistribute it and/or | 7 This library is free software; you can redistribute it and/or |
| 8 modify it under the terms of the GNU Library General Public | 8 modify it under the terms of the GNU Library General Public |
| 9 License as published by the Free Software Foundation; either | 9 License as published by the Free Software Foundation; either |
| 10 version 2 of the License, or (at your option) any later version. | 10 version 2 of the License, or (at your option) any later version. |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 | 103 |
| 104 virtual bool isImage() const override { return true; } | 104 virtual bool isImage() const override { return true; } |
| 105 virtual bool stillNeedsLoad() const override { return !errorOccurred() && st
atus() == Unknown && !isLoading(); } | 105 virtual bool stillNeedsLoad() const override { return !errorOccurred() && st
atus() == Unknown && !isLoading(); } |
| 106 | 106 |
| 107 // ImageObserver | 107 // ImageObserver |
| 108 virtual void decodedSizeChanged(const blink::Image*, int delta) override; | 108 virtual void decodedSizeChanged(const blink::Image*, int delta) override; |
| 109 virtual void didDraw(const blink::Image*) override; | 109 virtual void didDraw(const blink::Image*) override; |
| 110 | 110 |
| 111 virtual bool shouldPauseAnimation(const blink::Image*) override; | 111 virtual bool shouldPauseAnimation(const blink::Image*) override; |
| 112 virtual void animationAdvanced(const blink::Image*) override; | 112 virtual void animationAdvanced(const blink::Image*) override; |
| 113 virtual void imageAnimationPolicy(const blink::Image*, ImageAnimationPolicy&
) override; |
| 113 virtual void changedInRect(const blink::Image*, const IntRect&) override; | 114 virtual void changedInRect(const blink::Image*, const IntRect&) override; |
| 114 | 115 |
| 115 protected: | 116 protected: |
| 116 virtual bool isSafeToUnlock() const override; | 117 virtual bool isSafeToUnlock() const override; |
| 117 virtual void destroyDecodedDataIfPossible() override; | 118 virtual void destroyDecodedDataIfPossible() override; |
| 118 | 119 |
| 119 private: | 120 private: |
| 120 void clear(); | 121 void clear(); |
| 121 | 122 |
| 122 void setCustomAcceptHeader(); | 123 void setCustomAcceptHeader(); |
| (...skipping 14 matching lines...) Expand all Loading... |
| 137 OwnPtr<SVGImageCache> m_svgImageCache; | 138 OwnPtr<SVGImageCache> m_svgImageCache; |
| 138 bool m_loadingMultipartContent; | 139 bool m_loadingMultipartContent; |
| 139 bool m_hasDevicePixelRatioHeaderValue; | 140 bool m_hasDevicePixelRatioHeaderValue; |
| 140 }; | 141 }; |
| 141 | 142 |
| 142 DEFINE_RESOURCE_TYPE_CASTS(Image); | 143 DEFINE_RESOURCE_TYPE_CASTS(Image); |
| 143 | 144 |
| 144 } | 145 } |
| 145 | 146 |
| 146 #endif | 147 #endif |
| OLD | NEW |