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

Side by Side Diff: Source/core/platform/graphics/filters/FEFlood.cpp

Issue 15447002: Remove ~1750 superfluous includes from core (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: rebase a few hours Created 7 years, 7 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 /* 1 /*
2 * Copyright (C) 2004, 2005, 2006, 2007 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005, 2006, 2007 Nikolas Zimmermann <zimmermann@kde.org>
3 * Copyright (C) 2004, 2005 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005 Rob Buis <buis@kde.org>
4 * Copyright (C) 2005 Eric Seidel <eric@webkit.org> 4 * Copyright (C) 2005 Eric Seidel <eric@webkit.org>
5 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org> 5 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org>
6 * Copyright (C) 2013 Google Inc. All rights reserved. 6 * Copyright (C) 2013 Google Inc. All rights reserved.
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 10 matching lines...) Expand all
21 * Boston, MA 02110-1301, USA. 21 * Boston, MA 02110-1301, USA.
22 */ 22 */
23 23
24 #include "config.h" 24 #include "config.h"
25 25
26 #include "core/platform/graphics/filters/FEFlood.h" 26 #include "core/platform/graphics/filters/FEFlood.h"
27 27
28 #include "SkFlattenableBuffers.h" 28 #include "SkFlattenableBuffers.h"
29 #include "SkImageFilter.h" 29 #include "SkImageFilter.h"
30 #include "core/platform/graphics/GraphicsContext.h" 30 #include "core/platform/graphics/GraphicsContext.h"
31 #include "core/platform/graphics/filters/Filter.h"
32 #include "core/platform/text/TextStream.h" 31 #include "core/platform/text/TextStream.h"
33 #include "core/rendering/RenderTreeAsText.h" 32 #include "core/rendering/RenderTreeAsText.h"
34 33
35 namespace { 34 namespace {
36 35
37 class FloodImageFilter : public SkImageFilter { 36 class FloodImageFilter : public SkImageFilter {
38 public: 37 public:
39 FloodImageFilter(const SkColor& color) 38 FloodImageFilter(const SkColor& color)
40 : SkImageFilter(0, 0) 39 : SkImageFilter(0, 0)
41 , m_color(color) 40 , m_color(color)
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 { 131 {
133 writeIndent(ts, indent); 132 writeIndent(ts, indent);
134 ts << "[feFlood"; 133 ts << "[feFlood";
135 FilterEffect::externalRepresentation(ts); 134 FilterEffect::externalRepresentation(ts);
136 ts << " flood-color=\"" << floodColor().nameForRenderTreeAsText() << "\" " 135 ts << " flood-color=\"" << floodColor().nameForRenderTreeAsText() << "\" "
137 << "flood-opacity=\"" << floodOpacity() << "\"]\n"; 136 << "flood-opacity=\"" << floodOpacity() << "\"]\n";
138 return ts; 137 return ts;
139 } 138 }
140 139
141 } // namespace WebCore 140 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/platform/graphics/filters/FEConvolveMatrix.cpp ('k') | Source/core/platform/graphics/filters/FEGaussianBlur.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698