OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006 Alexander Kellett <lypanov@kde.org> | 2 * Copyright (C) 2006 Alexander Kellett <lypanov@kde.org> |
3 * Copyright (C) 2006, 2009 Apple Inc. All rights reserved. | 3 * Copyright (C) 2006, 2009 Apple Inc. All rights reserved. |
4 * Copyright (C) 2007 Rob Buis <buis@kde.org> | 4 * Copyright (C) 2007 Rob Buis <buis@kde.org> |
5 * Copyright (C) 2009 Google, Inc. | 5 * Copyright (C) 2009 Google, Inc. |
6 * Copyright (C) 2010 Patrick Gansterer <paroga@paroga.com> | 6 * Copyright (C) 2010 Patrick Gansterer <paroga@paroga.com> |
7 * | 7 * |
8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
11 * version 2 of the License, or (at your option) any later version. | 11 * version 2 of the License, or (at your option) any later version. |
12 * | 12 * |
13 * This library is distributed in the hope that it will be useful, | 13 * This library is distributed in the hope that it will be useful, |
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 14 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
16 * Library General Public License for more details. | 16 * Library General Public License for more details. |
17 * | 17 * |
18 * You should have received a copy of the GNU Library General Public License | 18 * You should have received a copy of the GNU Library General Public License |
19 * along with this library; see the file COPYING.LIB. If not, write to | 19 * along with this library; see the file COPYING.LIB. If not, write to |
20 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 20 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
21 * Boston, MA 02110-1301, USA. | 21 * Boston, MA 02110-1301, USA. |
22 */ | 22 */ |
23 | 23 |
24 #ifndef RenderSVGImage_h | 24 #ifndef RenderSVGImage_h |
25 #define RenderSVGImage_h | 25 #define RenderSVGImage_h |
26 | 26 |
27 #include "core/rendering/svg/RenderSVGModelObject.h" | 27 #include "core/rendering/svg/RenderSVGModelObject.h" |
| 28 #include "platform/graphics/ImageBuffer.h" |
28 | 29 |
29 namespace blink { | 30 namespace blink { |
30 | 31 |
31 class RenderImageResource; | 32 class RenderImageResource; |
32 class SVGImageElement; | 33 class SVGImageElement; |
33 | 34 |
34 class RenderSVGImage final : public RenderSVGModelObject { | 35 class RenderSVGImage final : public RenderSVGModelObject { |
35 public: | 36 public: |
36 explicit RenderSVGImage(SVGImageElement*); | 37 explicit RenderSVGImage(SVGImageElement*); |
37 virtual ~RenderSVGImage(); | 38 virtual ~RenderSVGImage(); |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 OwnPtr<RenderImageResource> m_imageResource; | 78 OwnPtr<RenderImageResource> m_imageResource; |
78 | 79 |
79 OwnPtr<ImageBuffer> m_bufferedForeground; | 80 OwnPtr<ImageBuffer> m_bufferedForeground; |
80 }; | 81 }; |
81 | 82 |
82 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderSVGImage, isSVGImage()); | 83 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderSVGImage, isSVGImage()); |
83 | 84 |
84 } // namespace blink | 85 } // namespace blink |
85 | 86 |
86 #endif // RenderSVGImage_h | 87 #endif // RenderSVGImage_h |
OLD | NEW |