Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(154)

Side by Side Diff: Source/WebCore/platform/graphics/filters/FilterOperation.h

Issue 9826017: Revert 103059 - Enable CSS_FILTERS in Chromium. (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1025/
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | Source/WebKit/chromium/features.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « no previous file | Source/WebKit/chromium/features.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698