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

Side by Side Diff: Source/core/svg/SVGDocument.cpp

Issue 14519003: Absolutify paths to dom/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix testrunner Created 7 years, 8 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
« no previous file with comments | « Source/core/svg/SVGDocument.h ('k') | Source/core/svg/SVGDocumentExtensions.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2004, 2005 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005 Nikolas Zimmermann <zimmermann@kde.org>
3 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2006, 2007 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 #if ENABLE(SVG) 22 #if ENABLE(SVG)
23 #include "SVGDocument.h" 23 #include "SVGDocument.h"
24 24
25 #include "EventNames.h"
26 #include "ExceptionCode.h"
27 #include "NodeRenderingContext.h"
28 #include "SVGElement.h" 25 #include "SVGElement.h"
29 #include "SVGNames.h" 26 #include "SVGNames.h"
30 #include "SVGSVGElement.h" 27 #include "SVGSVGElement.h"
31 #include "SVGViewSpec.h" 28 #include "SVGViewSpec.h"
32 #include "SVGZoomAndPan.h" 29 #include "SVGZoomAndPan.h"
33 #include "SVGZoomEvent.h" 30 #include "SVGZoomEvent.h"
31 #include "core/dom/EventNames.h"
32 #include "core/dom/ExceptionCode.h"
33 #include "core/dom/NodeRenderingContext.h"
34 #include "core/page/FrameView.h" 34 #include "core/page/FrameView.h"
35 #include "core/rendering/RenderView.h" 35 #include "core/rendering/RenderView.h"
36 36
37 namespace WebCore { 37 namespace WebCore {
38 38
39 SVGDocument::SVGDocument(Frame* frame, const KURL& url) 39 SVGDocument::SVGDocument(Frame* frame, const KURL& url)
40 : Document(frame, url, false, false) 40 : Document(frame, url, false, false)
41 { 41 {
42 ScriptWrappable::init(this); 42 ScriptWrappable::init(this);
43 } 43 }
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 { 99 {
100 if (childContext.node()->hasTagName(SVGNames::svgTag)) 100 if (childContext.node()->hasTagName(SVGNames::svgTag))
101 return toSVGSVGElement(childContext.node())->isValid(); 101 return toSVGSVGElement(childContext.node())->isValid();
102 return true; 102 return true;
103 } 103 }
104 104
105 } 105 }
106 106
107 // vim:ts=4:noet 107 // vim:ts=4:noet
108 #endif // ENABLE(SVG) 108 #endif // ENABLE(SVG)
OLDNEW
« no previous file with comments | « Source/core/svg/SVGDocument.h ('k') | Source/core/svg/SVGDocumentExtensions.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698