OLD | NEW |
1 /* | 1 /* |
2 Copyright (C) 1998 Lars Knoll (knoll@mpi-hd.mpg.de) | 2 Copyright (C) 1998 Lars Knoll (knoll@mpi-hd.mpg.de) |
3 Copyright (C) 2001 Dirk Mueller <mueller@kde.org> | 3 Copyright (C) 2001 Dirk Mueller <mueller@kde.org> |
4 Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com) | 4 Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com) |
5 Copyright (C) 2004, 2005, 2006, 2007 Apple Inc. All rights reserved. | 5 Copyright (C) 2004, 2005, 2006, 2007 Apple Inc. All rights reserved. |
6 | 6 |
7 This library is free software; you can redistribute it and/or | 7 This library is free software; you can redistribute it and/or |
8 modify it under the terms of the GNU Library General Public | 8 modify it under the terms of the GNU Library General Public |
9 License as published by the Free Software Foundation; either | 9 License as published by the Free Software Foundation; either |
10 version 2 of the License, or (at your option) any later version. | 10 version 2 of the License, or (at your option) any later version. |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 std::unique_ptr<WebDataConsumerHandle>) override; | 128 std::unique_ptr<WebDataConsumerHandle>) override; |
129 void finish(double finishTime = 0.0) override; | 129 void finish(double finishTime = 0.0) override; |
130 | 130 |
131 // For compatibility, images keep loading even if there are HTTP errors. | 131 // For compatibility, images keep loading even if there are HTTP errors. |
132 bool shouldIgnoreHTTPStatusCodeErrors() const override { return true; } | 132 bool shouldIgnoreHTTPStatusCodeErrors() const override { return true; } |
133 | 133 |
134 bool isImage() const override { return true; } | 134 bool isImage() const override { return true; } |
135 | 135 |
136 // ImageObserver | 136 // ImageObserver |
137 void decodedSizeChangedTo(const blink::Image*, size_t newSize) override; | 137 void decodedSizeChangedTo(const blink::Image*, size_t newSize) override; |
138 void didDraw(const blink::Image*) override; | |
139 | 138 |
140 bool shouldPauseAnimation(const blink::Image*) override; | 139 bool shouldPauseAnimation(const blink::Image*) override; |
141 void animationAdvanced(const blink::Image*) override; | 140 void animationAdvanced(const blink::Image*) override; |
142 void changedInRect(const blink::Image*, const IntRect&) override; | 141 void changedInRect(const blink::Image*, const IntRect&) override; |
143 | 142 |
144 // MultipartImageResourceParser::Client | 143 // MultipartImageResourceParser::Client |
145 void onePartInMultipartReceived(const ResourceResponse&) final; | 144 void onePartInMultipartReceived(const ResourceResponse&) final; |
146 void multipartDataReceived(const char*, size_t) final; | 145 void multipartDataReceived(const char*, size_t) final; |
147 | 146 |
148 DECLARE_VIRTUAL_TRACE(); | 147 DECLARE_VIRTUAL_TRACE(); |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
205 // Indicates if the ImageResource is currently scheduling a reload, e.g. | 204 // Indicates if the ImageResource is currently scheduling a reload, e.g. |
206 // because reloadIfLoFi() was called. | 205 // because reloadIfLoFi() was called. |
207 bool m_isSchedulingReload; | 206 bool m_isSchedulingReload; |
208 }; | 207 }; |
209 | 208 |
210 DEFINE_RESOURCE_TYPE_CASTS(Image); | 209 DEFINE_RESOURCE_TYPE_CASTS(Image); |
211 | 210 |
212 } // namespace blink | 211 } // namespace blink |
213 | 212 |
214 #endif | 213 #endif |
OLD | NEW |