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

Side by Side Diff: Source/core/svg/SVGFitToViewBox.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, 2008 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005, 2008 Nikolas Zimmermann <zimmermann@kde.org>
3 * Copyright (C) 2004, 2005, 2006, 2007, 2010 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2006, 2007, 2010 Rob Buis <buis@kde.org>
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Library General Public License for more details. 13 * Library General Public License for more details.
14 * 14 *
15 * You should have received a copy of the GNU Library General Public License 15 * You should have received a copy of the GNU Library General Public License
16 * along with this library; see the file COPYING.LIB. If not, write to 16 * along with this library; see the file COPYING.LIB. If not, write to
17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 * Boston, MA 02110-1301, USA. 18 * Boston, MA 02110-1301, USA.
19 */ 19 */
20 20
21 #include "config.h" 21 #include "config.h"
22 22
23 #include "core/svg/SVGFitToViewBox.h" 23 #include "core/svg/SVGFitToViewBox.h"
24 24
25 #include "SVGNames.h" 25 #include "SVGNames.h"
26 #include "core/dom/Attribute.h"
27 #include "core/dom/Document.h" 26 #include "core/dom/Document.h"
28 #include "core/platform/graphics/FloatRect.h" 27 #include "core/platform/graphics/FloatRect.h"
29 #include "core/platform/graphics/transforms/AffineTransform.h" 28 #include "core/platform/graphics/transforms/AffineTransform.h"
30 #include "core/svg/SVGDocumentExtensions.h" 29 #include "core/svg/SVGDocumentExtensions.h"
31 #include "core/svg/SVGParserUtilities.h" 30 #include "core/svg/SVGParserUtilities.h"
32 #include "core/svg/SVGPreserveAspectRatio.h" 31 #include "core/svg/SVGPreserveAspectRatio.h"
33 #include <wtf/text/StringImpl.h> 32 #include <wtf/text/StringImpl.h>
34 33
35 namespace WebCore { 34 namespace WebCore {
36 35
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 return attrName == SVGNames::viewBoxAttr || attrName == SVGNames::preserveAs pectRatioAttr; 91 return attrName == SVGNames::viewBoxAttr || attrName == SVGNames::preserveAs pectRatioAttr;
93 } 92 }
94 93
95 void SVGFitToViewBox::addSupportedAttributes(HashSet<QualifiedName>& supportedAt tributes) 94 void SVGFitToViewBox::addSupportedAttributes(HashSet<QualifiedName>& supportedAt tributes)
96 { 95 {
97 supportedAttributes.add(SVGNames::viewBoxAttr); 96 supportedAttributes.add(SVGNames::viewBoxAttr);
98 supportedAttributes.add(SVGNames::preserveAspectRatioAttr); 97 supportedAttributes.add(SVGNames::preserveAspectRatioAttr);
99 } 98 }
100 99
101 } 100 }
OLDNEW
« no previous file with comments | « Source/core/svg/SVGFilterPrimitiveStandardAttributes.cpp ('k') | Source/core/svg/SVGFontElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698