| 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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 protected: | 113 protected: |
| 114 virtual void notifyFinished(Resource*) override; | 114 virtual void notifyFinished(Resource*) override; |
| 115 | 115 |
| 116 private: | 116 private: |
| 117 class Task; | 117 class Task; |
| 118 | 118 |
| 119 // Called from the task or from updateFromElement to initiate the load. | 119 // Called from the task or from updateFromElement to initiate the load. |
| 120 void doUpdateFromElement(BypassMainWorldBehavior, UpdateFromElementBehavior)
; | 120 void doUpdateFromElement(BypassMainWorldBehavior, UpdateFromElementBehavior)
; |
| 121 | 121 |
| 122 virtual void dispatchLoadEvent() = 0; | 122 virtual void dispatchLoadEvent() = 0; |
| 123 virtual String sourceURI(const AtomicString&) const = 0; | |
| 124 virtual void noImageResourceToLoad() { }; | 123 virtual void noImageResourceToLoad() { }; |
| 125 | 124 |
| 126 void updatedHasPendingEvent(); | 125 void updatedHasPendingEvent(); |
| 127 | 126 |
| 128 void dispatchPendingLoadEvent(); | 127 void dispatchPendingLoadEvent(); |
| 129 void dispatchPendingErrorEvent(); | 128 void dispatchPendingErrorEvent(); |
| 130 | 129 |
| 131 LayoutImageResource* layoutImageResource(); | 130 LayoutImageResource* layoutImageResource(); |
| 132 void updateLayoutObject(); | 131 void updateLayoutObject(); |
| 133 | 132 |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 184 bool m_imageComplete : 1; | 183 bool m_imageComplete : 1; |
| 185 bool m_loadingImageDocument : 1; | 184 bool m_loadingImageDocument : 1; |
| 186 bool m_elementIsProtected : 1; | 185 bool m_elementIsProtected : 1; |
| 187 bool m_suppressErrorEvents : 1; | 186 bool m_suppressErrorEvents : 1; |
| 188 unsigned m_highPriorityClientCount; | 187 unsigned m_highPriorityClientCount; |
| 189 }; | 188 }; |
| 190 | 189 |
| 191 } | 190 } |
| 192 | 191 |
| 193 #endif | 192 #endif |
| OLD | NEW |