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 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 void dispose(); | 152 void dispose(); |
153 | 153 |
154 Member<Element> m_element; | 154 Member<Element> m_element; |
155 Member<ImageResourceContent> m_image; | 155 Member<ImageResourceContent> m_image; |
156 Member<ImageResource> m_imageResourceForImageDocument; | 156 Member<ImageResource> m_imageResourceForImageDocument; |
157 // FIXME: Oilpan: We might be able to remove this Persistent hack when | 157 // FIXME: Oilpan: We might be able to remove this Persistent hack when |
158 // ImageResourceClient is traceable. | 158 // ImageResourceClient is traceable. |
159 GC_PLUGIN_IGNORE("http://crbug.com/383741") | 159 GC_PLUGIN_IGNORE("http://crbug.com/383741") |
160 Persistent<Element> m_keepAlive; | 160 Persistent<Element> m_keepAlive; |
161 | 161 |
162 Timer<ImageLoader> m_derefElementTimer; | 162 TaskRunnerTimer<ImageLoader> m_derefElementTimer; |
163 AtomicString m_failedLoadURL; | 163 AtomicString m_failedLoadURL; |
164 WeakPtr<Task> m_pendingTask; // owned by Microtask | 164 WeakPtr<Task> m_pendingTask; // owned by Microtask |
165 std::unique_ptr<IncrementLoadEventDelayCount> m_loadDelayCounter; | 165 std::unique_ptr<IncrementLoadEventDelayCount> m_loadDelayCounter; |
166 bool m_hasPendingLoadEvent : 1; | 166 bool m_hasPendingLoadEvent : 1; |
167 bool m_hasPendingErrorEvent : 1; | 167 bool m_hasPendingErrorEvent : 1; |
168 bool m_imageComplete : 1; | 168 bool m_imageComplete : 1; |
169 bool m_loadingImageDocument : 1; | 169 bool m_loadingImageDocument : 1; |
170 bool m_elementIsProtected : 1; | 170 bool m_elementIsProtected : 1; |
171 bool m_suppressErrorEvents : 1; | 171 bool m_suppressErrorEvents : 1; |
172 }; | 172 }; |
173 | 173 |
174 } // namespace blink | 174 } // namespace blink |
175 | 175 |
176 #endif | 176 #endif |
OLD | NEW |