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

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

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) 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) Research In Motion Limited 2010. All rights reserved. 6 * Copyright (C) Research In Motion Limited 2010. All rights reserved.
7 * Copyright (C) 2013 Google Inc. All rights reserved. 7 * Copyright (C) 2013 Google Inc. All rights reserved.
8 * 8 *
9 * This library is free software; you can redistribute it and/or 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public 10 * modify it under the terms of the GNU Library General Public
(...skipping 10 matching lines...) Expand all
21 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 21 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
22 * Boston, MA 02110-1301, USA. 22 * Boston, MA 02110-1301, USA.
23 */ 23 */
24 24
25 #include "config.h" 25 #include "config.h"
26 26
27 #include "core/platform/graphics/filters/FEOffset.h" 27 #include "core/platform/graphics/filters/FEOffset.h"
28 28
29 #include "SkFlattenableBuffers.h" 29 #include "SkFlattenableBuffers.h"
30 #include "SkOffsetImageFilter.h" 30 #include "SkOffsetImageFilter.h"
31 31 #include "platform/graphics/GraphicsContext.h"
32 #include "core/platform/graphics/GraphicsContext.h" 32 #include "platform/graphics/filters/SkiaImageFilterBuilder.h"
33 #include "core/platform/graphics/filters/SkiaImageFilterBuilder.h"
34 #include "platform/text/TextStream.h" 33 #include "platform/text/TextStream.h"
35 #include "third_party/skia/include/core/SkDevice.h" 34 #include "third_party/skia/include/core/SkDevice.h"
36 35
37 namespace WebCore { 36 namespace WebCore {
38 37
39 FEOffset::FEOffset(Filter* filter, float dx, float dy) 38 FEOffset::FEOffset(Filter* filter, float dx, float dy)
40 : FilterEffect(filter) 39 : FilterEffect(filter)
41 , m_dx(dx) 40 , m_dx(dx)
42 , m_dy(dy) 41 , m_dy(dy)
43 { 42 {
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 { 117 {
119 writeIndent(ts, indent); 118 writeIndent(ts, indent);
120 ts << "[feOffset"; 119 ts << "[feOffset";
121 FilterEffect::externalRepresentation(ts); 120 FilterEffect::externalRepresentation(ts);
122 ts << " dx=\"" << dx() << "\" dy=\"" << dy() << "\"]\n"; 121 ts << " dx=\"" << dx() << "\" dy=\"" << dy() << "\"]\n";
123 inputEffect(0)->externalRepresentation(ts, indent + 1); 122 inputEffect(0)->externalRepresentation(ts, indent + 1);
124 return ts; 123 return ts;
125 } 124 }
126 125
127 } // namespace WebCore 126 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/platform/graphics/filters/FEOffset.h ('k') | Source/core/platform/graphics/filters/FETile.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698