| 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 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 189 void createImage(); | 189 void createImage(); |
| 190 void updateImage(bool allDataReceived); | 190 void updateImage(bool allDataReceived); |
| 191 void updateImageAndClearBuffer(); | 191 void updateImageAndClearBuffer(); |
| 192 void clearImage(); | 192 void clearImage(); |
| 193 // If not null, changeRect is the changed part of the image. | 193 // If not null, changeRect is the changed part of the image. |
| 194 void notifyObservers(const IntRect* changeRect = nullptr); | 194 void notifyObservers(const IntRect* changeRect = nullptr); |
| 195 | 195 |
| 196 void ensureImage(); | 196 void ensureImage(); |
| 197 | 197 |
| 198 void checkNotify() override; | 198 void checkNotify() override; |
| 199 void notifyObserversInternal(MarkFinishedOption); | 199 void notifyObserversInternal(); |
| 200 void markObserverFinished(ImageResourceObserver*); | 200 void markObserverFinished(ImageResourceObserver*); |
| 201 | 201 |
| 202 void doResetAnimation(); | 202 void doResetAnimation(); |
| 203 | 203 |
| 204 void destroyDecodedDataIfPossible() override; | 204 void destroyDecodedDataIfPossible() override; |
| 205 void destroyDecodedDataForFailedRevalidation() override; | 205 void destroyDecodedDataForFailedRevalidation() override; |
| 206 | 206 |
| 207 void flushImageIfNeeded(TimerBase*); | 207 void flushImageIfNeeded(TimerBase*); |
| 208 | 208 |
| 209 float m_devicePixelRatioHeaderValue; | 209 float m_devicePixelRatioHeaderValue; |
| (...skipping 21 matching lines...) Expand all Loading... |
| 231 // Indicates if this resource's encoded image data can be purged and refetched | 231 // Indicates if this resource's encoded image data can be purged and refetched |
| 232 // from disk cache to save memory usage. See crbug/664437. | 232 // from disk cache to save memory usage. See crbug/664437. |
| 233 bool m_isRefetchableDataFromDiskCache; | 233 bool m_isRefetchableDataFromDiskCache; |
| 234 }; | 234 }; |
| 235 | 235 |
| 236 DEFINE_RESOURCE_TYPE_CASTS(Image); | 236 DEFINE_RESOURCE_TYPE_CASTS(Image); |
| 237 | 237 |
| 238 } // namespace blink | 238 } // namespace blink |
| 239 | 239 |
| 240 #endif | 240 #endif |
| OLD | NEW |