OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
3 * (C) 2004-2005 Allan Sandfeld Jensen (kde@carewolf.com) | 3 * (C) 2004-2005 Allan Sandfeld Jensen (kde@carewolf.com) |
4 * Copyright (C) 2006, 2007 Nicholas Shanks (webkit@nickshanks.com) | 4 * Copyright (C) 2006, 2007 Nicholas Shanks (webkit@nickshanks.com) |
5 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc.
All rights reserved. | 5 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc.
All rights reserved. |
6 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> | 6 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> |
7 * Copyright (C) 2007, 2008 Eric Seidel <eric@webkit.org> | 7 * Copyright (C) 2007, 2008 Eric Seidel <eric@webkit.org> |
8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) | 8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) |
9 * Copyright (c) 2011, Code Aurora Forum. All rights reserved. | 9 * Copyright (c) 2011, Code Aurora Forum. All rights reserved. |
10 * Copyright (C) Research In Motion Limited 2011. All rights reserved. | 10 * Copyright (C) Research In Motion Limited 2011. All rights reserved. |
(...skipping 16 matching lines...) Expand all Loading... |
27 */ | 27 */ |
28 | 28 |
29 #include "config.h" | 29 #include "config.h" |
30 #include "core/css/resolver/FilterOperationResolver.h" | 30 #include "core/css/resolver/FilterOperationResolver.h" |
31 | 31 |
32 #include "core/css/CSSFunctionValue.h" | 32 #include "core/css/CSSFunctionValue.h" |
33 #include "core/css/CSSPrimitiveValueMappings.h" | 33 #include "core/css/CSSPrimitiveValueMappings.h" |
34 #include "core/css/CSSShadowValue.h" | 34 #include "core/css/CSSShadowValue.h" |
35 #include "core/css/resolver/TransformBuilder.h" | 35 #include "core/css/resolver/TransformBuilder.h" |
36 #include "core/layout/svg/ReferenceFilterBuilder.h" | 36 #include "core/layout/svg/ReferenceFilterBuilder.h" |
| 37 #include "core/svg/SVGElement.h" |
37 #include "core/svg/SVGURIReference.h" | 38 #include "core/svg/SVGURIReference.h" |
38 | 39 |
39 namespace blink { | 40 namespace blink { |
40 | 41 |
41 static FilterOperation::OperationType filterOperationForType(CSSValueID type) | 42 static FilterOperation::OperationType filterOperationForType(CSSValueID type) |
42 { | 43 { |
43 switch (type) { | 44 switch (type) { |
44 case CSSValueUrl: | 45 case CSSValueUrl: |
45 return FilterOperation::REFERENCE; | 46 return FilterOperation::REFERENCE; |
46 case CSSValueGrayscale: | 47 case CSSValueGrayscale: |
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 ASSERT_NOT_REACHED(); | 198 ASSERT_NOT_REACHED(); |
198 break; | 199 break; |
199 } | 200 } |
200 } | 201 } |
201 | 202 |
202 outOperations = operations; | 203 outOperations = operations; |
203 return true; | 204 return true; |
204 } | 205 } |
205 | 206 |
206 } // namespace blink | 207 } // namespace blink |
OLD | NEW |