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

Side by Side Diff: Source/platform/graphics/filters/FEDropShadow.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
OLDNEW
1 /* 1 /*
2 * Copyright (C) Research In Motion Limited 2011. All rights reserved. 2 * Copyright (C) Research In Motion Limited 2011. All rights reserved.
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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 42
43 float dy() const { return m_dy; } 43 float dy() const { return m_dy; }
44 void setDy(float dy) { m_dy = dy; } 44 void setDy(float dy) { m_dy = dy; }
45 45
46 Color shadowColor() const { return m_shadowColor; } 46 Color shadowColor() const { return m_shadowColor; }
47 void setShadowColor(const Color& shadowColor) { m_shadowColor = shadowColor; } 47 void setShadowColor(const Color& shadowColor) { m_shadowColor = shadowColor; }
48 48
49 float shadowOpacity() const { return m_shadowOpacity; } 49 float shadowOpacity() const { return m_shadowOpacity; }
50 void setShadowOpacity(float shadowOpacity) { m_shadowOpacity = shadowOpacity ; } 50 void setShadowOpacity(float shadowOpacity) { m_shadowOpacity = shadowOpacity ; }
51 51
52 virtual FloatRect mapRect(const FloatRect&, bool forward = true) OVERRIDE FI NAL; 52 virtual FloatRect mapRect(const FloatRect&, bool forward = true) override FI NAL;
53 53
54 virtual TextStream& externalRepresentation(TextStream&, int indention) const OVERRIDE; 54 virtual TextStream& externalRepresentation(TextStream&, int indention) const override;
55 virtual PassRefPtr<SkImageFilter> createImageFilter(SkiaImageFilterBuilder*) OVERRIDE; 55 virtual PassRefPtr<SkImageFilter> createImageFilter(SkiaImageFilterBuilder*) override;
56 56
57 private: 57 private:
58 FEDropShadow(Filter*, float, float, float, float, const Color&, float); 58 FEDropShadow(Filter*, float, float, float, float, const Color&, float);
59 59
60 virtual void applySoftware() OVERRIDE; 60 virtual void applySoftware() override;
61 61
62 float m_stdX; 62 float m_stdX;
63 float m_stdY; 63 float m_stdY;
64 float m_dx; 64 float m_dx;
65 float m_dy; 65 float m_dy;
66 Color m_shadowColor; 66 Color m_shadowColor;
67 float m_shadowOpacity; 67 float m_shadowOpacity;
68 }; 68 };
69 69
70 } // namespace blink 70 } // namespace blink
71 71
72 #endif // FEDropShadow_h 72 #endif // FEDropShadow_h
OLDNEW
« no previous file with comments | « Source/platform/graphics/filters/FEDisplacementMap.h ('k') | Source/platform/graphics/filters/FEFlood.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698