| 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 15 matching lines...) Expand all Loading... |
| 26 | 26 |
| 27 #ifndef SVGImage_h | 27 #ifndef SVGImage_h |
| 28 #define SVGImage_h | 28 #define SVGImage_h |
| 29 | 29 |
| 30 #include "platform/graphics/Image.h" | 30 #include "platform/graphics/Image.h" |
| 31 #include "platform/heap/Handle.h" | 31 #include "platform/heap/Handle.h" |
| 32 #include "platform/weborigin/KURL.h" | 32 #include "platform/weborigin/KURL.h" |
| 33 | 33 |
| 34 namespace WebCore { | 34 namespace WebCore { |
| 35 | 35 |
| 36 class Element; | |
| 37 class FrameView; | 36 class FrameView; |
| 38 class ImageBuffer; | |
| 39 class Page; | 37 class Page; |
| 40 class RenderBox; | 38 class RenderBox; |
| 41 class SVGImageChromeClient; | 39 class SVGImageChromeClient; |
| 42 class SVGImageForContainer; | 40 class SVGImageForContainer; |
| 43 | 41 |
| 44 class SVGImage FINAL : public Image { | 42 class SVGImage FINAL : public Image { |
| 45 public: | 43 public: |
| 46 static PassRefPtr<SVGImage> create(ImageObserver* observer) | 44 static PassRefPtr<SVGImage> create(ImageObserver* observer) |
| 47 { | 45 { |
| 48 return adoptRef(new SVGImage(observer)); | 46 return adoptRef(new SVGImage(observer)); |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 m_image->setImageObserver(m_observer); | 122 m_image->setImageObserver(m_observer); |
| 125 } | 123 } |
| 126 private: | 124 private: |
| 127 Image* m_image; | 125 Image* m_image; |
| 128 ImageObserver* m_observer; | 126 ImageObserver* m_observer; |
| 129 }; | 127 }; |
| 130 | 128 |
| 131 } | 129 } |
| 132 | 130 |
| 133 #endif // SVGImage_h | 131 #endif // SVGImage_h |
| OLD | NEW |