| 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, |
| 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 13 * Library General Public License for more details. | 13 * Library General Public License for more details. |
| 14 * | 14 * |
| 15 * You should have received a copy of the GNU Library General Public License | 15 * You should have received a copy of the GNU Library General Public License |
| 16 * along with this library; see the file COPYING.LIB. If not, write to | 16 * along with this library; see the file COPYING.LIB. If not, write to |
| 17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 18 * Boston, MA 02110-1301, USA. | 18 * Boston, MA 02110-1301, USA. |
| 19 */ | 19 */ |
| 20 | 20 |
| 21 #ifndef Filter_h | 21 #ifndef Filter_h |
| 22 #define Filter_h | 22 #define Filter_h |
| 23 | 23 |
| 24 #include "platform/PlatformExport.h" | 24 #include "platform/PlatformExport.h" |
| 25 #include "platform/geometry/FloatPoint3D.h" | 25 #include "platform/geometry/FloatPoint3D.h" |
| 26 #include "platform/geometry/FloatRect.h" | 26 #include "platform/geometry/FloatRect.h" |
| 27 #include "platform/geometry/IntRect.h" | 27 #include "platform/geometry/IntRect.h" |
| 28 #include "platform/heap/Handle.h" | 28 #include "platform/heap/Handle.h" |
| 29 #include "wtf/Noncopyable.h" | 29 #include "wtf/Noncopyable.h" |
| 30 #include "wtf/RefCounted.h" | |
| 31 | 30 |
| 32 namespace blink { | 31 namespace blink { |
| 33 | 32 |
| 34 class SourceGraphic; | 33 class SourceGraphic; |
| 35 class FilterEffect; | 34 class FilterEffect; |
| 36 | 35 |
| 37 class PLATFORM_EXPORT Filter final : public GarbageCollectedFinalized<Filter> { | 36 class PLATFORM_EXPORT Filter final : public GarbageCollectedFinalized<Filter> { |
| 38 WTF_MAKE_NONCOPYABLE(Filter); | 37 WTF_MAKE_NONCOPYABLE(Filter); |
| 39 public: | 38 public: |
| 40 enum UnitScaling { | 39 enum UnitScaling { |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 float m_scale; | 74 float m_scale; |
| 76 UnitScaling m_unitScaling; | 75 UnitScaling m_unitScaling; |
| 77 | 76 |
| 78 Member<SourceGraphic> m_sourceGraphic; | 77 Member<SourceGraphic> m_sourceGraphic; |
| 79 Member<FilterEffect> m_lastEffect; | 78 Member<FilterEffect> m_lastEffect; |
| 80 }; | 79 }; |
| 81 | 80 |
| 82 } // namespace blink | 81 } // namespace blink |
| 83 | 82 |
| 84 #endif // Filter_h | 83 #endif // Filter_h |
| OLD | NEW |