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

Side by Side Diff: Source/core/xml/XSLTExtensions.cpp

Issue 339573006: Qualify the generated includes in core (part 7) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 6 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
« no previous file with comments | « Source/core/xml/XSLStyleSheet.h ('k') | Source/core/xml/XSLTProcessor.h » ('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) 2001-2002 Thomas Broyer, Charlie Bozeman and Daniel Veillard. 2 * Copyright (C) 2001-2002 Thomas Broyer, Charlie Bozeman and Daniel Veillard.
3 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> 3 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org>
4 * 4 *
5 * Permission is hereby granted, free of charge, to any person obtaining a copy 5 * Permission is hereby granted, free of charge, to any person obtaining a copy
6 * of this software and associated documentation files (the "Software"), to deal 6 * of this software and associated documentation files (the "Software"), to deal
7 * in the Software without restriction, including without limitation the rights 7 * in the Software without restriction, including without limitation the rights
8 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 8 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 * copies of the Software, and to permit persons to whom the Software is fur- 9 * copies of the Software, and to permit persons to whom the Software is fur-
10 * nished to do so, subject to the following conditions: 10 * nished to do so, subject to the following conditions:
11 * 11 *
12 * The above copyright notice and this permission notice shall be included in 12 * The above copyright notice and this permission notice shall be included in
13 * all copies or substantial portions of the Software. 13 * all copies or substantial portions of the Software.
14 * 14 *
15 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT- 16 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT-
17 * NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 17 * NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 * AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 18 * AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19 * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CON- 19 * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CON-
20 * NECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 20 * NECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21 * 21 *
22 * Except as contained in this notice, the name of the authors shall not 22 * Except as contained in this notice, the name of the authors shall not
23 * be used in advertising or otherwise to promote the sale, use or other deal- 23 * be used in advertising or otherwise to promote the sale, use or other deal-
24 * ings in this Software without prior written authorization from him. 24 * ings in this Software without prior written authorization from him.
25 */ 25 */
26 26
27 #include "config.h" 27 #include "config.h"
28 28
29 #include "core/xml/XSLTExtensions.h" 29 #include "core/xml/XSLTExtensions.h"
30 #include "RuntimeEnabledFeatures.h" 30 #include "platform/RuntimeEnabledFeatures.h"
31 #include "wtf/Assertions.h" 31 #include "wtf/Assertions.h"
32 32
33 #include <libxml/xpathInternals.h> 33 #include <libxml/xpathInternals.h>
34 34
35 #include <libxslt/extensions.h> 35 #include <libxslt/extensions.h>
36 #include <libxslt/extra.h> 36 #include <libxslt/extra.h>
37 #include <libxslt/xsltutils.h> 37 #include <libxslt/xsltutils.h>
38 38
39 namespace WebCore { 39 namespace WebCore {
40 40
(...skipping 29 matching lines...) Expand all
70 valuePush(ctxt, ret); 70 valuePush(ctxt, ret);
71 } 71 }
72 72
73 void registerXSLTExtensions(xsltTransformContextPtr ctxt) 73 void registerXSLTExtensions(xsltTransformContextPtr ctxt)
74 { 74 {
75 ASSERT(RuntimeEnabledFeatures::xsltEnabled()); 75 ASSERT(RuntimeEnabledFeatures::xsltEnabled());
76 xsltRegisterExtFunction(ctxt, (const xmlChar*)"node-set", (const xmlChar*)"h ttp://exslt.org/common", exsltNodeSetFunction); 76 xsltRegisterExtFunction(ctxt, (const xmlChar*)"node-set", (const xmlChar*)"h ttp://exslt.org/common", exsltNodeSetFunction);
77 } 77 }
78 78
79 } // namespace WebCore 79 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/xml/XSLStyleSheet.h ('k') | Source/core/xml/XSLTProcessor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698