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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 | 126 |
127 virtual void dispatchLoadEvent() = 0; | 127 virtual void dispatchLoadEvent() = 0; |
128 virtual void noImageResourceToLoad() { } | 128 virtual void noImageResourceToLoad() { } |
129 | 129 |
130 void updatedHasPendingEvent(); | 130 void updatedHasPendingEvent(); |
131 | 131 |
132 void dispatchPendingLoadEvent(); | 132 void dispatchPendingLoadEvent(); |
133 void dispatchPendingErrorEvent(); | 133 void dispatchPendingErrorEvent(); |
134 | 134 |
135 LayoutImageResource* layoutImageResource(); | 135 LayoutImageResource* layoutImageResource(); |
136 void updateLayoutObject(); | 136 void updateLayoutObject(const KURL& urlWithFragment); |
137 | 137 |
138 void setImageWithoutConsideringPendingLoadEvent(ImageResource*); | 138 void setImageWithoutConsideringPendingLoadEvent(ImageResource*); |
139 void sourceImageChanged(); | 139 void sourceImageChanged(); |
140 void clearFailedLoadURL(); | 140 void clearFailedLoadURL(); |
141 void dispatchErrorEvent(); | 141 void dispatchErrorEvent(); |
142 void crossSiteOrCSPViolationOccurred(AtomicString); | 142 void crossSiteOrCSPViolationOccurred(AtomicString); |
143 void enqueueImageLoadingMicroTask(UpdateFromElementBehavior, ReferrerPolicy)
; | 143 void enqueueImageLoadingMicroTask(UpdateFromElementBehavior, ReferrerPolicy)
; |
144 | 144 |
145 void timerFired(Timer<ImageLoader>*); | 145 void timerFired(Timer<ImageLoader>*); |
146 | 146 |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 bool m_imageComplete : 1; | 181 bool m_imageComplete : 1; |
182 bool m_loadingImageDocument : 1; | 182 bool m_loadingImageDocument : 1; |
183 bool m_elementIsProtected : 1; | 183 bool m_elementIsProtected : 1; |
184 bool m_suppressErrorEvents : 1; | 184 bool m_suppressErrorEvents : 1; |
185 unsigned m_highPriorityClientCount; | 185 unsigned m_highPriorityClientCount; |
186 }; | 186 }; |
187 | 187 |
188 } | 188 } |
189 | 189 |
190 #endif | 190 #endif |
OLD | NEW |