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

Side by Side Diff: Source/core/svg/SVGFontFaceElement.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/SVGFontElement.cpp ('k') | Source/core/svg/SVGFontFaceUriElement.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) 2007 Eric Seidel <eric@webkit.org> 2 * Copyright (C) 2007 Eric Seidel <eric@webkit.org>
3 * Copyright (C) 2007, 2008 Nikolas Zimmermann <zimmermann@kde.org> 3 * Copyright (C) 2007, 2008 Nikolas Zimmermann <zimmermann@kde.org>
4 * Copyright (C) 2008 Apple Inc. All rights reserved. 4 * Copyright (C) 2008 Apple Inc. All rights reserved.
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 #include "config.h" 22 #include "config.h"
23 23
24 #if ENABLE(SVG_FONTS) 24 #if ENABLE(SVG_FONTS)
25 #include "SVGFontFaceElement.h" 25 #include "SVGFontFaceElement.h"
26 26
27 #include <math.h> 27 #include <math.h>
28 #include "Attribute.h"
29 #include "CSSPropertyNames.h" 28 #include "CSSPropertyNames.h"
30 #include "CSSValueKeywords.h" 29 #include "CSSValueKeywords.h"
31 #include "Document.h"
32 #include "SVGDocumentExtensions.h" 30 #include "SVGDocumentExtensions.h"
33 #include "SVGFontElement.h" 31 #include "SVGFontElement.h"
34 #include "SVGFontFaceSrcElement.h" 32 #include "SVGFontFaceSrcElement.h"
35 #include "SVGGlyphElement.h" 33 #include "SVGGlyphElement.h"
36 #include "SVGNames.h" 34 #include "SVGNames.h"
37 #include "core/css/CSSFontFaceSrcValue.h" 35 #include "core/css/CSSFontFaceSrcValue.h"
38 #include "core/css/CSSParser.h" 36 #include "core/css/CSSParser.h"
39 #include "core/css/CSSStyleSheet.h" 37 #include "core/css/CSSStyleSheet.h"
40 #include "core/css/CSSValueList.h" 38 #include "core/css/CSSValueList.h"
41 #include "core/css/StylePropertySet.h" 39 #include "core/css/StylePropertySet.h"
42 #include "core/css/StyleResolver.h" 40 #include "core/css/StyleResolver.h"
43 #include "core/css/StyleRule.h" 41 #include "core/css/StyleRule.h"
42 #include "core/dom/Attribute.h"
43 #include "core/dom/Document.h"
44 #include "core/platform/graphics/Font.h" 44 #include "core/platform/graphics/Font.h"
45 45
46 namespace WebCore { 46 namespace WebCore {
47 47
48 using namespace SVGNames; 48 using namespace SVGNames;
49 49
50 inline SVGFontFaceElement::SVGFontFaceElement(const QualifiedName& tagName, Docu ment* document) 50 inline SVGFontFaceElement::SVGFontFaceElement(const QualifiedName& tagName, Docu ment* document)
51 : SVGElement(tagName, document) 51 : SVGElement(tagName, document)
52 , m_fontFaceRule(StyleRuleFontFace::create()) 52 , m_fontFaceRule(StyleRuleFontFace::create())
53 , m_fontElement(0) 53 , m_fontElement(0)
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after
349 349
350 void SVGFontFaceElement::childrenChanged(bool changedByParser, Node* beforeChang e, Node* afterChange, int childCountDelta) 350 void SVGFontFaceElement::childrenChanged(bool changedByParser, Node* beforeChang e, Node* afterChange, int childCountDelta)
351 { 351 {
352 SVGElement::childrenChanged(changedByParser, beforeChange, afterChange, chil dCountDelta); 352 SVGElement::childrenChanged(changedByParser, beforeChange, afterChange, chil dCountDelta);
353 rebuildFontFace(); 353 rebuildFontFace();
354 } 354 }
355 355
356 } // namespace WebCore 356 } // namespace WebCore
357 357
358 #endif // ENABLE(SVG_FONTS) 358 #endif // ENABLE(SVG_FONTS)
OLDNEW
« no previous file with comments | « Source/core/svg/SVGFontElement.cpp ('k') | Source/core/svg/SVGFontFaceUriElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698