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

Side by Side Diff: Source/core/platform/graphics/filters/custom/CustomFilterOperation.h

Issue 99103006: Moving GraphicsContext and dependencies from core to platform. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Final patch - fixes Android Created 7 years 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Adobe Systems Incorporated. All rights reserved. 2 * Copyright (C) 2012 Adobe Systems Incorporated. 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 * 7 *
8 * 1. Redistributions of source code must retain the above 8 * 1. Redistributions of source code must retain the above
9 * copyright notice, this list of conditions and the following 9 * copyright notice, this list of conditions and the following
10 * disclaimer. 10 * disclaimer.
(...skipping 12 matching lines...) Expand all
23 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 23 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR 24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
25 * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF 25 * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
26 * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26 * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE. 27 * SUCH DAMAGE.
28 */ 28 */
29 29
30 #ifndef CustomFilterOperation_h 30 #ifndef CustomFilterOperation_h
31 #define CustomFilterOperation_h 31 #define CustomFilterOperation_h
32 32
33 #include "core/platform/graphics/filters/FilterOperation.h"
34 #include "core/platform/graphics/filters/custom/CustomFilterProgram.h" 33 #include "core/platform/graphics/filters/custom/CustomFilterProgram.h"
35 #include "platform/geometry/LayoutSize.h" 34 #include "platform/geometry/LayoutSize.h"
35 #include "platform/graphics/filters/FilterOperation.h"
36 #include "platform/graphics/filters/custom/CustomFilterConstants.h" 36 #include "platform/graphics/filters/custom/CustomFilterConstants.h"
37 #include "platform/graphics/filters/custom/CustomFilterParameterList.h" 37 #include "platform/graphics/filters/custom/CustomFilterParameterList.h"
38 38
39 namespace WebCore { 39 namespace WebCore {
40 40
41 // CSS Shaders 41 // CSS Shaders
42 42
43 class CustomFilterOperation : public FilterOperation { 43 class CustomFilterOperation : public FilterOperation {
44 public: 44 public:
45 static PassRefPtr<CustomFilterOperation> create(PassRefPtr<CustomFilterProgr am> program, const CustomFilterParameterList& sortedParameters, unsigned meshRow s, unsigned meshColumns, CustomFilterMeshType meshType) 45 static PassRefPtr<CustomFilterOperation> create(PassRefPtr<CustomFilterProgr am> program, const CustomFilterParameterList& sortedParameters, unsigned meshRow s, unsigned meshColumns, CustomFilterMeshType meshType)
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 unsigned m_meshColumns; 88 unsigned m_meshColumns;
89 CustomFilterMeshType m_meshType; 89 CustomFilterMeshType m_meshType;
90 }; 90 };
91 91
92 DEFINE_FILTER_OPERATION_TYPE_CASTS(CustomFilterOperation, CUSTOM); 92 DEFINE_FILTER_OPERATION_TYPE_CASTS(CustomFilterOperation, CUSTOM);
93 93
94 } // namespace WebCore 94 } // namespace WebCore
95 95
96 96
97 #endif // CustomFilterOperation_h 97 #endif // CustomFilterOperation_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698