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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 void clear(); | 121 void clear(); |
122 | 122 |
123 void setCustomAcceptHeader(); | 123 void setCustomAcceptHeader(); |
124 void createImage(); | 124 void createImage(); |
125 void updateImage(bool allDataReceived); | 125 void updateImage(bool allDataReceived); |
126 void clearImage(); | 126 void clearImage(); |
127 // If not null, changeRect is the changed part of the image. | 127 // If not null, changeRect is the changed part of the image. |
128 void notifyObservers(const IntRect* changeRect = nullptr); | 128 void notifyObservers(const IntRect* changeRect = nullptr); |
129 IntSize svgImageSizeForLayoutObject(const LayoutObject*) const; | 129 IntSize svgImageSizeForLayoutObject(const LayoutObject*) const; |
130 blink::Image* svgImageForLayoutObject(const LayoutObject*); | 130 blink::Image* svgImageForLayoutObject(const LayoutObject*); |
| 131 bool loadingMultipartContent() const; |
131 | 132 |
132 float m_devicePixelRatioHeaderValue; | 133 float m_devicePixelRatioHeaderValue; |
133 | 134 |
134 typedef HashMap<const ImageResourceClient*, RefPtr<SVGImageForContainer>> Im
ageForContainerMap; | 135 typedef HashMap<const ImageResourceClient*, RefPtr<SVGImageForContainer>> Im
ageForContainerMap; |
135 OwnPtr<ImageForContainerMap> m_imageForContainerMap; | 136 OwnPtr<ImageForContainerMap> m_imageForContainerMap; |
136 | 137 |
137 RefPtr<blink::Image> m_image; | 138 RefPtr<blink::Image> m_image; |
138 bool m_loadingMultipartContent; | |
139 bool m_hasDevicePixelRatioHeaderValue; | 139 bool m_hasDevicePixelRatioHeaderValue; |
140 }; | 140 }; |
141 | 141 |
142 DEFINE_RESOURCE_TYPE_CASTS(Image); | 142 DEFINE_RESOURCE_TYPE_CASTS(Image); |
143 | 143 |
144 } | 144 } |
145 | 145 |
146 #endif | 146 #endif |
OLD | NEW |