| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2011 Apple Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 #ifndef FilterOperation_h | 26 #ifndef FilterOperation_h |
| 27 #define FilterOperation_h | 27 #define FilterOperation_h |
| 28 | 28 |
| 29 #include "platform/Length.h" | 29 #include "platform/Length.h" |
| 30 #include "platform/PlatformExport.h" | 30 #include "platform/PlatformExport.h" |
| 31 #include "platform/graphics/Color.h" | 31 #include "platform/graphics/Color.h" |
| 32 #include "platform/graphics/GraphicsTypes.h" | 32 #include "platform/graphics/GraphicsTypes.h" |
| 33 #include "platform/graphics/filters/Filter.h" | 33 #include "platform/graphics/filters/Filter.h" |
| 34 #include "platform/heap/Handle.h" | 34 #include "platform/heap/Handle.h" |
| 35 #include "wtf/Noncopyable.h" | 35 #include "wtf/Noncopyable.h" |
| 36 #include "wtf/OwnPtr.h" | |
| 37 #include "wtf/PassOwnPtr.h" | |
| 38 #include "wtf/RefCounted.h" | |
| 39 #include "wtf/text/WTFString.h" | 36 #include "wtf/text/WTFString.h" |
| 40 | 37 |
| 41 namespace blink { | 38 namespace blink { |
| 42 | 39 |
| 43 // CSS Filters | 40 // CSS Filters |
| 44 | 41 |
| 45 class PLATFORM_EXPORT FilterOperation : public GarbageCollectedFinalized<FilterO
peration> { | 42 class PLATFORM_EXPORT FilterOperation : public GarbageCollectedFinalized<FilterO
peration> { |
| 46 WTF_MAKE_NONCOPYABLE(FilterOperation); | 43 WTF_MAKE_NONCOPYABLE(FilterOperation); |
| 47 public: | 44 public: |
| 48 enum OperationType { | 45 enum OperationType { |
| (...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 349 } | 346 } |
| 350 | 347 |
| 351 ReflectionDirection m_direction; | 348 ReflectionDirection m_direction; |
| 352 float m_offset; | 349 float m_offset; |
| 353 }; | 350 }; |
| 354 DEFINE_FILTER_OPERATION_TYPE_CASTS(BoxReflectFilterOperation, BOX_REFLECT); | 351 DEFINE_FILTER_OPERATION_TYPE_CASTS(BoxReflectFilterOperation, BOX_REFLECT); |
| 355 | 352 |
| 356 } // namespace blink | 353 } // namespace blink |
| 357 | 354 |
| 358 #endif // FilterOperation_h | 355 #endif // FilterOperation_h |
| OLD | NEW |