| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005, 2006, 2007 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2006, 2007 Nikolas Zimmermann <zimmermann@kde.org> |
| 3 * Copyright (C) 2004, 2005 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005 Rob Buis <buis@kde.org> |
| 4 * Copyright (C) 2005 Eric Seidel <eric@webkit.org> | 4 * Copyright (C) 2005 Eric Seidel <eric@webkit.org> |
| 5 * Copyright (C) 2010 Dirk Schulze <krit@webkit.org> | 5 * Copyright (C) 2010 Dirk Schulze <krit@webkit.org> |
| 6 * Copyright (C) 2013 Google Inc. All rights reserved. | 6 * Copyright (C) 2013 Google Inc. All rights reserved. |
| 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 |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 | 23 |
| 24 #ifndef SVGFEImage_h | 24 #ifndef SVGFEImage_h |
| 25 #define SVGFEImage_h | 25 #define SVGFEImage_h |
| 26 | 26 |
| 27 #include "core/dom/TreeScope.h" | 27 #include "core/dom/TreeScope.h" |
| 28 #include "core/svg/SVGPreserveAspectRatio.h" | 28 #include "core/svg/SVGPreserveAspectRatio.h" |
| 29 #include "platform/graphics/filters/FilterEffect.h" | 29 #include "platform/graphics/filters/FilterEffect.h" |
| 30 | 30 |
| 31 namespace WebCore { | 31 namespace WebCore { |
| 32 | 32 |
| 33 class Document; | |
| 34 class Image; | 33 class Image; |
| 35 class RenderObject; | 34 class RenderObject; |
| 36 | 35 |
| 37 class FEImage FINAL : public FilterEffect { | 36 class FEImage FINAL : public FilterEffect { |
| 38 public: | 37 public: |
| 39 static PassRefPtr<FEImage> createWithImage(Filter*, PassRefPtr<Image>, PassR
efPtr<SVGPreserveAspectRatio>); | 38 static PassRefPtr<FEImage> createWithImage(Filter*, PassRefPtr<Image>, PassR
efPtr<SVGPreserveAspectRatio>); |
| 40 static PassRefPtr<FEImage> createWithIRIReference(Filter*, TreeScope&, const
String&, PassRefPtr<SVGPreserveAspectRatio>); | 39 static PassRefPtr<FEImage> createWithIRIReference(Filter*, TreeScope&, const
String&, PassRefPtr<SVGPreserveAspectRatio>); |
| 41 | 40 |
| 42 virtual FloatRect determineAbsolutePaintRect(const FloatRect& requestedRect)
OVERRIDE; | 41 virtual FloatRect determineAbsolutePaintRect(const FloatRect& requestedRect)
OVERRIDE; |
| 43 | 42 |
| (...skipping 15 matching lines...) Expand all Loading... |
| 59 | 58 |
| 60 // m_treeScope will never be a dangling reference. See https://bugs.webkit.o
rg/show_bug.cgi?id=99243 | 59 // m_treeScope will never be a dangling reference. See https://bugs.webkit.o
rg/show_bug.cgi?id=99243 |
| 61 TreeScope* m_treeScope; | 60 TreeScope* m_treeScope; |
| 62 String m_href; | 61 String m_href; |
| 63 PassRefPtr<SVGPreserveAspectRatio> m_preserveAspectRatio; | 62 PassRefPtr<SVGPreserveAspectRatio> m_preserveAspectRatio; |
| 64 }; | 63 }; |
| 65 | 64 |
| 66 } // namespace WebCore | 65 } // namespace WebCore |
| 67 | 66 |
| 68 #endif // SVGFEImage_h | 67 #endif // SVGFEImage_h |
| OLD | NEW |