| 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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 void dispatchPendingEvent(ImageEventSender*); | 78 void dispatchPendingEvent(ImageEventSender*); |
| 79 | 79 |
| 80 static void dispatchPendingBeforeLoadEvents(); | 80 static void dispatchPendingBeforeLoadEvents(); |
| 81 static void dispatchPendingLoadEvents(); | 81 static void dispatchPendingLoadEvents(); |
| 82 static void dispatchPendingErrorEvents(); | 82 static void dispatchPendingErrorEvents(); |
| 83 | 83 |
| 84 void addClient(ImageLoaderClient*); | 84 void addClient(ImageLoaderClient*); |
| 85 void removeClient(ImageLoaderClient*); | 85 void removeClient(ImageLoaderClient*); |
| 86 | 86 |
| 87 protected: | 87 protected: |
| 88 virtual void notifyFinished(Resource*); | 88 virtual void notifyFinished(Resource*) OVERRIDE; |
| 89 | 89 |
| 90 private: | 90 private: |
| 91 virtual void dispatchLoadEvent() = 0; | 91 virtual void dispatchLoadEvent() = 0; |
| 92 virtual String sourceURI(const AtomicString&) const = 0; | 92 virtual String sourceURI(const AtomicString&) const = 0; |
| 93 | 93 |
| 94 void updatedHasPendingEvent(); | 94 void updatedHasPendingEvent(); |
| 95 | 95 |
| 96 void dispatchPendingBeforeLoadEvent(); | 96 void dispatchPendingBeforeLoadEvent(); |
| 97 void dispatchPendingLoadEvent(); | 97 void dispatchPendingLoadEvent(); |
| 98 void dispatchPendingErrorEvent(); | 98 void dispatchPendingErrorEvent(); |
| (...skipping 17 matching lines...) Expand all Loading... |
| 116 bool m_hasPendingErrorEvent : 1; | 116 bool m_hasPendingErrorEvent : 1; |
| 117 bool m_imageComplete : 1; | 117 bool m_imageComplete : 1; |
| 118 bool m_loadManually : 1; | 118 bool m_loadManually : 1; |
| 119 bool m_elementIsProtected : 1; | 119 bool m_elementIsProtected : 1; |
| 120 unsigned m_highPriorityClientCount; | 120 unsigned m_highPriorityClientCount; |
| 121 }; | 121 }; |
| 122 | 122 |
| 123 } | 123 } |
| 124 | 124 |
| 125 #endif | 125 #endif |
| OLD | NEW |