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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 | 99 |
100 private: | 100 private: |
101 void clear(); | 101 void clear(); |
102 | 102 |
103 void setCustomAcceptHeader(); | 103 void setCustomAcceptHeader(); |
104 void createImage(); | 104 void createImage(); |
105 void updateImage(bool allDataReceived); | 105 void updateImage(bool allDataReceived); |
106 void clearImage(); | 106 void clearImage(); |
107 // If not null, changeRect is the changed part of the image. | 107 // If not null, changeRect is the changed part of the image. |
108 void notifyObservers(const IntRect* changeRect = 0); | 108 void notifyObservers(const IntRect* changeRect = 0); |
109 virtual PurgePriority purgePriority() const { return PurgeFirst; } | |
110 | 109 |
111 virtual void switchClientsToRevalidatedResource() OVERRIDE; | 110 virtual void switchClientsToRevalidatedResource() OVERRIDE; |
112 | 111 |
113 typedef pair<IntSize, float> SizeAndZoom; | 112 typedef pair<IntSize, float> SizeAndZoom; |
114 typedef HashMap<const CachedImageClient*, SizeAndZoom> ContainerSizeRequests
; | 113 typedef HashMap<const CachedImageClient*, SizeAndZoom> ContainerSizeRequests
; |
115 ContainerSizeRequests m_pendingContainerSizeRequests; | 114 ContainerSizeRequests m_pendingContainerSizeRequests; |
116 | 115 |
117 RefPtr<Image> m_image; | 116 RefPtr<Image> m_image; |
118 OwnPtr<SVGImageCache> m_svgImageCache; | 117 OwnPtr<SVGImageCache> m_svgImageCache; |
119 bool m_loadingMultipartContent; | 118 bool m_loadingMultipartContent; |
120 }; | 119 }; |
121 | 120 |
122 } | 121 } |
123 | 122 |
124 #endif | 123 #endif |
OLD | NEW |