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

Side by Side Diff: Source/core/svg/SVGPathSegList.h

Issue 21204002: core/svg: Include wtf files using "wtf/foo.h" form. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fixes Created 7 years, 4 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2007 Eric Seidel <eric@webkit.org> 2 * Copyright (C) 2007 Eric Seidel <eric@webkit.org>
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 #ifndef SVGPathSegList_h 20 #ifndef SVGPathSegList_h
21 #define SVGPathSegList_h 21 #define SVGPathSegList_h
22 22
23 #include "core/svg/SVGPathSeg.h" 23 #include "core/svg/SVGPathSeg.h"
24 #include "core/svg/properties/SVGListProperty.h" 24 #include "core/svg/properties/SVGListProperty.h"
25 #include "core/svg/properties/SVGPropertyTraits.h" 25 #include "core/svg/properties/SVGPropertyTraits.h"
26 26 #include "wtf/Vector.h"
27 #include <wtf/text/WTFString.h> 27 #include "wtf/text/WTFString.h"
28 #include <wtf/Vector.h>
29 28
30 namespace WebCore { 29 namespace WebCore {
31 30
32 class SVGElement; 31 class SVGElement;
33 32
34 class SVGPathSegList : public Vector<RefPtr<SVGPathSeg> > { 33 class SVGPathSegList : public Vector<RefPtr<SVGPathSeg> > {
35 public: 34 public:
36 SVGPathSegList(SVGPathSegRole role) 35 SVGPathSegList(SVGPathSegRole role)
37 : m_role(role) 36 : m_role(role)
38 { 37 {
(...skipping 10 matching lines...) Expand all
49 48
50 template<> 49 template<>
51 struct SVGPropertyTraits<SVGPathSegList> { 50 struct SVGPropertyTraits<SVGPathSegList> {
52 static SVGPathSegList initialValue() { return SVGPathSegList(PathSegUndefine dRole); } 51 static SVGPathSegList initialValue() { return SVGPathSegList(PathSegUndefine dRole); }
53 typedef RefPtr<SVGPathSeg> ListItemType; 52 typedef RefPtr<SVGPathSeg> ListItemType;
54 }; 53 };
55 54
56 } // namespace WebCore 55 } // namespace WebCore
57 56
58 #endif 57 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698