| OLD | NEW |
| 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 14 matching lines...) Expand all Loading... |
| 25 #include "platform/graphics/filters/FilterEffect.h" | 25 #include "platform/graphics/filters/FilterEffect.h" |
| 26 | 26 |
| 27 namespace blink { | 27 namespace blink { |
| 28 | 28 |
| 29 class PLATFORM_EXPORT SourceAlpha : public FilterEffect { | 29 class PLATFORM_EXPORT SourceAlpha : public FilterEffect { |
| 30 public: | 30 public: |
| 31 static PassRefPtr<SourceAlpha> create(Filter*); | 31 static PassRefPtr<SourceAlpha> create(Filter*); |
| 32 | 32 |
| 33 static const AtomicString& effectName(); | 33 static const AtomicString& effectName(); |
| 34 | 34 |
| 35 virtual FloatRect determineAbsolutePaintRect(const FloatRect& requestedRect)
OVERRIDE; | 35 virtual FloatRect determineAbsolutePaintRect(const FloatRect& requestedRect)
override; |
| 36 | 36 |
| 37 virtual FilterEffectType filterEffectType() const OVERRIDE { return FilterEf
fectTypeSourceInput; } | 37 virtual FilterEffectType filterEffectType() const override { return FilterEf
fectTypeSourceInput; } |
| 38 | 38 |
| 39 virtual TextStream& externalRepresentation(TextStream&, int indention) const
OVERRIDE; | 39 virtual TextStream& externalRepresentation(TextStream&, int indention) const
override; |
| 40 virtual PassRefPtr<SkImageFilter> createImageFilter(SkiaImageFilterBuilder*)
OVERRIDE; | 40 virtual PassRefPtr<SkImageFilter> createImageFilter(SkiaImageFilterBuilder*)
override; |
| 41 | 41 |
| 42 private: | 42 private: |
| 43 SourceAlpha(Filter* filter) | 43 SourceAlpha(Filter* filter) |
| 44 : FilterEffect(filter) | 44 : FilterEffect(filter) |
| 45 { | 45 { |
| 46 } | 46 } |
| 47 | 47 |
| 48 virtual void applySoftware() OVERRIDE; | 48 virtual void applySoftware() override; |
| 49 }; | 49 }; |
| 50 | 50 |
| 51 } // namespace blink | 51 } // namespace blink |
| 52 | 52 |
| 53 #endif // SourceAlpha_h | 53 #endif // SourceAlpha_h |
| OLD | NEW |