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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 virtual unsigned decodedSize() const { return 0; } | 82 virtual unsigned decodedSize() const { return 0; } |
83 | 83 |
84 virtual NativeImagePtr frameAtIndex(size_t) { return 0; } | 84 virtual NativeImagePtr frameAtIndex(size_t) { return 0; } |
85 | 85 |
86 // FIXME: Implement this to be less conservative. | 86 // FIXME: Implement this to be less conservative. |
87 virtual bool currentFrameKnownToBeOpaque() OVERRIDE { return false; } | 87 virtual bool currentFrameKnownToBeOpaque() OVERRIDE { return false; } |
88 | 88 |
89 SVGImage(ImageObserver*); | 89 SVGImage(ImageObserver*); |
90 virtual void draw(GraphicsContext*, const FloatRect& fromRect, const FloatRe
ct& toRect, ColorSpace styleColorSpace, CompositeOperator, BlendMode); | 90 virtual void draw(GraphicsContext*, const FloatRect& fromRect, const FloatRe
ct& toRect, ColorSpace styleColorSpace, CompositeOperator, BlendMode); |
91 void drawForContainer(GraphicsContext*, const FloatSize, float, const FloatR
ect&, const FloatRect&, ColorSpace, CompositeOperator, BlendMode); | 91 void drawForContainer(GraphicsContext*, const FloatSize, float, const FloatR
ect&, const FloatRect&, ColorSpace, CompositeOperator, BlendMode); |
92 void drawPatternForContainer(GraphicsContext*, const FloatSize, float, float
, const FloatRect&, const AffineTransform&, | 92 void drawPatternForContainer(GraphicsContext*, const FloatSize, float, const
FloatRect&, const AffineTransform&, const FloatPoint&, ColorSpace, |
93 const FloatPoint&, ColorSpace, CompositeOperator, const FloatRect&); | 93 CompositeOperator, const FloatRect&); |
94 | 94 |
95 OwnPtr<SVGImageChromeClient> m_chromeClient; | 95 OwnPtr<SVGImageChromeClient> m_chromeClient; |
96 OwnPtr<Page> m_page; | 96 OwnPtr<Page> m_page; |
97 }; | 97 }; |
98 } | 98 } |
99 | 99 |
100 #endif // ENABLE(SVG) | 100 #endif // ENABLE(SVG) |
101 #endif // SVGImage_h | 101 #endif // SVGImage_h |
OLD | NEW |