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 18 matching lines...) Expand all Loading... |
29 | 29 |
30 #include "core/svg/graphics/SVGImage.h" | 30 #include "core/svg/graphics/SVGImage.h" |
31 | 31 |
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/frame/Frame.h" | 36 #include "core/frame/Frame.h" |
37 #include "core/frame/FrameView.h" | 37 #include "core/frame/FrameView.h" |
38 #include "core/page/Settings.h" | 38 #include "core/page/Settings.h" |
39 #include "core/platform/graphics/GraphicsContextStateSaver.h" | |
40 #include "core/platform/graphics/ImageBuffer.h" | |
41 #include "core/rendering/style/RenderStyle.h" | 39 #include "core/rendering/style/RenderStyle.h" |
42 #include "core/rendering/svg/RenderSVGRoot.h" | 40 #include "core/rendering/svg/RenderSVGRoot.h" |
43 #include "core/svg/SVGDocument.h" | 41 #include "core/svg/SVGDocument.h" |
44 #include "core/svg/SVGFEImageElement.h" | 42 #include "core/svg/SVGFEImageElement.h" |
45 #include "core/svg/SVGImageElement.h" | 43 #include "core/svg/SVGImageElement.h" |
46 #include "core/svg/SVGSVGElement.h" | 44 #include "core/svg/SVGSVGElement.h" |
47 #include "core/svg/graphics/SVGImageChromeClient.h" | 45 #include "core/svg/graphics/SVGImageChromeClient.h" |
48 #include "platform/LengthFunctions.h" | 46 #include "platform/LengthFunctions.h" |
49 #include "platform/geometry/IntRect.h" | 47 #include "platform/geometry/IntRect.h" |
| 48 #include "platform/graphics/GraphicsContextStateSaver.h" |
| 49 #include "platform/graphics/ImageBuffer.h" |
50 #include "platform/graphics/ImageObserver.h" | 50 #include "platform/graphics/ImageObserver.h" |
51 #include "wtf/PassRefPtr.h" | 51 #include "wtf/PassRefPtr.h" |
52 | 52 |
53 namespace WebCore { | 53 namespace WebCore { |
54 | 54 |
55 SVGImage::SVGImage(ImageObserver* observer) | 55 SVGImage::SVGImage(ImageObserver* observer) |
56 : Image(observer) | 56 : Image(observer) |
57 { | 57 { |
58 } | 58 } |
59 | 59 |
(...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
408 | 408 |
409 return m_page; | 409 return m_page; |
410 } | 410 } |
411 | 411 |
412 String SVGImage::filenameExtension() const | 412 String SVGImage::filenameExtension() const |
413 { | 413 { |
414 return "svg"; | 414 return "svg"; |
415 } | 415 } |
416 | 416 |
417 } | 417 } |
OLD | NEW |