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

Side by Side Diff: third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DState.cpp

Issue 2375453002: Move FilterOperation*.{cpp,h} to core/style/ (Closed)
Patch Set: Fix EXPORTs Created 4 years, 2 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "modules/canvas2d/CanvasRenderingContext2DState.h" 5 #include "modules/canvas2d/CanvasRenderingContext2DState.h"
6 6
7 #include "core/css/CSSFontSelector.h" 7 #include "core/css/CSSFontSelector.h"
8 #include "core/css/resolver/FilterOperationResolver.h" 8 #include "core/css/resolver/FilterOperationResolver.h"
9 #include "core/css/resolver/StyleBuilder.h" 9 #include "core/css/resolver/StyleBuilder.h"
10 #include "core/css/resolver/StyleResolverState.h" 10 #include "core/css/resolver/StyleResolverState.h"
11 #include "core/html/HTMLCanvasElement.h" 11 #include "core/html/HTMLCanvasElement.h"
12 #include "core/paint/FilterEffectBuilder.h" 12 #include "core/paint/FilterEffectBuilder.h"
13 #include "core/style/ComputedStyle.h" 13 #include "core/style/ComputedStyle.h"
14 #include "core/style/FilterOperation.h"
14 #include "core/svg/SVGFilterElement.h" 15 #include "core/svg/SVGFilterElement.h"
15 #include "modules/canvas2d/CanvasGradient.h" 16 #include "modules/canvas2d/CanvasGradient.h"
16 #include "modules/canvas2d/CanvasPattern.h" 17 #include "modules/canvas2d/CanvasPattern.h"
17 #include "modules/canvas2d/CanvasRenderingContext2D.h" 18 #include "modules/canvas2d/CanvasRenderingContext2D.h"
18 #include "modules/canvas2d/CanvasStyle.h" 19 #include "modules/canvas2d/CanvasStyle.h"
19 #include "platform/graphics/DrawLooperBuilder.h" 20 #include "platform/graphics/DrawLooperBuilder.h"
20 #include "platform/graphics/filters/FilterEffect.h" 21 #include "platform/graphics/filters/FilterEffect.h"
21 #include "platform/graphics/filters/FilterOperation.h"
22 #include "platform/graphics/filters/SkiaImageFilterBuilder.h" 22 #include "platform/graphics/filters/SkiaImageFilterBuilder.h"
23 #include "platform/graphics/skia/SkiaUtils.h" 23 #include "platform/graphics/skia/SkiaUtils.h"
24 #include "third_party/skia/include/effects/SkDashPathEffect.h" 24 #include "third_party/skia/include/effects/SkDashPathEffect.h"
25 #include "third_party/skia/include/effects/SkDropShadowImageFilter.h" 25 #include "third_party/skia/include/effects/SkDropShadowImageFilter.h"
26 #include <memory> 26 #include <memory>
27 27
28 static const char defaultFont[] = "10px sans-serif"; 28 static const char defaultFont[] = "10px sans-serif";
29 static const char defaultFilter[] = "none"; 29 static const char defaultFilter[] = "none";
30 30
31 namespace blink { 31 namespace blink {
(...skipping 531 matching lines...) Expand 10 before | Expand all | Expand 10 after
563 paint->setLooper(0); 563 paint->setLooper(0);
564 paint->setImageFilter(shadowAndForegroundImageFilter()); 564 paint->setImageFilter(shadowAndForegroundImageFilter());
565 return paint; 565 return paint;
566 } 566 }
567 paint->setLooper(sk_ref_sp(shadowAndForegroundDrawLooper())); 567 paint->setLooper(sk_ref_sp(shadowAndForegroundDrawLooper()));
568 paint->setImageFilter(0); 568 paint->setImageFilter(0);
569 return paint; 569 return paint;
570 } 570 }
571 571
572 } // namespace blink 572 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/style/StyleFilterData.h ('k') | third_party/WebKit/Source/platform/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698