Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(370)

Side by Side Diff: Source/core/svg/graphics/filters/SVGFilter.h

Issue 678163002: Oilpan: move SVG property hierarchy to the heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased upto r185213 Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org> 2 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org>
3 * Copyright (C) 2013 Google Inc. All rights reserved. 3 * Copyright (C) 2013 Google Inc. All rights reserved.
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 16 matching lines...) Expand all
27 #include "platform/graphics/filters/FilterEffect.h" 27 #include "platform/graphics/filters/FilterEffect.h"
28 #include "platform/transforms/AffineTransform.h" 28 #include "platform/transforms/AffineTransform.h"
29 #include "wtf/PassRefPtr.h" 29 #include "wtf/PassRefPtr.h"
30 #include "wtf/RefCounted.h" 30 #include "wtf/RefCounted.h"
31 #include "wtf/RefPtr.h" 31 #include "wtf/RefPtr.h"
32 32
33 namespace blink { 33 namespace blink {
34 34
35 class SVGFilter final : public Filter { 35 class SVGFilter final : public Filter {
36 public: 36 public:
37 static PassRefPtr<SVGFilter> create(const IntRect&, const FloatRect&, const FloatRect&, bool); 37 static PassRefPtrWillBeRawPtr<SVGFilter> create(const IntRect&, const FloatR ect&, const FloatRect&, bool);
38 38
39 virtual float applyHorizontalScale(float value) const override; 39 virtual float applyHorizontalScale(float value) const override;
40 virtual float applyVerticalScale(float value) const override; 40 virtual float applyVerticalScale(float value) const override;
41 virtual FloatPoint3D resolve3dPoint(const FloatPoint3D&) const override; 41 virtual FloatPoint3D resolve3dPoint(const FloatPoint3D&) const override;
42 42
43 virtual IntRect sourceImageRect() const override { return m_absoluteSourceDr awingRegion; } 43 virtual IntRect sourceImageRect() const override { return m_absoluteSourceDr awingRegion; }
44 FloatRect targetBoundingBox() const { return m_targetBoundingBox; } 44 FloatRect targetBoundingBox() const { return m_targetBoundingBox; }
45 45
46 private: 46 private:
47 SVGFilter(const IntRect& absoluteSourceDrawingRegion, const FloatRect& targe tBoundingBox, const FloatRect& filterRegion, bool effectBBoxMode); 47 SVGFilter(const IntRect& absoluteSourceDrawingRegion, const FloatRect& targe tBoundingBox, const FloatRect& filterRegion, bool effectBBoxMode);
48 48
49 IntRect m_absoluteSourceDrawingRegion; 49 IntRect m_absoluteSourceDrawingRegion;
50 FloatRect m_targetBoundingBox; 50 FloatRect m_targetBoundingBox;
51 bool m_effectBBoxMode; 51 bool m_effectBBoxMode;
52 }; 52 };
53 53
54 } // namespace blink 54 } // namespace blink
55 55
56 #endif // SVGFilter_h 56 #endif // SVGFilter_h
OLDNEW
« no previous file with comments | « Source/core/svg/graphics/filters/SVGFEImage.cpp ('k') | Source/core/svg/graphics/filters/SVGFilter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698