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

Side by Side Diff: Source/platform/graphics/filters/FEMorphology.h

Issue 630853002: Replacing the OVERRIDE with override in third_party/WebKit/Source/platform (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase build fix Created 6 years, 2 months 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
« no previous file with comments | « Source/platform/graphics/filters/FEMerge.h ('k') | Source/platform/graphics/filters/FEOffset.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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) 2013 Google Inc. All rights reserved. 5 * Copyright (C) 2013 Google Inc. All rights reserved.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 28 matching lines...) Expand all
39 static PassRefPtr<FEMorphology> create(Filter*, MorphologyOperatorType, floa t radiusX, float radiusY); 39 static PassRefPtr<FEMorphology> create(Filter*, MorphologyOperatorType, floa t radiusX, float radiusY);
40 MorphologyOperatorType morphologyOperator() const; 40 MorphologyOperatorType morphologyOperator() const;
41 bool setMorphologyOperator(MorphologyOperatorType); 41 bool setMorphologyOperator(MorphologyOperatorType);
42 42
43 float radiusX() const; 43 float radiusX() const;
44 bool setRadiusX(float); 44 bool setRadiusX(float);
45 45
46 float radiusY() const; 46 float radiusY() const;
47 bool setRadiusY(float); 47 bool setRadiusY(float);
48 48
49 virtual PassRefPtr<SkImageFilter> createImageFilter(SkiaImageFilterBuilder*) OVERRIDE; 49 virtual PassRefPtr<SkImageFilter> createImageFilter(SkiaImageFilterBuilder*) override;
50 50
51 virtual FloatRect mapRect(const FloatRect&, bool forward = true) OVERRIDE FI NAL; 51 virtual FloatRect mapRect(const FloatRect&, bool forward = true) override FI NAL;
52 52
53 virtual TextStream& externalRepresentation(TextStream&, int indention) const OVERRIDE; 53 virtual TextStream& externalRepresentation(TextStream&, int indention) const override;
54 54
55 struct PaintingData { 55 struct PaintingData {
56 Uint8ClampedArray* srcPixelArray; 56 Uint8ClampedArray* srcPixelArray;
57 Uint8ClampedArray* dstPixelArray; 57 Uint8ClampedArray* dstPixelArray;
58 int width; 58 int width;
59 int height; 59 int height;
60 int radiusX; 60 int radiusX;
61 int radiusY; 61 int radiusY;
62 }; 62 };
63 63
64 static const int s_minimalArea = (300 * 300); // Empirical data limit for pa rallel jobs 64 static const int s_minimalArea = (300 * 300); // Empirical data limit for pa rallel jobs
65 65
66 struct PlatformApplyParameters { 66 struct PlatformApplyParameters {
67 FEMorphology* filter; 67 FEMorphology* filter;
68 int startY; 68 int startY;
69 int endY; 69 int endY;
70 PaintingData* paintingData; 70 PaintingData* paintingData;
71 }; 71 };
72 72
73 private: 73 private:
74 FEMorphology(Filter*, MorphologyOperatorType, float radiusX, float radiusY); 74 FEMorphology(Filter*, MorphologyOperatorType, float radiusX, float radiusY);
75 75
76 virtual void applySoftware() OVERRIDE; 76 virtual void applySoftware() override;
77 77
78 MorphologyOperatorType m_type; 78 MorphologyOperatorType m_type;
79 float m_radiusX; 79 float m_radiusX;
80 float m_radiusY; 80 float m_radiusY;
81 }; 81 };
82 82
83 } // namespace blink 83 } // namespace blink
84 84
85 #endif // FEMorphology_h 85 #endif // FEMorphology_h
OLDNEW
« no previous file with comments | « Source/platform/graphics/filters/FEMerge.h ('k') | Source/platform/graphics/filters/FEOffset.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698