| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef ImageResourceContent_h | 5 #ifndef ImageResourceContent_h |
| 6 #define ImageResourceContent_h | 6 #define ImageResourceContent_h |
| 7 | 7 |
| 8 #include "core/CoreExport.h" | 8 #include "core/CoreExport.h" |
| 9 #include "core/fetch/ResourceStatus.h" | 9 #include "core/fetch/ResourceStatus.h" |
| 10 #include "platform/geometry/IntRect.h" | 10 #include "platform/geometry/IntRect.h" |
| (...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 154 RefPtr<blink::Image> m_image; | 154 RefPtr<blink::Image> m_image; |
| 155 | 155 |
| 156 HashCountedSet<ImageResourceObserver*> m_observers; | 156 HashCountedSet<ImageResourceObserver*> m_observers; |
| 157 HashCountedSet<ImageResourceObserver*> m_finishedObservers; | 157 HashCountedSet<ImageResourceObserver*> m_finishedObservers; |
| 158 | 158 |
| 159 Image::SizeAvailability m_sizeAvailable = Image::SizeUnavailable; | 159 Image::SizeAvailability m_sizeAvailable = Image::SizeUnavailable; |
| 160 | 160 |
| 161 // Indicates if this resource's encoded image data can be purged and refetched | 161 // Indicates if this resource's encoded image data can be purged and refetched |
| 162 // from disk cache to save memory usage. See crbug/664437. | 162 // from disk cache to save memory usage. See crbug/664437. |
| 163 bool m_isRefetchableDataFromDiskCache; | 163 bool m_isRefetchableDataFromDiskCache; |
| 164 |
| 165 bool m_isUpdateImageBeingCalled = false; |
| 164 }; | 166 }; |
| 165 | 167 |
| 166 } // namespace blink | 168 } // namespace blink |
| 167 | 169 |
| 168 #endif | 170 #endif |
| OLD | NEW |