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 17 matching lines...) Expand all Loading... |
28 | 28 |
29 #if ENABLE(CSS_FILTERS) | 29 #if ENABLE(CSS_FILTERS) |
30 | 30 |
31 #include "Color.h" | 31 #include "Color.h" |
32 #include "Length.h" | 32 #include "Length.h" |
33 #include <wtf/OwnPtr.h> | 33 #include <wtf/OwnPtr.h> |
34 #include <wtf/PassOwnPtr.h> | 34 #include <wtf/PassOwnPtr.h> |
35 #include <wtf/RefCounted.h> | 35 #include <wtf/RefCounted.h> |
36 #include <wtf/text/AtomicString.h> | 36 #include <wtf/text/AtomicString.h> |
37 | 37 |
38 // Annoyingly, wingdi.h #defines this. | |
39 #ifdef PASSTHROUGH | |
40 #undef PASSTHROUGH | |
41 #endif | |
42 | |
43 namespace WebCore { | 38 namespace WebCore { |
44 | 39 |
45 // CSS Filters | 40 // CSS Filters |
46 | 41 |
47 class FilterOperation : public RefCounted<FilterOperation> { | 42 class FilterOperation : public RefCounted<FilterOperation> { |
48 public: | 43 public: |
49 enum OperationType { | 44 enum OperationType { |
50 REFERENCE, // url(#somefilter) | 45 REFERENCE, // url(#somefilter) |
51 GRAYSCALE, | 46 GRAYSCALE, |
52 SEPIA, | 47 SEPIA, |
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
298 int m_y; | 293 int m_y; |
299 int m_stdDeviation; | 294 int m_stdDeviation; |
300 Color m_color; | 295 Color m_color; |
301 }; | 296 }; |
302 | 297 |
303 } // namespace WebCore | 298 } // namespace WebCore |
304 | 299 |
305 #endif // ENABLE(CSS_FILTERS) | 300 #endif // ENABLE(CSS_FILTERS) |
306 | 301 |
307 #endif // FilterOperation_h | 302 #endif // FilterOperation_h |
OLD | NEW |