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

Side by Side Diff: Source/core/rendering/svg/RenderSVGResourceSolidColor.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) Research In Motion Limited 2010. All rights reserved. 2 * Copyright (C) Research In Motion Limited 2010. All rights reserved.
3 * 3 *
4 * This library is free software; you can redistribute it and/or 4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public 5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either 6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version. 7 * version 2 of the License, or (at your option) any later version.
8 * 8 *
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Library General Public License for more details. 12 * Library General Public License for more details.
13 * 13 *
14 * You should have received a copy of the GNU Library General Public License 14 * You should have received a copy of the GNU Library General Public License
15 * along with this library; see the file COPYING.LIB. If not, write to 15 * along with this library; see the file COPYING.LIB. If not, write to
16 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 16 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 * Boston, MA 02110-1301, USA. 17 * Boston, MA 02110-1301, USA.
18 */ 18 */
19 19
20 #include "config.h" 20 #include "config.h"
21 21
22 #include "core/rendering/svg/RenderSVGResourceSolidColor.h" 22 #include "core/rendering/svg/RenderSVGResourceSolidColor.h"
23 23
24 #include "core/frame/Frame.h" 24 #include "core/frame/Frame.h"
25 #include "core/frame/FrameView.h" 25 #include "core/frame/FrameView.h"
26 #include "core/platform/graphics/GraphicsContext.h"
27 #include "core/rendering/style/RenderStyle.h" 26 #include "core/rendering/style/RenderStyle.h"
28 #include "core/rendering/svg/RenderSVGShape.h" 27 #include "core/rendering/svg/RenderSVGShape.h"
29 #include "core/rendering/svg/SVGRenderSupport.h" 28 #include "core/rendering/svg/SVGRenderSupport.h"
29 #include "platform/graphics/GraphicsContext.h"
30 30
31 namespace WebCore { 31 namespace WebCore {
32 32
33 const RenderSVGResourceType RenderSVGResourceSolidColor::s_resourceType = SolidC olorResourceType; 33 const RenderSVGResourceType RenderSVGResourceSolidColor::s_resourceType = SolidC olorResourceType;
34 34
35 RenderSVGResourceSolidColor::RenderSVGResourceSolidColor() 35 RenderSVGResourceSolidColor::RenderSVGResourceSolidColor()
36 { 36 {
37 } 37 }
38 38
39 RenderSVGResourceSolidColor::~RenderSVGResourceSolidColor() 39 RenderSVGResourceSolidColor::~RenderSVGResourceSolidColor()
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 } 94 }
95 if (resourceMode & ApplyToStrokeMode) { 95 if (resourceMode & ApplyToStrokeMode) {
96 if (path) 96 if (path)
97 context->strokePath(*path); 97 context->strokePath(*path);
98 else if (shape) 98 else if (shape)
99 shape->strokeShape(context); 99 shape->strokeShape(context);
100 } 100 }
101 } 101 }
102 102
103 } 103 }
OLDNEW
« no previous file with comments | « Source/core/rendering/svg/RenderSVGResourcePattern.cpp ('k') | Source/core/rendering/svg/RenderSVGRoot.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698