| OLD | NEW |
| 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 15 matching lines...) Expand all Loading... |
| 26 | 26 |
| 27 namespace blink { | 27 namespace blink { |
| 28 | 28 |
| 29 class PLATFORM_EXPORT FEDropShadow : public FilterEffect { | 29 class PLATFORM_EXPORT FEDropShadow : public FilterEffect { |
| 30 public: | 30 public: |
| 31 static PassRefPtrWillBeRawPtr<FEDropShadow> create(Filter*, float, float, fl
oat, float, const Color&, float); | 31 static PassRefPtrWillBeRawPtr<FEDropShadow> create(Filter*, float, float, fl
oat, float, const Color&, float); |
| 32 | 32 |
| 33 FloatRect mapRect(const FloatRect&, bool forward = true) final; | 33 FloatRect mapRect(const FloatRect&, bool forward = true) final; |
| 34 | 34 |
| 35 TextStream& externalRepresentation(TextStream&, int indention) const overrid
e; | 35 TextStream& externalRepresentation(TextStream&, int indention) const overrid
e; |
| 36 PassRefPtr<SkImageFilter> createImageFilter(SkiaImageFilterBuilder*) overrid
e; | 36 PassRefPtr<SkImageFilter> createImageFilter(SkiaImageFilterBuilder&) overrid
e; |
| 37 | 37 |
| 38 private: | 38 private: |
| 39 FEDropShadow(Filter*, float, float, float, float, const Color&, float); | 39 FEDropShadow(Filter*, float, float, float, float, const Color&, float); |
| 40 | 40 |
| 41 float m_stdX; | 41 float m_stdX; |
| 42 float m_stdY; | 42 float m_stdY; |
| 43 float m_dx; | 43 float m_dx; |
| 44 float m_dy; | 44 float m_dy; |
| 45 Color m_shadowColor; | 45 Color m_shadowColor; |
| 46 float m_shadowOpacity; | 46 float m_shadowOpacity; |
| 47 }; | 47 }; |
| 48 | 48 |
| 49 } // namespace blink | 49 } // namespace blink |
| 50 | 50 |
| 51 #endif // FEDropShadow_h | 51 #endif // FEDropShadow_h |
| OLD | NEW |