| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006 Eric Seidel <eric@webkit.org> | 2 * Copyright (C) 2006 Eric Seidel <eric@webkit.org> |
| 3 * Copyright (C) 2009 Apple Inc. All rights reserved. | 3 * Copyright (C) 2009 Apple Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 178 bool ApplyShaderInternal(PaintFlags&, | 178 bool ApplyShaderInternal(PaintFlags&, |
| 179 const SkMatrix& local_matrix, | 179 const SkMatrix& local_matrix, |
| 180 const KURL&); | 180 const KURL&); |
| 181 | 181 |
| 182 void StopAnimation(); | 182 void StopAnimation(); |
| 183 void ScheduleTimelineRewind(); | 183 void ScheduleTimelineRewind(); |
| 184 void FlushPendingTimelineRewind(); | 184 void FlushPendingTimelineRewind(); |
| 185 | 185 |
| 186 Page* GetPageForTesting() { return page_; } | 186 Page* GetPageForTesting() { return page_; } |
| 187 void LoadCompleted(); | 187 void LoadCompleted(); |
| 188 void NotifyAsyncLoadCompleted(); |
| 188 | 189 |
| 189 class SVGImageLocalFrameClient; | 190 class SVGImageLocalFrameClient; |
| 190 | 191 |
| 191 Persistent<SVGImageChromeClient> chrome_client_; | 192 Persistent<SVGImageChromeClient> chrome_client_; |
| 192 Persistent<Page> page_; | 193 Persistent<Page> page_; |
| 193 std::unique_ptr<PaintController> paint_controller_; | 194 std::unique_ptr<PaintController> paint_controller_; |
| 194 | 195 |
| 195 // When an SVG image has no intrinsic size, the size depends on the default | 196 // When an SVG image has no intrinsic size, the size depends on the default |
| 196 // object size, which in turn depends on the container. One SVGImage may | 197 // object size, which in turn depends on the container. One SVGImage may |
| 197 // belong to multiple containers so the final image size can't be known in | 198 // belong to multiple containers so the final image size can't be known in |
| (...skipping 28 matching lines...) Expand all Loading... |
| 226 | 227 |
| 227 ~ImageObserverDisabler() { image_->SetImageObserverDisabled(false); } | 228 ~ImageObserverDisabler() { image_->SetImageObserverDisabled(false); } |
| 228 | 229 |
| 229 private: | 230 private: |
| 230 Image* image_; | 231 Image* image_; |
| 231 }; | 232 }; |
| 232 | 233 |
| 233 } // namespace blink | 234 } // namespace blink |
| 234 | 235 |
| 235 #endif // SVGImage_h | 236 #endif // SVGImage_h |
| OLD | NEW |