| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 4 * Copyright (C) 2004, 2009 Apple Inc. All rights reserved. | 4 * Copyright (C) 2004, 2009 Apple Inc. All rights reserved. |
| 5 * | 5 * |
| 6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
| 7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
| 8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
| 9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
| 10 * | 10 * |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 | 127 |
| 128 LayoutImageResource* layoutImageResource(); | 128 LayoutImageResource* layoutImageResource(); |
| 129 void updateLayoutObject(); | 129 void updateLayoutObject(); |
| 130 | 130 |
| 131 void setImageWithoutConsideringPendingLoadEvent(ImageResource*); | 131 void setImageWithoutConsideringPendingLoadEvent(ImageResource*); |
| 132 void clearFailedLoadURL(); | 132 void clearFailedLoadURL(); |
| 133 void dispatchErrorEvent(); | 133 void dispatchErrorEvent(); |
| 134 void crossSiteOrCSPViolationOccurred(AtomicString); | 134 void crossSiteOrCSPViolationOccurred(AtomicString); |
| 135 void enqueueImageLoadingMicroTask(UpdateFromElementBehavior, ReferrerPolicy)
; | 135 void enqueueImageLoadingMicroTask(UpdateFromElementBehavior, ReferrerPolicy)
; |
| 136 | 136 |
| 137 void timerFired(Timer<ImageLoader>*); | 137 void timerFired(TimerBase*); |
| 138 | 138 |
| 139 KURL imageSourceToKURL(AtomicString) const; | 139 KURL imageSourceToKURL(AtomicString) const; |
| 140 | 140 |
| 141 // Used to determine whether to immediately initiate the load | 141 // Used to determine whether to immediately initiate the load |
| 142 // or to schedule a microtask. | 142 // or to schedule a microtask. |
| 143 bool shouldLoadImmediately(const KURL&) const; | 143 bool shouldLoadImmediately(const KURL&) const; |
| 144 | 144 |
| 145 // For Oilpan, we must run dispose() as a prefinalizer and call | 145 // For Oilpan, we must run dispose() as a prefinalizer and call |
| 146 // m_image->removeClient(this) (and more.) Otherwise, the ImageResource can
invoke | 146 // m_image->removeClient(this) (and more.) Otherwise, the ImageResource can
invoke |
| 147 // didAddClient() for the ImageLoader that is about to die in the current | 147 // didAddClient() for the ImageLoader that is about to die in the current |
| (...skipping 16 matching lines...) Expand all Loading... |
| 164 bool m_hasPendingErrorEvent : 1; | 164 bool m_hasPendingErrorEvent : 1; |
| 165 bool m_imageComplete : 1; | 165 bool m_imageComplete : 1; |
| 166 bool m_loadingImageDocument : 1; | 166 bool m_loadingImageDocument : 1; |
| 167 bool m_elementIsProtected : 1; | 167 bool m_elementIsProtected : 1; |
| 168 bool m_suppressErrorEvents : 1; | 168 bool m_suppressErrorEvents : 1; |
| 169 }; | 169 }; |
| 170 | 170 |
| 171 } // namespace blink | 171 } // namespace blink |
| 172 | 172 |
| 173 #endif | 173 #endif |
| OLD | NEW |