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) 2008, 2009 Apple Inc. All rights reserved. | 3 * Copyright (C) 2008, 2009 Apple Inc. All rights reserved. |
4 * Copyright (C) Research In Motion Limited 2011. All rights reserved. | 4 * Copyright (C) Research In Motion Limited 2011. All rights reserved. |
5 * | 5 * |
6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
8 * are met: | 8 * are met: |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 21 matching lines...) Expand all Loading... |
32 #include "core/dom/NodeTraversal.h" | 32 #include "core/dom/NodeTraversal.h" |
33 #include "core/dom/shadow/ComposedTreeWalker.h" | 33 #include "core/dom/shadow/ComposedTreeWalker.h" |
34 #include "core/loader/DocumentLoader.h" | 34 #include "core/loader/DocumentLoader.h" |
35 #include "core/page/Chrome.h" | 35 #include "core/page/Chrome.h" |
36 #include "core/page/Frame.h" | 36 #include "core/page/Frame.h" |
37 #include "core/page/FrameView.h" | 37 #include "core/page/FrameView.h" |
38 #include "core/page/Settings.h" | 38 #include "core/page/Settings.h" |
39 #include "core/platform/graphics/GraphicsContextStateSaver.h" | 39 #include "core/platform/graphics/GraphicsContextStateSaver.h" |
40 #include "core/platform/graphics/ImageBuffer.h" | 40 #include "core/platform/graphics/ImageBuffer.h" |
41 #include "core/platform/graphics/ImageObserver.h" | 41 #include "core/platform/graphics/ImageObserver.h" |
42 #include "core/platform/graphics/IntRect.h" | |
43 #include "core/rendering/style/RenderStyle.h" | 42 #include "core/rendering/style/RenderStyle.h" |
44 #include "core/rendering/svg/RenderSVGRoot.h" | 43 #include "core/rendering/svg/RenderSVGRoot.h" |
45 #include "core/svg/SVGDocument.h" | 44 #include "core/svg/SVGDocument.h" |
46 #include "core/svg/SVGFEImageElement.h" | 45 #include "core/svg/SVGFEImageElement.h" |
47 #include "core/svg/SVGImageElement.h" | 46 #include "core/svg/SVGImageElement.h" |
48 #include "core/svg/SVGSVGElement.h" | 47 #include "core/svg/SVGSVGElement.h" |
49 #include "core/svg/graphics/SVGImageChromeClient.h" | 48 #include "core/svg/graphics/SVGImageChromeClient.h" |
| 49 #include "platform/geometry/IntRect.h" |
50 #include "wtf/PassRefPtr.h" | 50 #include "wtf/PassRefPtr.h" |
51 | 51 |
52 namespace WebCore { | 52 namespace WebCore { |
53 | 53 |
54 SVGImage::SVGImage(ImageObserver* observer) | 54 SVGImage::SVGImage(ImageObserver* observer) |
55 : Image(observer) | 55 : Image(observer) |
56 { | 56 { |
57 } | 57 } |
58 | 58 |
59 SVGImage::~SVGImage() | 59 SVGImage::~SVGImage() |
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
405 | 405 |
406 return m_page; | 406 return m_page; |
407 } | 407 } |
408 | 408 |
409 String SVGImage::filenameExtension() const | 409 String SVGImage::filenameExtension() const |
410 { | 410 { |
411 return "svg"; | 411 return "svg"; |
412 } | 412 } |
413 | 413 |
414 } | 414 } |
OLD | NEW |