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

Side by Side Diff: third_party/WebKit/Source/core/svg/SVGSVGElement.h

Issue 2361973003: Reduce includes of some SVG*TearOff types (Closed)
Patch Set: Rebase 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 /* 1 /*
2 * Copyright (C) 2004, 2005, 2006 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005, 2006 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 * Copyright (C) 2014 Google, Inc. 4 * Copyright (C) 2014 Google, Inc.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
11 * This library is distributed in the hope that it will be useful, 11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Library General Public License for more details. 14 * Library General Public License for more details.
15 * 15 *
16 * You should have received a copy of the GNU Library General Public License 16 * You should have received a copy of the GNU Library General Public License
17 * along with this library; see the file COPYING.LIB. If not, write to 17 * along with this library; see the file COPYING.LIB. If not, write to
18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19 * Boston, MA 02110-1301, USA. 19 * Boston, MA 02110-1301, USA.
20 */ 20 */
21 21
22 #ifndef SVGSVGElement_h 22 #ifndef SVGSVGElement_h
23 #define SVGSVGElement_h 23 #define SVGSVGElement_h
24 24
25 #include "core/svg/SVGAnimatedBoolean.h" 25 #include "core/svg/SVGAnimatedBoolean.h"
26 #include "core/svg/SVGAnimatedLength.h" 26 #include "core/svg/SVGAnimatedLength.h"
27 #include "core/svg/SVGFitToViewBox.h" 27 #include "core/svg/SVGFitToViewBox.h"
28 #include "core/svg/SVGGraphicsElement.h" 28 #include "core/svg/SVGGraphicsElement.h"
29 #include "core/svg/SVGLengthTearOff.h" 29 #include "core/svg/SVGPoint.h"
30 #include "core/svg/SVGPointTearOff.h"
31 #include "core/svg/SVGZoomAndPan.h" 30 #include "core/svg/SVGZoomAndPan.h"
32 #include "platform/heap/Handle.h" 31 #include "platform/heap/Handle.h"
33 32
34 namespace blink { 33 namespace blink {
35 34
35 class SMILTimeContainer;
36 class SVGAngleTearOff;
37 class SVGLengthTearOff;
36 class SVGMatrixTearOff; 38 class SVGMatrixTearOff;
37 class SVGAngleTearOff;
38 class SVGNumberTearOff; 39 class SVGNumberTearOff;
40 class SVGPointTearOff;
39 class SVGTransformTearOff; 41 class SVGTransformTearOff;
42 class SVGViewElement;
40 class SVGViewSpec; 43 class SVGViewSpec;
41 class SVGViewElement;
42 class SMILTimeContainer;
43 44
44 class SVGSVGElement final : public SVGGraphicsElement, 45 class SVGSVGElement final : public SVGGraphicsElement,
45 public SVGFitToViewBox, 46 public SVGFitToViewBox,
46 public SVGZoomAndPan { 47 public SVGZoomAndPan {
47 DEFINE_WRAPPERTYPEINFO(); 48 DEFINE_WRAPPERTYPEINFO();
48 USING_GARBAGE_COLLECTED_MIXIN(SVGSVGElement); 49 USING_GARBAGE_COLLECTED_MIXIN(SVGSVGElement);
49 public: 50 public:
50 DECLARE_NODE_FACTORY(SVGSVGElement); 51 DECLARE_NODE_FACTORY(SVGSVGElement);
51 52
52 // 'SVGSVGElement' functions 53 // 'SVGSVGElement' functions
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 Member<SVGPoint> m_translation; 158 Member<SVGPoint> m_translation;
158 Member<SVGViewSpec> m_viewSpec; 159 Member<SVGViewSpec> m_viewSpec;
159 float m_currentScale; 160 float m_currentScale;
160 161
161 friend class SVGCurrentTranslateTearOff; 162 friend class SVGCurrentTranslateTearOff;
162 }; 163 };
163 164
164 } // namespace blink 165 } // namespace blink
165 166
166 #endif // SVGSVGElement_h 167 #endif // SVGSVGElement_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGGraphicsElement.cpp ('k') | third_party/WebKit/Source/core/svg/SVGSVGElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698