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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 | 107 |
108 void dispatchPendingEvent(ImageEventSender*); | 108 void dispatchPendingEvent(ImageEventSender*); |
109 | 109 |
110 static void dispatchPendingLoadEvents(); | 110 static void dispatchPendingLoadEvents(); |
111 static void dispatchPendingErrorEvents(); | 111 static void dispatchPendingErrorEvents(); |
112 | 112 |
113 void addClient(ImageLoaderClient*); | 113 void addClient(ImageLoaderClient*); |
114 void removeClient(ImageLoaderClient*); | 114 void removeClient(ImageLoaderClient*); |
115 | 115 |
116 protected: | 116 protected: |
117 virtual void notifyFinished(Resource*) OVERRIDE; | 117 virtual void notifyFinished(Resource*) override; |
118 | 118 |
119 private: | 119 private: |
120 class Task; | 120 class Task; |
121 | 121 |
122 // Called from the task or from updateFromElement to initiate the load. | 122 // Called from the task or from updateFromElement to initiate the load. |
123 void doUpdateFromElement(BypassMainWorldBehavior, UpdateFromElementBehavior)
; | 123 void doUpdateFromElement(BypassMainWorldBehavior, UpdateFromElementBehavior)
; |
124 | 124 |
125 virtual void dispatchLoadEvent() = 0; | 125 virtual void dispatchLoadEvent() = 0; |
126 virtual String sourceURI(const AtomicString&) const = 0; | 126 virtual String sourceURI(const AtomicString&) const = 0; |
127 | 127 |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
185 bool m_hasPendingErrorEvent : 1; | 185 bool m_hasPendingErrorEvent : 1; |
186 bool m_imageComplete : 1; | 186 bool m_imageComplete : 1; |
187 bool m_loadingImageDocument : 1; | 187 bool m_loadingImageDocument : 1; |
188 bool m_elementIsProtected : 1; | 188 bool m_elementIsProtected : 1; |
189 unsigned m_highPriorityClientCount; | 189 unsigned m_highPriorityClientCount; |
190 }; | 190 }; |
191 | 191 |
192 } | 192 } |
193 | 193 |
194 #endif | 194 #endif |
OLD | NEW |